pub struct NodeTimeout {
pub after: Option<String>,
pub at: Option<DateTime<Utc>>,
pub on_timeout: IdField,
}Expand description
A deadline for a user task or technical wait.
An absolute at takes precedence over after. The event only routes onward
if its originating node is still current. Cron schedules are not supported.
Fields§
§after: Option<String>Relative ISO 8601 delay from node entry, such as PT15M.
at: Option<DateTime<Utc>>Absolute UTC deadline, taking precedence over after when both are supplied.
on_timeout: IdFieldNode ID to enqueue when the deadline fires; this is not a signal name.
Implementations§
Trait Implementations§
Source§impl Clone for NodeTimeout
impl Clone for NodeTimeout
Source§fn clone(&self) -> NodeTimeout
fn clone(&self) -> NodeTimeout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeTimeout
impl Debug for NodeTimeout
Source§impl<'de> Deserialize<'de> for NodeTimeout
impl<'de> Deserialize<'de> for NodeTimeout
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
Auto Trait Implementations§
impl Freeze for NodeTimeout
impl RefUnwindSafe for NodeTimeout
impl Send for NodeTimeout
impl Sync for NodeTimeout
impl Unpin for NodeTimeout
impl UnsafeUnpin for NodeTimeout
impl UnwindSafe for NodeTimeout
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