pub struct CommandReply {
pub ty: CommandReplyType,
pub text: BString,
}Expand description
Reply to a Command.
Fields§
§ty: CommandReplyType§text: BStringTrait Implementations§
Source§impl Clone for CommandReply
impl Clone for CommandReply
Source§fn clone(&self) -> CommandReply
fn clone(&self) -> CommandReply
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 CommandReply
impl Debug for CommandReply
Source§impl<'de> DeserializeV5<'de> for CommandReply
impl<'de> DeserializeV5<'de> for CommandReply
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<CommandReply> for ServerPacket
impl From<CommandReply> for ServerPacket
Source§fn from(v: CommandReply) -> Self
fn from(v: CommandReply) -> Self
Converts to this type from the input type.
Source§impl SerializeV5 for CommandReply
impl SerializeV5 for CommandReply
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
Auto Trait Implementations§
impl Freeze for CommandReply
impl RefUnwindSafe for CommandReply
impl Send for CommandReply
impl Sync for CommandReply
impl Unpin for CommandReply
impl UnwindSafe for CommandReply
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