pub struct DispatchCommand {
pub fleet_name: String,
pub task_id: String,
pub dispatch_id: u64,
pub timestamp: Time,
pub type_: u8,
}Fields§
§fleet_name: String§task_id: String§dispatch_id: u64§timestamp: Time§type_: u8Implementations§
Source§impl DispatchCommand
impl DispatchCommand
pub const TYPE_AWARD: u8 = 1u8
pub const TYPE_REMOVE: u8 = 2u8
Trait Implementations§
Source§impl Clone for DispatchCommand
impl Clone for DispatchCommand
Source§fn clone(&self) -> DispatchCommand
fn clone(&self) -> DispatchCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 DispatchCommand
impl Debug for DispatchCommand
Source§impl Default for DispatchCommand
impl Default for DispatchCommand
Source§impl<'de> Deserialize<'de> for DispatchCommand
impl<'de> Deserialize<'de> for DispatchCommand
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 DispatchCommand
impl PartialEq for DispatchCommand
Source§impl Serialize for DispatchCommand
impl Serialize for DispatchCommand
impl Message for DispatchCommand
impl StructuralPartialEq for DispatchCommand
Auto Trait Implementations§
impl Freeze for DispatchCommand
impl RefUnwindSafe for DispatchCommand
impl Send for DispatchCommand
impl Sync for DispatchCommand
impl Unpin for DispatchCommand
impl UnwindSafe for DispatchCommand
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