pub struct UpdateSectionParams {
pub name: Option<String>,
pub start_at: Option<DateTime<Utc>>,
pub end_at: Option<DateTime<Utc>>,
pub restrict_enrollments_to_section_dates: Option<bool>,
}Expand description
Parameters for updating a Canvas section.
Fields§
§name: Option<String>§start_at: Option<DateTime<Utc>>§end_at: Option<DateTime<Utc>>§restrict_enrollments_to_section_dates: Option<bool>Trait Implementations§
Source§impl Clone for UpdateSectionParams
impl Clone for UpdateSectionParams
Source§fn clone(&self) -> UpdateSectionParams
fn clone(&self) -> UpdateSectionParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateSectionParams
impl Debug for UpdateSectionParams
Source§impl Default for UpdateSectionParams
impl Default for UpdateSectionParams
Source§fn default() -> UpdateSectionParams
fn default() -> UpdateSectionParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateSectionParams
impl RefUnwindSafe for UpdateSectionParams
impl Send for UpdateSectionParams
impl Sync for UpdateSectionParams
impl Unpin for UpdateSectionParams
impl UnsafeUnpin for UpdateSectionParams
impl UnwindSafe for UpdateSectionParams
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