Struct headless_lms_models::courses::CourseUpdate
source · pub struct CourseUpdate {
name: String,
description: Option<String>,
is_draft: bool,
is_test_mode: bool,
is_unlisted: bool,
}
Fields§
§name: String
§description: Option<String>
§is_draft: bool
§is_test_mode: bool
§is_unlisted: bool
Trait Implementations§
source§impl Clone for CourseUpdate
impl Clone for CourseUpdate
source§fn clone(&self) -> CourseUpdate
fn clone(&self) -> CourseUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CourseUpdate
impl Debug for CourseUpdate
source§impl<'de> Deserialize<'de> for CourseUpdate
impl<'de> Deserialize<'de> for CourseUpdate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CourseUpdate
impl PartialEq for CourseUpdate
source§fn eq(&self, other: &CourseUpdate) -> bool
fn eq(&self, other: &CourseUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CourseUpdate
impl Serialize for CourseUpdate
impl StructuralPartialEq for CourseUpdate
Auto Trait Implementations§
impl RefUnwindSafe for CourseUpdate
impl Send for CourseUpdate
impl Sync for CourseUpdate
impl Unpin for CourseUpdate
impl UnwindSafe for CourseUpdate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more