pub struct ListReq {
pub start: NaiveDate,
pub end: NaiveDate,
/* private fields */
}Expand description
A GET request to be made to the /v2/calendar endpoint.
Fields§
§start: NaiveDateThe (inclusive) start date of the range for which to retrieve calendar data.
end: NaiveDateThe (exclusive) end date of the range for which to retrieve calendar data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ListReq
impl<'de> Deserialize<'de> for ListReq
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
impl Copy for ListReq
impl Eq for ListReq
impl StructuralPartialEq for ListReq
Auto Trait Implementations§
impl Freeze for ListReq
impl RefUnwindSafe for ListReq
impl Send for ListReq
impl Sync for ListReq
impl Unpin for ListReq
impl UnwindSafe for ListReq
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