pub struct CommandProps {
pub command_type: i32,
pub creation_date: Option<i64>,
pub initial_fields: Option<BTreeMap<String, Value>>,
}Expand description
One-shot command properties.
Fields§
§command_type: i32tp: command type.
creation_date: Option<i64>cd: creation timestamp.
initial_fields: Option<BTreeMap<String, Value>>if: initial field payload for command execution.
Trait Implementations§
Source§impl Clone for CommandProps
impl Clone for CommandProps
Source§fn clone(&self) -> CommandProps
fn clone(&self) -> CommandProps
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 CommandProps
impl Debug for CommandProps
Source§impl Default for CommandProps
impl Default for CommandProps
Source§fn default() -> CommandProps
fn default() -> CommandProps
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandProps
impl<'de> Deserialize<'de> for CommandProps
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 From<CommandProps> for Properties
impl From<CommandProps> for Properties
Source§fn from(value: CommandProps) -> Self
fn from(value: CommandProps) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommandProps
impl PartialEq for CommandProps
Source§impl Serialize for CommandProps
impl Serialize for CommandProps
impl StructuralPartialEq for CommandProps
Auto Trait Implementations§
impl Freeze for CommandProps
impl RefUnwindSafe for CommandProps
impl Send for CommandProps
impl Sync for CommandProps
impl Unpin for CommandProps
impl UnsafeUnpin for CommandProps
impl UnwindSafe for CommandProps
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