pub struct EventFactExportCreate {
pub calendar_ids: Vec<i64>,
pub from: Option<NaiveDate>,
pub to: Option<NaiveDate>,
pub extra: Map<String, Value>,
}Expand description
Calendar selection and optional event-start date range for a facts export. For a complete calendar month, use its first day as from and the first day of the next month as to.
Fields§
§calendar_ids: Vec<i64>Calendars containing the appointments linked to the service-planning events. Only events visible to the current user are exported.
from: Option<NaiveDate>Inclusive lower bound for the event start date in the installation’s timezone.
to: Option<NaiveDate>Exclusive upper bound for the event start date in the installation’s timezone. Must be later than from when both are supplied.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for EventFactExportCreate
impl Clone for EventFactExportCreate
Source§impl Debug for EventFactExportCreate
impl Debug for EventFactExportCreate
Source§impl Default for EventFactExportCreate
impl Default for EventFactExportCreate
Source§impl<'de> Deserialize<'de> for EventFactExportCreate
impl<'de> Deserialize<'de> for EventFactExportCreate
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 EventFactExportCreate
impl PartialEq for EventFactExportCreate
Source§impl Serialize for EventFactExportCreate
impl Serialize for EventFactExportCreate
impl StructuralPartialEq for EventFactExportCreate
Auto Trait Implementations§
impl Freeze for EventFactExportCreate
impl RefUnwindSafe for EventFactExportCreate
impl Send for EventFactExportCreate
impl Sync for EventFactExportCreate
impl Unpin for EventFactExportCreate
impl UnsafeUnpin for EventFactExportCreate
impl UnwindSafe for EventFactExportCreate
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