pub struct RDFLiteral {
pub value: String,
pub quote_style: StringStyle,
pub lang: Option<Spanned<String>>,
pub ty: Option<Spanned<NamedNode>>,
pub idx: usize,
pub len: usize,
}Fields§
§value: String§quote_style: StringStyle§lang: Option<Spanned<String>>Language tag (without the leading @), spanned over the @lang token.
ty: Option<Spanned<NamedNode>>Datatype IRI, spanned over the ^^<iri> datatype term.
idx: usize§len: usizeImplementations§
Source§impl RDFLiteral
impl RDFLiteral
pub fn plain_string(&self) -> String
Trait Implementations§
Source§impl Clone for RDFLiteral
impl Clone for RDFLiteral
Source§fn clone(&self) -> RDFLiteral
fn clone(&self) -> RDFLiteral
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RDFLiteral
impl Debug for RDFLiteral
Source§impl Display for RDFLiteral
impl Display for RDFLiteral
Source§impl PartialEq for RDFLiteral
impl PartialEq for RDFLiteral
impl Eq for RDFLiteral
impl StructuralPartialEq for RDFLiteral
Auto Trait Implementations§
impl Freeze for RDFLiteral
impl RefUnwindSafe for RDFLiteral
impl Send for RDFLiteral
impl Sync for RDFLiteral
impl Unpin for RDFLiteral
impl UnsafeUnpin for RDFLiteral
impl UnwindSafe for RDFLiteral
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more