pub struct ClientCommand {
pub controller: Option<ControllerCommand>,
}Expand description
client/command: a command the client sends to the server for one of its active roles.
Fields§
§controller: Option<ControllerCommand>Controller command; present exactly when the controller role is active.
Trait Implementations§
Source§impl Clone for ClientCommand
impl Clone for ClientCommand
Source§impl Debug for ClientCommand
impl Debug for ClientCommand
Source§impl Default for ClientCommand
impl Default for ClientCommand
Source§impl<'de> Deserialize<'de> for ClientCommand
impl<'de> Deserialize<'de> for ClientCommand
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
impl Eq for ClientCommand
Source§impl PartialEq for ClientCommand
impl PartialEq for ClientCommand
Source§impl Serialize for ClientCommand
impl Serialize for ClientCommand
impl StructuralPartialEq for ClientCommand
Auto Trait Implementations§
impl Forget for ClientCommand
impl Freeze for ClientCommand
impl Move for ClientCommand
impl RefUnwindSafe for ClientCommand
impl Send for ClientCommand
impl Sync for ClientCommand
impl Unpin for ClientCommand
impl UnsafeUnpin for ClientCommand
impl UnwindSafe for ClientCommand
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