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