pub struct CommandText(/* private fields */);Expand description
Bounded command text that rejects controls unsafe for logs and transports.
Implementations§
Trait Implementations§
Source§impl Clone for CommandText
impl Clone for CommandText
Source§fn clone(&self) -> CommandText
fn clone(&self) -> CommandText
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 Debug for CommandText
impl Debug for CommandText
Source§impl<'de> Deserialize<'de> for CommandText
impl<'de> Deserialize<'de> for CommandText
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 CommandText
Source§impl From<CommandText> for String
impl From<CommandText> for String
Source§fn from(value: CommandText) -> Self
fn from(value: CommandText) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommandText
impl PartialEq for CommandText
Source§impl Serialize for CommandText
impl Serialize for CommandText
impl StructuralPartialEq for CommandText
Auto Trait Implementations§
impl Freeze for CommandText
impl RefUnwindSafe for CommandText
impl Send for CommandText
impl Sync for CommandText
impl Unpin for CommandText
impl UnsafeUnpin for CommandText
impl UnwindSafe for CommandText
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