pub struct AvailabilityResponse {
pub time_slots: Vec<TimeSlot>,
}Expand description
Response from the availability endpoint containing available time slots.
§Example
let response = AvailabilityResponse {
time_slots: vec![
TimeSlot::new(
vec!["user@example.com".to_string()],
1234567890,
1234571490,
),
],
};Fields§
§time_slots: Vec<TimeSlot>List of available time slots for the queried participants.
Implementations§
Trait Implementations§
Source§impl Clone for AvailabilityResponse
impl Clone for AvailabilityResponse
Source§fn clone(&self) -> AvailabilityResponse
fn clone(&self) -> AvailabilityResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 AvailabilityResponse
impl Debug for AvailabilityResponse
Source§impl<'de> Deserialize<'de> for AvailabilityResponse
impl<'de> Deserialize<'de> for AvailabilityResponse
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 AvailabilityResponse
impl PartialEq for AvailabilityResponse
Source§impl Serialize for AvailabilityResponse
impl Serialize for AvailabilityResponse
impl Eq for AvailabilityResponse
impl StructuralPartialEq for AvailabilityResponse
Auto Trait Implementations§
impl Freeze for AvailabilityResponse
impl RefUnwindSafe for AvailabilityResponse
impl Send for AvailabilityResponse
impl Sync for AvailabilityResponse
impl Unpin for AvailabilityResponse
impl UnwindSafe for AvailabilityResponse
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