[−][src]Struct iri_string::types::AbsoluteIriStr
A borrowed slice 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 IriStr
without fragment part.
If you want to accept fragment part, use IriStr
.
Methods
impl AbsoluteIriStr
[src]
pub fn new(s: &str) -> Result<&Self, Error>
[src]
Creates a new &AbsoluteIriStr
.
Examples
assert!(AbsoluteIriStr::new("https://example.com/foo?bar=baz").is_ok()); assert!(AbsoluteIriStr::new("foo:bar").is_ok()); // Relative IRI is not allowed. assert!(AbsoluteIriStr::new("foo/bar").is_err()); assert!(AbsoluteIriStr::new("/foo/bar").is_err()); assert!(AbsoluteIriStr::new("//foo/bar").is_err()); // Fragment part is not allowed. assert!(AbsoluteIriStr::new("https://example.com/foo?bar=baz#qux").is_err()); // > When authority is not present, the path cannot begin with two slash characters ("//"). // > // > --- [RFC 3986 section 3](https://tools.ietf.org/html/rfc3986#section-3) assert!(AbsoluteIriStr::new("foo:////").is_err());
pub fn as_str(&self) -> &str
[src]
Returns &str
.
Methods from Deref<Target = IriStr>
pub fn to_absolute_and_fragment(
&self
) -> (&AbsoluteIriStr, Option<&IriFragmentStr>)
[src]
&self
) -> (&AbsoluteIriStr, Option<&IriFragmentStr>)
Splits the IRI into absolute IRI part and fragment part.
A leading #
character is truncated if the fragment part exists.
Examples
let iri = IriStr::new("foo://bar/baz?qux=quux#corge")?; let (absolute, fragment) = iri.to_absolute_and_fragment(); let fragment_expected = IriFragmentStr::new("corge")?; assert_eq!(absolute, "foo://bar/baz?qux=quux"); assert_eq!(fragment, Some(fragment_expected));
let iri = IriStr::new("foo://bar/baz?qux=quux#")?; let (absolute, fragment) = iri.to_absolute_and_fragment(); let fragment_expected = IriFragmentStr::new("")?; assert_eq!(absolute, "foo://bar/baz?qux=quux"); assert_eq!(fragment, Some(fragment_expected));
let iri = IriStr::new("foo://bar/baz?qux=quux")?; let (absolute, fragment) = iri.to_absolute_and_fragment(); assert_eq!(absolute, "foo://bar/baz?qux=quux"); assert_eq!(fragment, None);
pub fn to_absolute(&self) -> &AbsoluteIriStr
[src]
Strips the fragment part if exists, and returns &AbsoluteIriStr
.
Examples
let iri = IriStr::new("foo://bar/baz?qux=quux#corge")?; assert_eq!(iri.to_absolute(), "foo://bar/baz?qux=quux");
let iri = IriStr::new("foo://bar/baz?qux=quux")?; assert_eq!(iri.to_absolute(), "foo://bar/baz?qux=quux");
pub fn as_str(&self) -> &str
[src]
Returns &str
.
Trait Implementations
impl AsRef<str> for AbsoluteIriStr where
str: AsRef<str>,
str: AsRef<str>,
impl AsRef<AbsoluteIriStr> for AbsoluteIriStr
fn as_ref(&self) -> &AbsoluteIriStr
impl AsRef<AbsoluteIriStr> for AbsoluteIriString
fn as_ref(&self) -> &AbsoluteIriStr
impl AsRef<IriStr> for AbsoluteIriStr
[src]
impl AsRef<IriReferenceStr> for AbsoluteIriStr
[src]
fn as_ref(&self) -> &IriReferenceStr
[src]
impl<'a> From<&'a AbsoluteIriStr> for Arc<AbsoluteIriStr> where
Arc<str>: From<&'a str>,
Arc<str>: From<&'a str>,
fn from(s: &'a AbsoluteIriStr) -> Self
impl<'a> From<&'a AbsoluteIriStr> for Box<AbsoluteIriStr> where
Box<str>: From<&'a str>,
Box<str>: From<&'a str>,
fn from(s: &'a AbsoluteIriStr) -> Self
impl<'a> From<&'a AbsoluteIriStr> for Rc<AbsoluteIriStr> where
Rc<str>: From<&'a str>,
Rc<str>: From<&'a str>,
fn from(s: &'a AbsoluteIriStr) -> Self
impl<'a> From<&'a AbsoluteIriStr> for &'a IriStr
[src]
fn from(s: &'a AbsoluteIriStr) -> &'a IriStr
[src]
impl<'a> From<&'a AbsoluteIriStr> for &'a IriReferenceStr
[src]
fn from(s: &'a AbsoluteIriStr) -> &'a IriReferenceStr
[src]
impl<'a> Default for &'a AbsoluteIriStr where
&'a str: Default,
&'a str: Default,
fn default() -> Self
impl Eq for AbsoluteIriStr
[src]
impl Ord for AbsoluteIriStr
[src]
fn cmp(&self, other: &AbsoluteIriStr) -> 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<AbsoluteIriStr> for AbsoluteIriStr
[src]
fn eq(&self, other: &AbsoluteIriStr) -> bool
[src]
fn ne(&self, other: &AbsoluteIriStr) -> bool
[src]
impl<'_> PartialEq<&'_ AbsoluteIriStr> for AbsoluteIriStr
fn eq(&self, other: &&AbsoluteIriStr) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<AbsoluteIriStr> for &'_ AbsoluteIriStr
impl<'_> PartialEq<Cow<'_, AbsoluteIriStr>> for AbsoluteIriStr
fn eq(&self, other: &Cow<AbsoluteIriStr>) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<AbsoluteIriStr> for Cow<'_, AbsoluteIriStr>
impl PartialEq<str> for AbsoluteIriStr
impl PartialEq<AbsoluteIriStr> for str
impl<'_> PartialEq<&'_ str> for AbsoluteIriStr
impl<'_> PartialEq<AbsoluteIriStr> for &'_ str
impl<'_> PartialEq<str> for &'_ AbsoluteIriStr
impl<'_> PartialEq<&'_ AbsoluteIriStr> for str
fn eq(&self, other: &&AbsoluteIriStr) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<Cow<'_, str>> for AbsoluteIriStr
impl<'_> PartialEq<AbsoluteIriStr> for Cow<'_, str>
impl<'_, '_> PartialEq<Cow<'_, str>> for &'_ AbsoluteIriStr
impl<'_, '_> PartialEq<&'_ AbsoluteIriStr> for Cow<'_, str>
fn eq(&self, other: &&AbsoluteIriStr) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[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<IriStr> for AbsoluteIriStr
[src]
impl PartialEq<AbsoluteIriStr> for IriStr
[src]
fn eq(&self, o: &AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<&'_ IriStr> for AbsoluteIriStr
[src]
impl<'_> PartialEq<AbsoluteIriStr> for &'_ IriStr
[src]
fn eq(&self, o: &AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<IriString> for AbsoluteIriStr
[src]
impl PartialEq<AbsoluteIriStr> for IriString
[src]
fn eq(&self, o: &AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<Cow<'_, IriStr>> for AbsoluteIriStr
[src]
impl<'_> PartialEq<AbsoluteIriStr> for Cow<'_, IriStr>
[src]
fn eq(&self, o: &AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<IriStr> for &'_ AbsoluteIriStr
[src]
impl<'_> PartialEq<&'_ AbsoluteIriStr> for IriStr
[src]
fn eq(&self, o: &&AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<IriString> for &'_ AbsoluteIriStr
[src]
impl<'_> PartialEq<&'_ AbsoluteIriStr> for IriString
[src]
fn eq(&self, o: &&AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_> PartialEq<Cow<'_, IriStr>> for &'_ AbsoluteIriStr
[src]
impl<'_, '_> PartialEq<&'_ AbsoluteIriStr> for Cow<'_, IriStr>
[src]
fn eq(&self, o: &&AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<IriReferenceStr> for AbsoluteIriStr
[src]
fn eq(&self, o: &IriReferenceStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<AbsoluteIriStr> for IriReferenceStr
[src]
fn eq(&self, o: &AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<&'_ IriReferenceStr> for AbsoluteIriStr
[src]
fn eq(&self, o: &&IriReferenceStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<AbsoluteIriStr> for &'_ IriReferenceStr
[src]
fn eq(&self, o: &AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<IriReferenceString> for AbsoluteIriStr
[src]
fn eq(&self, o: &IriReferenceString) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<AbsoluteIriStr> for IriReferenceString
[src]
fn eq(&self, o: &AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<Cow<'_, IriReferenceStr>> for AbsoluteIriStr
[src]
fn eq(&self, o: &Cow<IriReferenceStr>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<AbsoluteIriStr> for Cow<'_, IriReferenceStr>
[src]
fn eq(&self, o: &AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<IriReferenceStr> for &'_ AbsoluteIriStr
[src]
fn eq(&self, o: &IriReferenceStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<&'_ AbsoluteIriStr> for IriReferenceStr
[src]
fn eq(&self, o: &&AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<IriReferenceString> for &'_ AbsoluteIriStr
[src]
fn eq(&self, o: &IriReferenceString) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_> PartialEq<&'_ AbsoluteIriStr> for IriReferenceString
[src]
fn eq(&self, o: &&AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_> PartialEq<Cow<'_, IriReferenceStr>> for &'_ AbsoluteIriStr
[src]
fn eq(&self, o: &Cow<IriReferenceStr>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'_, '_> PartialEq<&'_ AbsoluteIriStr> for Cow<'_, IriReferenceStr>
[src]
fn eq(&self, o: &&AbsoluteIriStr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<AbsoluteIriStr> for AbsoluteIriStr
[src]
fn partial_cmp(&self, other: &AbsoluteIriStr) -> Option<Ordering>
[src]
fn lt(&self, other: &AbsoluteIriStr) -> bool
[src]
fn le(&self, other: &AbsoluteIriStr) -> bool
[src]
fn gt(&self, other: &AbsoluteIriStr) -> bool
[src]
fn ge(&self, other: &AbsoluteIriStr) -> bool
[src]
impl<'_> PartialOrd<&'_ AbsoluteIriStr> for AbsoluteIriStr
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<AbsoluteIriStr> for &'_ AbsoluteIriStr
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<Cow<'_, AbsoluteIriStr>> for AbsoluteIriStr
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<AbsoluteIriStr> for Cow<'_, AbsoluteIriStr>
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<str> for AbsoluteIriStr
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<AbsoluteIriStr> for str
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<&'_ str> for AbsoluteIriStr
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<AbsoluteIriStr> for &'_ str
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<str> for &'_ AbsoluteIriStr
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<&'_ AbsoluteIriStr> for str
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<Cow<'_, str>> for AbsoluteIriStr
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<AbsoluteIriStr> for Cow<'_, str>
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<Cow<'_, str>> for &'_ AbsoluteIriStr
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<&'_ AbsoluteIriStr> for Cow<'_, str>
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<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<IriStr> for AbsoluteIriStr
[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<AbsoluteIriStr> for IriStr
[src]
fn partial_cmp(&self, o: &AbsoluteIriStr) -> 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 AbsoluteIriStr
[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<AbsoluteIriStr> for &'_ IriStr
[src]
fn partial_cmp(&self, o: &AbsoluteIriStr) -> 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<IriString> for AbsoluteIriStr
[src]
fn partial_cmp(&self, o: &IriString) -> 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<AbsoluteIriStr> for IriString
[src]
fn partial_cmp(&self, o: &AbsoluteIriStr) -> 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 AbsoluteIriStr
[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<AbsoluteIriStr> for Cow<'_, IriStr>
[src]
fn partial_cmp(&self, o: &AbsoluteIriStr) -> 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 &'_ AbsoluteIriStr
[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<&'_ AbsoluteIriStr> for IriStr
[src]
fn partial_cmp(&self, o: &&AbsoluteIriStr) -> 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<IriString> for &'_ AbsoluteIriStr
[src]
fn partial_cmp(&self, o: &IriString) -> 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<&'_ AbsoluteIriStr> for IriString
[src]
fn partial_cmp(&self, o: &&AbsoluteIriStr) -> 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 &'_ AbsoluteIriStr
[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<&'_ AbsoluteIriStr> for Cow<'_, IriStr>
[src]
fn partial_cmp(&self, o: &&AbsoluteIriStr) -> 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 AbsoluteIriStr
[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<AbsoluteIriStr> for IriReferenceStr
[src]
fn partial_cmp(&self, o: &AbsoluteIriStr) -> 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 AbsoluteIriStr
[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<AbsoluteIriStr> for &'_ IriReferenceStr
[src]
fn partial_cmp(&self, o: &AbsoluteIriStr) -> 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<IriReferenceString> for AbsoluteIriStr
[src]
fn partial_cmp(&self, o: &IriReferenceString) -> 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<AbsoluteIriStr> for IriReferenceString
[src]
fn partial_cmp(&self, o: &AbsoluteIriStr) -> 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 AbsoluteIriStr
[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<AbsoluteIriStr> for Cow<'_, IriReferenceStr>
[src]
fn partial_cmp(&self, o: &AbsoluteIriStr) -> 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 &'_ AbsoluteIriStr
[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<&'_ AbsoluteIriStr> for IriReferenceStr
[src]
fn partial_cmp(&self, o: &&AbsoluteIriStr) -> 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<IriReferenceString> for &'_ AbsoluteIriStr
[src]
fn partial_cmp(&self, o: &IriReferenceString) -> 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<&'_ AbsoluteIriStr> for IriReferenceString
[src]
fn partial_cmp(&self, o: &&AbsoluteIriStr) -> 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 &'_ AbsoluteIriStr
[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<&'_ AbsoluteIriStr> for Cow<'_, IriReferenceStr>
[src]
fn partial_cmp(&self, o: &&AbsoluteIriStr) -> 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 ToOwned for AbsoluteIriStr where
String: From<&'a str>,
String: From<&'a str>,
type Owned = AbsoluteIriString
The resulting type after obtaining ownership.
fn to_owned(&self) -> Self::Owned
fn clone_into(&self, target: &mut Self::Owned)
[src]
impl Display for AbsoluteIriStr where
str: Display,
str: Display,
impl Debug for AbsoluteIriStr
[src]
impl<'a> TryFrom<&'a str> for &'a AbsoluteIriStr
type Error = Error
The type returned in the event of a conversion error.
fn try_from(s: &'a str) -> Result<Self, Self::Error>
impl<'a> TryFrom<&'a IriStr> for &'a AbsoluteIriStr
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: &'a IriStr) -> Result<Self, Self::Error>
[src]
impl<'a> TryFrom<&'a IriReferenceStr> for &'a AbsoluteIriStr
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(v: &'a IriReferenceStr) -> Result<Self, Self::Error>
[src]
impl Deref for AbsoluteIriStr
[src]
impl Hash for AbsoluteIriStr
[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 Borrow<AbsoluteIriStr> for AbsoluteIriString
fn borrow(&self) -> &AbsoluteIriStr
impl Serialize for AbsoluteIriStr
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de: 'a, 'a> Deserialize<'de> for &'a AbsoluteIriStr
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for AbsoluteIriStr
impl Sync for AbsoluteIriStr
impl Unpin for AbsoluteIriStr
impl UnwindSafe for AbsoluteIriStr
impl RefUnwindSafe for AbsoluteIriStr
Blanket Implementations
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> 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,