[−][src]Struct iri_string::types::AbsoluteIriString
An owned string of an absolute IRI without fragment part.
This corresponds to absolute-IRI
rule in RFC 3987.
This is scheme ":" ihier-part [ "?" iquery ]
.
In other words, this is IriString
without fragment part.
If you want to accept fragment part, use IriString
.
See documentation for IriString
.
Methods
impl AbsoluteIriString
[src]
pub fn shrink_to_fit(&mut self)
[src]
Shrinks the capacity of the inner buffer to match its length.
Methods from Deref<Target = AbsoluteIriStr>
Trait Implementations
impl AsRef<str> for AbsoluteIriString where
str: AsRef<str>,
str: AsRef<str>,
impl AsRef<AbsoluteIriStr> for AbsoluteIriString
fn as_ref(&self) -> &AbsoluteIriStr
impl AsRef<IriStr> for AbsoluteIriString
[src]
impl AsRef<IriReferenceStr> for AbsoluteIriString
[src]
fn as_ref(&self) -> &IriReferenceStr
[src]
impl From<AbsoluteIriString> for String
fn from(custom: AbsoluteIriString) -> Self
impl From<AbsoluteIriString> for IriString
[src]
fn from(s: AbsoluteIriString) -> IriString
[src]
impl From<AbsoluteIriString> for IriReferenceString
[src]
fn from(s: AbsoluteIriString) -> IriReferenceString
[src]
impl Clone for AbsoluteIriString
[src]
fn clone(&self) -> AbsoluteIriString
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for AbsoluteIriString
[src]
impl Ord for AbsoluteIriString
[src]
fn cmp(&self, other: &AbsoluteIriString) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<AbsoluteIriString> for AbsoluteIriString
[src]
fn eq(&self, other: &AbsoluteIriString) -> bool
[src]
fn ne(&self, other: &AbsoluteIriString) -> bool
[src]
impl PartialEq<AbsoluteIriStr> for AbsoluteIriString
impl PartialEq<AbsoluteIriString> for AbsoluteIriStr
fn eq(&self, other: &AbsoluteIriString) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<&'_ AbsoluteIriStr> for AbsoluteIriString
fn eq(&self, other: &&AbsoluteIriStr) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<AbsoluteIriString> for &'_ AbsoluteIriStr
fn eq(&self, other: &AbsoluteIriString) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<Cow<'_, AbsoluteIriStr>> for AbsoluteIriString
fn eq(&self, other: &Cow<AbsoluteIriStr>) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<AbsoluteIriString> for Cow<'_, AbsoluteIriStr>
fn eq(&self, other: &AbsoluteIriString) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<str> for AbsoluteIriString
impl PartialEq<AbsoluteIriString> for str
fn eq(&self, other: &AbsoluteIriString) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<&'_ str> for AbsoluteIriString
impl<'_> PartialEq<AbsoluteIriString> for &'_ str
fn eq(&self, other: &AbsoluteIriString) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<Cow<'_, str>> for AbsoluteIriString
impl<'_> PartialEq<AbsoluteIriString> for Cow<'_, str>
fn eq(&self, other: &AbsoluteIriString) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<IriStr> for AbsoluteIriString
[src]
impl PartialEq<AbsoluteIriString> for IriStr
[src]
fn eq(&self, o: &AbsoluteIriString) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<&'_ IriStr> for AbsoluteIriString
[src]
impl<'_> PartialEq<AbsoluteIriString> for &'_ IriStr
[src]
fn eq(&self, o: &AbsoluteIriString) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<Cow<'_, IriStr>> for AbsoluteIriString
[src]
impl<'_> PartialEq<AbsoluteIriString> for Cow<'_, IriStr>
[src]
fn eq(&self, o: &AbsoluteIriString) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<IriReferenceStr> for AbsoluteIriString
[src]
fn eq(&self, o: &IriReferenceStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<AbsoluteIriString> for IriReferenceStr
[src]
fn eq(&self, o: &AbsoluteIriString) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<&'_ IriReferenceStr> for AbsoluteIriString
[src]
fn eq(&self, o: &&IriReferenceStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<AbsoluteIriString> for &'_ IriReferenceStr
[src]
fn eq(&self, o: &AbsoluteIriString) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<Cow<'_, IriReferenceStr>> for AbsoluteIriString
[src]
fn eq(&self, o: &Cow<IriReferenceStr>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<AbsoluteIriString> for Cow<'_, IriReferenceStr>
[src]
fn eq(&self, o: &AbsoluteIriString) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<AbsoluteIriString> for AbsoluteIriString
[src]
fn partial_cmp(&self, other: &AbsoluteIriString) -> Option<Ordering>
[src]
fn lt(&self, other: &AbsoluteIriString) -> bool
[src]
fn le(&self, other: &AbsoluteIriString) -> bool
[src]
fn gt(&self, other: &AbsoluteIriString) -> bool
[src]
fn ge(&self, other: &AbsoluteIriString) -> bool
[src]
impl PartialOrd<AbsoluteIriStr> for AbsoluteIriString
fn partial_cmp(&self, other: &AbsoluteIriStr) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<AbsoluteIriString> for AbsoluteIriStr
fn partial_cmp(&self, other: &AbsoluteIriString) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<&'_ AbsoluteIriStr> for AbsoluteIriString
fn partial_cmp(&self, other: &&AbsoluteIriStr) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<AbsoluteIriString> for &'_ AbsoluteIriStr
fn partial_cmp(&self, other: &AbsoluteIriString) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<Cow<'_, AbsoluteIriStr>> for AbsoluteIriString
fn partial_cmp(&self, other: &Cow<AbsoluteIriStr>) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<AbsoluteIriString> for Cow<'_, AbsoluteIriStr>
fn partial_cmp(&self, other: &AbsoluteIriString) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<str> for AbsoluteIriString
fn partial_cmp(&self, other: &str) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<AbsoluteIriString> for str
fn partial_cmp(&self, other: &AbsoluteIriString) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<&'_ str> for AbsoluteIriString
fn partial_cmp(&self, other: &&str) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<AbsoluteIriString> for &'_ str
fn partial_cmp(&self, other: &AbsoluteIriString) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<Cow<'_, str>> for AbsoluteIriString
fn partial_cmp(&self, other: &Cow<str>) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<AbsoluteIriString> for Cow<'_, str>
fn partial_cmp(&self, other: &AbsoluteIriString) -> Option<Ordering>
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<IriStr> for AbsoluteIriString
[src]
fn partial_cmp(&self, o: &IriStr) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<AbsoluteIriString> for IriStr
[src]
fn partial_cmp(&self, o: &AbsoluteIriString) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<&'_ IriStr> for AbsoluteIriString
[src]
fn partial_cmp(&self, o: &&IriStr) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<AbsoluteIriString> for &'_ IriStr
[src]
fn partial_cmp(&self, o: &AbsoluteIriString) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<Cow<'_, IriStr>> for AbsoluteIriString
[src]
fn partial_cmp(&self, o: &Cow<IriStr>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<AbsoluteIriString> for Cow<'_, IriStr>
[src]
fn partial_cmp(&self, o: &AbsoluteIriString) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<IriReferenceStr> for AbsoluteIriString
[src]
fn partial_cmp(&self, o: &IriReferenceStr) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<AbsoluteIriString> for IriReferenceStr
[src]
fn partial_cmp(&self, o: &AbsoluteIriString) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<&'_ IriReferenceStr> for AbsoluteIriString
[src]
fn partial_cmp(&self, o: &&IriReferenceStr) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<AbsoluteIriString> for &'_ IriReferenceStr
[src]
fn partial_cmp(&self, o: &AbsoluteIriString) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<Cow<'_, IriReferenceStr>> for AbsoluteIriString
[src]
fn partial_cmp(&self, o: &Cow<IriReferenceStr>) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialOrd<AbsoluteIriString> for Cow<'_, IriReferenceStr>
[src]
fn partial_cmp(&self, o: &AbsoluteIriString) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Display for AbsoluteIriString where
AbsoluteIriStr: Display,
AbsoluteIriStr: Display,
impl Debug for AbsoluteIriString
[src]
impl TryFrom<String> for AbsoluteIriString
type Error = IriCreationError<String>
The type returned in the event of a conversion error.
fn try_from(inner: String) -> Result<Self, Self::Error>
impl TryFrom<IriString> for AbsoluteIriString
[src]
type Error = IriCreationError<String>
The type returned in the event of a conversion error.
fn try_from(v: IriString) -> Result<Self, Self::Error>
[src]
impl TryFrom<IriReferenceString> for AbsoluteIriString
[src]
type Error = IriCreationError<String>
The type returned in the event of a conversion error.
fn try_from(v: IriReferenceString) -> Result<Self, Self::Error>
[src]
impl FromStr for AbsoluteIriString
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
impl Deref for AbsoluteIriString
type Target = AbsoluteIriStr
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl Hash for AbsoluteIriString
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for AbsoluteIriString
[src]
impl StructuralEq for AbsoluteIriString
[src]
impl Borrow<str> for AbsoluteIriString where
str: Borrow<str>,
str: Borrow<str>,
impl Borrow<AbsoluteIriStr> for AbsoluteIriString
fn borrow(&self) -> &AbsoluteIriStr
impl Serialize for AbsoluteIriString
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for AbsoluteIriString
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for AbsoluteIriString
impl Sync for AbsoluteIriString
impl Unpin for AbsoluteIriString
impl UnwindSafe for AbsoluteIriString
impl RefUnwindSafe for AbsoluteIriString
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,