pub struct Course {
pub id: String,
pub uuid: String,
pub course_id: String,
pub name: String,
pub description: Option<String>,
pub term_id: Option<String>,
pub created: Option<DateTime<Utc>>,
}Expand description
A course
Fields§
§id: StringInternal bbLearn ID
uuid: StringAnother internal bbLearn ID
course_id: StringExternal Course ID
name: String§description: Option<String>§term_id: Option<String>§created: Option<DateTime<Utc>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Course
impl<'de> Deserialize<'de> for Course
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
Auto Trait Implementations§
impl Freeze for Course
impl RefUnwindSafe for Course
impl Send for Course
impl Sync for Course
impl Unpin for Course
impl UnwindSafe for Course
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