pub struct ScheduledCommand {
pub command_name: CommandName,
pub data: String,
pub execute_time: i64,
}Expand description
Scheduledcommand.
Fields§
§command_name: CommandNameCommand name.
data: StringData.
execute_time: i64Epoch milliseconds when the command should execute.
Implementations§
Source§impl ScheduledCommand
impl ScheduledCommand
pub fn process_workflow( workflow_id: impl Into<String>, execute_time: i64, ) -> Self
pub fn process_event(event_id: impl Into<String>, execute_time: i64) -> Self
Trait Implementations§
Source§impl Clone for ScheduledCommand
impl Clone for ScheduledCommand
Source§fn clone(&self) -> ScheduledCommand
fn clone(&self) -> ScheduledCommand
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 ScheduledCommand
impl Debug for ScheduledCommand
Source§impl<'de> Deserialize<'de> for ScheduledCommand
impl<'de> Deserialize<'de> for ScheduledCommand
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 ScheduledCommand
impl RefUnwindSafe for ScheduledCommand
impl Send for ScheduledCommand
impl Sync for ScheduledCommand
impl Unpin for ScheduledCommand
impl UnsafeUnpin for ScheduledCommand
impl UnwindSafe for ScheduledCommand
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