pub struct MoveCommand {
pub code: u16,
pub parameters: Vec<ParameterType>,
pub guid: u16,
}Fields§
§code: u16§parameters: Vec<ParameterType>§guid: u16Trait Implementations§
Source§impl Clone for MoveCommand
impl Clone for MoveCommand
Source§fn clone(&self) -> MoveCommand
fn clone(&self) -> MoveCommand
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 MoveCommand
impl Debug for MoveCommand
Source§impl Default for MoveCommand
impl Default for MoveCommand
Source§fn default() -> MoveCommand
fn default() -> MoveCommand
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MoveCommand
impl<'de> Deserialize<'de> for MoveCommand
Source§fn deserialize<D>(deserializer: D) -> Result<Self, DeError>where
D: DeserializerTrait<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, DeError>where
D: DeserializerTrait<'de>,
Deserialize this value from the given deserializer.
Source§impl<'de> Deserialize<'de> for MoveCommand
impl<'de> Deserialize<'de> for MoveCommand
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<MoveCommand> for ParameterType
impl From<MoveCommand> for ParameterType
Source§fn from(v: MoveCommand) -> Self
fn from(v: MoveCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MoveCommand
impl PartialEq for MoveCommand
Source§impl Serialize for MoveCommand
impl Serialize for MoveCommand
Source§impl Serialize for MoveCommand
impl Serialize for MoveCommand
Source§impl TryFrom<ParameterType> for MoveCommand
impl TryFrom<ParameterType> for MoveCommand
Source§type Error = ParameterType
type Error = ParameterType
The type returned in the event of a conversion error.
impl StructuralPartialEq for MoveCommand
Auto Trait Implementations§
impl Freeze for MoveCommand
impl RefUnwindSafe for MoveCommand
impl Send for MoveCommand
impl Sync for MoveCommand
impl Unpin for MoveCommand
impl UnwindSafe for MoveCommand
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