pub struct Section {
pub id: u64,
pub course_id: Option<u64>,
pub name: Option<String>,
pub sis_section_id: Option<String>,
pub integration_id: Option<String>,
pub sis_import_id: Option<u64>,
pub start_at: Option<DateTime<Utc>>,
pub end_at: Option<DateTime<Utc>>,
pub restrict_enrollments_to_section_dates: Option<bool>,
pub nonxlist_course_id: Option<u64>,
pub total_students: Option<u64>,
}Expand description
A section within a Canvas course.
Fields§
§id: u64§course_id: Option<u64>§name: Option<String>§sis_section_id: Option<String>§integration_id: Option<String>§sis_import_id: Option<u64>§start_at: Option<DateTime<Utc>>§end_at: Option<DateTime<Utc>>§restrict_enrollments_to_section_dates: Option<bool>§nonxlist_course_id: Option<u64>§total_students: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Section
impl<'de> Deserialize<'de> for Section
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 Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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