pub struct CreateCalendarResourceDTO {
pub location_id: String,
pub name: String,
pub description: String,
pub quantity: f64,
pub out_of_service: f64,
pub capacity: f64,
pub calendar_ids: Vec<String>,
}Available on crate feature
calendars only.Expand description
CreateCalendarResourceDTO from the GoHighLevel OpenAPI spec.
Fields§
§location_id: StringRequired by the API.
name: StringRequired by the API.
description: StringRequired by the API.
quantity: f64Quantity of the equipment. Required by the API.
out_of_service: f64Quantity of the out of service equipment. Required by the API.
capacity: f64Capacity of the room. Required by the API.
calendar_ids: Vec<String>Service calendar IDs to be mapped with the resource. One equipment can only be mapped with one service calendar. One room can be mapped with multiple service calendars. Required by the API.
Trait Implementations§
Source§impl Clone for CreateCalendarResourceDTO
impl Clone for CreateCalendarResourceDTO
Source§fn clone(&self) -> CreateCalendarResourceDTO
fn clone(&self) -> CreateCalendarResourceDTO
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 CreateCalendarResourceDTO
impl Debug for CreateCalendarResourceDTO
Source§impl Default for CreateCalendarResourceDTO
impl Default for CreateCalendarResourceDTO
Source§fn default() -> CreateCalendarResourceDTO
fn default() -> CreateCalendarResourceDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCalendarResourceDTO
impl<'de> Deserialize<'de> for CreateCalendarResourceDTO
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 CreateCalendarResourceDTO
impl RefUnwindSafe for CreateCalendarResourceDTO
impl Send for CreateCalendarResourceDTO
impl Sync for CreateCalendarResourceDTO
impl Unpin for CreateCalendarResourceDTO
impl UnsafeUnpin for CreateCalendarResourceDTO
impl UnwindSafe for CreateCalendarResourceDTO
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