pub struct AlarmInfo {
pub relative_offset: Option<f64>,
pub absolute_date: Option<DateTime<Local>>,
pub proximity: AlarmProximity,
pub location: Option<StructuredLocation>,
}Expand description
An alarm attached to a reminder or event.
Fields§
§relative_offset: Option<f64>Offset in seconds before the due date (negative = before).
absolute_date: Option<DateTime<Local>>Absolute date for the alarm (ISO 8601 string).
proximity: AlarmProximityProximity trigger (enter/leave geofence).
location: Option<StructuredLocation>Location for geofenced alarms.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AlarmInfo
impl RefUnwindSafe for AlarmInfo
impl Send for AlarmInfo
impl Sync for AlarmInfo
impl Unpin for AlarmInfo
impl UnsafeUnpin for AlarmInfo
impl UnwindSafe for AlarmInfo
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