[][src]Struct iri_string::types::IriFragmentString

pub struct IriFragmentString(_);

An owned string of an IRI fragment.

This corresponds to ifragment rule in RFC 3987. This is *( ipchar / "/" / "?" ).

See documentation for IriFragmentStr.

Methods

impl IriFragmentString[src]

pub fn shrink_to_fit(&mut self)[src]

Shrinks the capacity of the inner buffer to match its length.

Methods from Deref<Target = IriFragmentStr>

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

Returns &str.

Trait Implementations

impl AsRef<str> for IriFragmentString where
    str: AsRef<str>, 

impl AsRef<IriFragmentStr> for IriFragmentString

impl From<IriFragmentString> for String

impl Clone for IriFragmentString[src]

impl Eq for IriFragmentString[src]

impl Ord for IriFragmentString[src]

impl PartialEq<IriFragmentString> for IriFragmentString[src]

impl PartialEq<IriFragmentStr> for IriFragmentString

impl PartialEq<IriFragmentString> for IriFragmentStr

impl<'_> PartialEq<&'_ IriFragmentStr> for IriFragmentString

impl<'_> PartialEq<IriFragmentString> for &'_ IriFragmentStr

impl<'_> PartialEq<Cow<'_, IriFragmentStr>> for IriFragmentString

impl<'_> PartialEq<IriFragmentString> for Cow<'_, IriFragmentStr>

impl PartialEq<str> for IriFragmentString

impl PartialEq<IriFragmentString> for str

impl<'_> PartialEq<&'_ str> for IriFragmentString

impl<'_> PartialEq<IriFragmentString> for &'_ str

impl<'_> PartialEq<Cow<'_, str>> for IriFragmentString

impl<'_> PartialEq<IriFragmentString> for Cow<'_, str>

impl PartialOrd<IriFragmentString> for IriFragmentString[src]

impl PartialOrd<IriFragmentStr> for IriFragmentString

impl PartialOrd<IriFragmentString> for IriFragmentStr

impl<'_> PartialOrd<&'_ IriFragmentStr> for IriFragmentString

impl<'_> PartialOrd<IriFragmentString> for &'_ IriFragmentStr

impl<'_> PartialOrd<Cow<'_, IriFragmentStr>> for IriFragmentString

impl<'_> PartialOrd<IriFragmentString> for Cow<'_, IriFragmentStr>

impl PartialOrd<str> for IriFragmentString

impl PartialOrd<IriFragmentString> for str

impl<'_> PartialOrd<&'_ str> for IriFragmentString

impl<'_> PartialOrd<IriFragmentString> for &'_ str

impl<'_> PartialOrd<Cow<'_, str>> for IriFragmentString

impl<'_> PartialOrd<IriFragmentString> for Cow<'_, str>

impl Display for IriFragmentString where
    IriFragmentStr: Display

impl Debug for IriFragmentString[src]

impl TryFrom<String> for IriFragmentString

type Error = IriCreationError<String>

The type returned in the event of a conversion error.

impl FromStr for IriFragmentString

type Err = Error

The associated error which can be returned from parsing.

impl Deref for IriFragmentString

type Target = IriFragmentStr

The resulting type after dereferencing.

impl Hash for IriFragmentString[src]

impl StructuralPartialEq for IriFragmentString[src]

impl StructuralEq for IriFragmentString[src]

impl Borrow<str> for IriFragmentString where
    str: Borrow<str>, 

impl Borrow<IriFragmentStr> for IriFragmentString

impl Serialize for IriFragmentString[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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]