pub struct UpdateCalendarParams {
pub name: Option<String>,
pub description: Option<String>,
pub slug: Option<String>,
pub event_type: Option<String>,
pub slot_duration: Option<u32>,
pub slot_buffer: Option<u32>,
pub appointment_per_slot: Option<u32>,
pub is_active: Option<bool>,
}Fields§
§name: Option<String>§description: Option<String>§slug: Option<String>§event_type: Option<String>§slot_duration: Option<u32>§slot_buffer: Option<u32>§appointment_per_slot: Option<u32>§is_active: Option<bool>Trait Implementations§
Source§impl Clone for UpdateCalendarParams
impl Clone for UpdateCalendarParams
Source§fn clone(&self) -> UpdateCalendarParams
fn clone(&self) -> UpdateCalendarParams
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 UpdateCalendarParams
impl Debug for UpdateCalendarParams
Source§impl Default for UpdateCalendarParams
impl Default for UpdateCalendarParams
Source§fn default() -> UpdateCalendarParams
fn default() -> UpdateCalendarParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateCalendarParams
impl<'de> Deserialize<'de> for UpdateCalendarParams
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 UpdateCalendarParams
impl RefUnwindSafe for UpdateCalendarParams
impl Send for UpdateCalendarParams
impl Sync for UpdateCalendarParams
impl Unpin for UpdateCalendarParams
impl UnsafeUnpin for UpdateCalendarParams
impl UnwindSafe for UpdateCalendarParams
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