pub fn as_str(&self) -> Option<&str> {
		match self {
			Term::Iri(iri) => Some(iri.as_str()),
			Term::Value(lit) => lit.as_str(),
			_ => None,
		}
	}
/// Get the string representation of the term, if any.
///
/// Returns some string if the term is an IRI or a string literal.
Get the string representation of the term, if any.
Returns some string if the term is an IRI or a string literal.
Get the string representation of the term if any . Returns some string if the term is an IRI or a string literal .
pub fn as_str(&self) -> Option<&str> {
		match self {
			Term::Iri(iri) => Some(iri.as_str()),
			Term::Value(lit) => lit.as_str(),
			_ => None,
		}
	}
pub fn as_str ( & self ) -> Option < & str > { match self { Term :: Iri ( iri ) => Some ( iri . as_str ( ) ) , Term :: Value ( lit ) => lit . as_str ( ) , _ => None , } }
Get the string representation of the term, if any.
Get the string representation of the term if any .
&self
&self