Struct rio_api::model::NamedNode [−][src]
An RDF IRI.
The default string formatter is returning an N-Triples, Turtle and SPARQL compatible representation.
use rio_api::model::NamedNode; assert_eq!( "<http://example.com/foo>", NamedNode { iri: "http://example.com/foo" }.to_string() )
Fields
iri: &'a str
The IRI itself.
Trait Implementations
impl<'a> Clone for NamedNode<'a>
[src]
impl<'a> Copy for NamedNode<'a>
[src]
impl<'a> Debug for NamedNode<'a>
[src]
impl<'a> Display for NamedNode<'a>
[src]
impl<'a> Eq for NamedNode<'a>
[src]
impl<'a> From<NamedNode<'a>> for NamedOrBlankNode<'a>
[src]
impl<'a> From<NamedNode<'a>> for Term<'a>
[src]
impl<'a> From<NamedNode<'a>> for GeneralizedTerm<'a>
[src]
fn from(other: NamedNode<'a>) -> GeneralizedTerm<'a>
[src]
impl<'a> Hash for NamedNode<'a>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a> Ord for NamedNode<'a>
[src]
fn cmp(&self, other: &NamedNode<'a>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<'a> PartialEq<NamedNode<'a>> for NamedNode<'a>
[src]
impl<'a> PartialOrd<NamedNode<'a>> for NamedNode<'a>
[src]
fn partial_cmp(&self, other: &NamedNode<'a>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a> StructuralEq for NamedNode<'a>
[src]
impl<'a> StructuralPartialEq for NamedNode<'a>
[src]
impl<'a> TTerm for NamedNode<'a>
[src]
fn kind(&self) -> TermKind
[src]
fn value_raw(&self) -> RawValue<'_>
[src]
fn as_dyn(&self) -> &dyn TTerm
[src]
pub fn value(&self) -> MownStr<'_>
[src]
pub fn datatype(&self) -> Option<SimpleIri<'_>>
[src]
pub fn language(&self) -> Option<&str>
[src]
pub fn is_absolute(&self) -> bool
[src]
impl<'a> TryFrom<GeneralizedTerm<'a>> for NamedNode<'a>
[src]
type Error = StrictRdfError
The type returned in the event of a conversion error.
fn try_from(other: GeneralizedTerm<'a>) -> Result<NamedNode<'a>, StrictRdfError>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for NamedNode<'a>
impl<'a> Send for NamedNode<'a>
impl<'a> Sync for NamedNode<'a>
impl<'a> Unpin for NamedNode<'a>
impl<'a> UnwindSafe for NamedNode<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CopiableTerm for T where
T: TTerm + ?Sized,
[src]
T: TTerm + ?Sized,
pub fn copied<U>(&self) -> U where
U: CopyTerm,
[src]
U: CopyTerm,
pub fn try_copied<U>(&self) -> Result<U, <U as TryCopyTerm>::Error> where
U: TryCopyTerm,
[src]
U: TryCopyTerm,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<U> TermMatcher for U where
U: TTerm + ?Sized,
[src]
U: TTerm + ?Sized,
type Term = U
Type of TTerm
used internally by this matcher.
pub fn constant(&self) -> Option<&U>
[src]
pub fn matches<T>(&self, t: &T) -> bool where
T: TTerm + ?Sized,
[src]
T: TTerm + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,