pub struct CommandString(pub String);
Expand description
Serializer for command string
Tuple Fields§
§0: String
Trait Implementations§
Source§impl Clone for CommandString
impl Clone for CommandString
Source§fn clone(&self) -> CommandString
fn clone(&self) -> CommandString
Returns a copy 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 CommandString
impl Debug for CommandString
Source§impl<D: Decoder> Decodable<D> for CommandString
impl<D: Decoder> Decodable<D> for CommandString
Source§fn consensus_decode(d: &mut D) -> Result<CommandString, Error>
fn consensus_decode(d: &mut D) -> Result<CommandString, Error>
Decode an object with a well-defined format
Source§impl<S: Encoder> Encodable<S> for CommandString
impl<S: Encoder> Encodable<S> for CommandString
Source§impl PartialEq for CommandString
impl PartialEq for CommandString
impl Eq for CommandString
impl StructuralPartialEq for CommandString
Auto Trait Implementations§
impl Freeze for CommandString
impl RefUnwindSafe for CommandString
impl Send for CommandString
impl Sync for CommandString
impl Unpin for CommandString
impl UnwindSafe for CommandString
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