[][src]Struct amq_protocol_types::ShortString

pub struct ShortString(_);

A String (deprecated)

Methods

impl<'a> ShortString[src]

pub fn as_ref(&'a self) -> ShortStringRef<'a>[src]

Get a reference to a ShortString

pub fn as_str(&'a self) -> &'a str[src]

Get a reference to a LongString as &str

pub fn split_whitespace(&'a self) -> SplitWhitespace<'a>[src]

Splits a string slice by whitespace.

Trait Implementations

impl Clone for ShortString[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Ord for ShortString[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Default for ShortString[src]

impl From<String> for ShortString[src]

impl<'_> From<&'_ str> for ShortString[src]

impl PartialOrd<ShortString> for ShortString[src]

impl PartialEq<ShortString> for ShortString[src]

impl Eq for ShortString[src]

impl Display for ShortString[src]

impl Debug for ShortString[src]

impl Hash for ShortString[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Borrow<str> for ShortString[src]

impl Serialize for ShortString[src]

impl<'de> Deserialize<'de> for ShortString[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, V> SliceConcat<T> for V where
    T: Clone,
    V: Borrow<[T]>, 
[src]

type Output = Vec<T>

🔬 This is a nightly-only experimental API. (slice_concat_trait)

The resulting type after concatenation

impl<S> SliceConcat<str> for S where
    S: Borrow<str>, 
[src]

type Output = String

🔬 This is a nightly-only experimental API. (slice_concat_trait)

The resulting type after concatenation

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]