pub struct ScheduledTime { /* private fields */ }Expand description
Determines when a Durable Object alarm should be ran, based on a timestamp or offset in milliseconds.
Implements From for:
Duration, interpreted as an offset (in milliseconds).i64, interpreted as an offset (in milliseconds).DateTime, interpreted as a timestamp.
When an offset is used, the time at which set_alarm() or set_alarm_with_options() is called
is used to compute the scheduled time. Date::now is used as the current time.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScheduledTime
impl RefUnwindSafe for ScheduledTime
impl !Send for ScheduledTime
impl !Sync for ScheduledTime
impl Unpin for ScheduledTime
impl UnwindSafe for ScheduledTime
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