pub struct SentCommand {
pub id: Uuid,
pub sender: Option<String>,
}Expand description
A command a combat has run, and the key of the device that sent it.
Fields§
§id: Uuid§sender: Option<String>Trait Implementations§
Source§impl Clone for SentCommand
impl Clone for SentCommand
Source§fn clone(&self) -> SentCommand
fn clone(&self) -> SentCommand
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 ComposeSchema for SentCommand
impl ComposeSchema for SentCommand
Source§impl Debug for SentCommand
impl Debug for SentCommand
Source§impl<'de> Deserialize<'de> for SentCommand
impl<'de> Deserialize<'de> for SentCommand
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 SentCommand
impl PartialEq for SentCommand
Source§fn eq(&self, other: &SentCommand) -> bool
fn eq(&self, other: &SentCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SentCommand
impl Serialize for SentCommand
Source§impl ToSchema for SentCommand
impl ToSchema for SentCommand
impl Eq for SentCommand
impl StructuralPartialEq for SentCommand
Auto Trait Implementations§
impl Freeze for SentCommand
impl RefUnwindSafe for SentCommand
impl Send for SentCommand
impl Sync for SentCommand
impl Unpin for SentCommand
impl UnsafeUnpin for SentCommand
impl UnwindSafe for SentCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.