Struct amq_protocol_types::ShortString
source · pub struct ShortString(/* private fields */);
Expand description
A String (deprecated)
Implementations§
Trait Implementations§
source§impl Borrow<str> for ShortString
impl Borrow<str> for ShortString
source§impl Clone for ShortString
impl Clone for ShortString
source§fn clone(&self) -> ShortString
fn clone(&self) -> ShortString
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 ShortString
impl Debug for ShortString
source§impl Default for ShortString
impl Default for ShortString
source§fn default() -> ShortString
fn default() -> ShortString
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ShortString
impl<'de> Deserialize<'de> for ShortString
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 Display for ShortString
impl Display for ShortString
source§impl From<&str> for ShortString
impl From<&str> for ShortString
source§impl From<ShortString> for AMQPValue
impl From<ShortString> for AMQPValue
source§fn from(v: ShortString) -> Self
fn from(v: ShortString) -> Self
Converts to this type from the input type.
source§impl From<String> for ShortString
impl From<String> for ShortString
source§impl Hash for ShortString
impl Hash for ShortString
source§impl Ord for ShortString
impl Ord for ShortString
source§fn cmp(&self, other: &ShortString) -> Ordering
fn cmp(&self, other: &ShortString) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ShortString
impl PartialEq for ShortString
source§fn eq(&self, other: &ShortString) -> bool
fn eq(&self, other: &ShortString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ShortString
impl PartialOrd for ShortString
source§fn partial_cmp(&self, other: &ShortString) -> Option<Ordering>
fn partial_cmp(&self, other: &ShortString) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ShortString
impl Serialize for ShortString
impl Eq for ShortString
impl StructuralPartialEq for ShortString
Auto Trait Implementations§
impl Freeze for ShortString
impl RefUnwindSafe for ShortString
impl Send for ShortString
impl Sync for ShortString
impl Unpin for ShortString
impl UnwindSafe for ShortString
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