pub struct LiteralReport {
pub datatype: Option<Rdf12Datatype>,
pub bytes: u64,
}Expand description
Successful lexical inspection, without allocating or normalizing the literal.
Fields§
§datatype: Option<Rdf12Datatype>Recognized default datatype; None means an encountered opaque datatype.
Opaque does not mean ill-typed, nor does it extend the recognized map.
bytes: u64Exact lexical UTF-8 byte count, after verifying successful EOF.
Trait Implementations§
Source§impl Clone for LiteralReport
impl Clone for LiteralReport
impl Copy for LiteralReport
Source§impl Debug for LiteralReport
impl Debug for LiteralReport
Source§impl<'de> Deserialize<'de> for LiteralReport
impl<'de> Deserialize<'de> for LiteralReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LiteralReport
Source§impl PartialEq for LiteralReport
impl PartialEq for LiteralReport
Source§impl Serialize for LiteralReport
impl Serialize for LiteralReport
impl StructuralPartialEq for LiteralReport
Auto Trait Implementations§
impl Forget for LiteralReport
impl Freeze for LiteralReport
impl Move for LiteralReport
impl RefUnwindSafe for LiteralReport
impl Send for LiteralReport
impl Sync for LiteralReport
impl Unpin for LiteralReport
impl UnsafeUnpin for LiteralReport
impl UnwindSafe for LiteralReport
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