pub struct SchedulerConfig {Show 13 fields
pub id: SchedulerConfigId,
pub name: String,
pub slug: String,
pub event_title: String,
pub event_description: Option<String>,
pub duration_minutes: u32,
pub event_location: Option<String>,
pub calendar_ids: Vec<CalendarId>,
pub availability: AvailabilitySettings,
pub booking: BookingSettings,
pub active: Option<bool>,
pub created_at: Option<i64>,
pub modified_at: Option<i64>,
}Expand description
Scheduler configuration.
Defines the settings for a scheduling page.
Fields§
§id: SchedulerConfigIdUnique identifier for the configuration.
name: StringName of the configuration.
slug: StringSlug used in the booking URL.
event_title: StringEvent title template.
event_description: Option<String>Event description.
duration_minutes: u32Event duration in minutes.
event_location: Option<String>Event location.
calendar_ids: Vec<CalendarId>Calendar IDs to check availability against.
availability: AvailabilitySettingsAvailability settings.
booking: BookingSettingsBooking settings.
active: Option<bool>Whether this configuration is active.
created_at: Option<i64>Unix timestamp when created.
modified_at: Option<i64>Unix timestamp when last modified.
Trait Implementations§
Source§impl Clone for SchedulerConfig
impl Clone for SchedulerConfig
Source§fn clone(&self) -> SchedulerConfig
fn clone(&self) -> SchedulerConfig
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 SchedulerConfig
impl Debug for SchedulerConfig
Source§impl<'de> Deserialize<'de> for SchedulerConfig
impl<'de> Deserialize<'de> for SchedulerConfig
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
Source§impl PartialEq for SchedulerConfig
impl PartialEq for SchedulerConfig
Source§fn eq(&self, other: &SchedulerConfig) -> bool
fn eq(&self, other: &SchedulerConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SchedulerConfig
impl Serialize for SchedulerConfig
impl StructuralPartialEq for SchedulerConfig
Auto Trait Implementations§
impl Freeze for SchedulerConfig
impl RefUnwindSafe for SchedulerConfig
impl Send for SchedulerConfig
impl Sync for SchedulerConfig
impl Unpin for SchedulerConfig
impl UnsafeUnpin for SchedulerConfig
impl UnwindSafe for SchedulerConfig
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