pub struct CreateScheduleDTO {
pub rules: Vec<ScheduleRuleDTO>,
pub timezone: String,
pub location_id: String,
pub name: String,
pub user_id: String,
pub calendar_ids: Vec<String>,
}Available on crate feature
calendars only.Expand description
CreateScheduleDTO from the GoHighLevel OpenAPI spec.
Fields§
§rules: Vec<ScheduleRuleDTO>Schedule rules defining when the schedule is active
timezone: StringTimezone for the schedule (IANA timezone identifier) Required by the API.
location_id: StringLocation ID where this schedule applies Required by the API.
name: StringHuman-readable name for the schedule Required by the API.
user_id: StringUser ID associated with the schedule Required by the API.
calendar_ids: Vec<String>Calendar IDs associated with the schedule
Trait Implementations§
Source§impl Clone for CreateScheduleDTO
impl Clone for CreateScheduleDTO
Source§fn clone(&self) -> CreateScheduleDTO
fn clone(&self) -> CreateScheduleDTO
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 CreateScheduleDTO
impl Debug for CreateScheduleDTO
Source§impl Default for CreateScheduleDTO
impl Default for CreateScheduleDTO
Source§fn default() -> CreateScheduleDTO
fn default() -> CreateScheduleDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateScheduleDTO
impl<'de> Deserialize<'de> for CreateScheduleDTO
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 CreateScheduleDTO
impl RefUnwindSafe for CreateScheduleDTO
impl Send for CreateScheduleDTO
impl Sync for CreateScheduleDTO
impl Unpin for CreateScheduleDTO
impl UnsafeUnpin for CreateScheduleDTO
impl UnwindSafe for CreateScheduleDTO
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