Enum rdftk_core::literal::DataType [−][src]
pub enum DataType {}Show variants
String, QName, IRI, Boolean, Float, Double, Long, Int, Short, Byte, UnsignedLong, UnsignedInt, UnsignedShort, UnsignedByte, Duration, Other(IRIRef),
Expand description
Variants
Denotes a literal of type xsd::string
.
Denotes a literal of type xsd::qname
.
Denotes a literal of type xsd::anyURI
.
Denotes a literal of type xsd::boolean
.
Denotes a literal of type xsd::float
.
Denotes a literal of type xsd::double
.
Denotes a literal of type xsd::long
.
Denotes a literal of type xsd::int
.
Denotes a literal of type xsd::short
.
Denotes a literal of type xsd::byte
.
Denotes a literal of type xsd::unsignedLong
.
Denotes a literal of type xsd::unsignedInt
.
Denotes a literal of type xsd::unsignedShort
.
Denotes a literal of type xsd::unsignedByte
.
Denotes a literal of type xsd::duration
.
Other(IRIRef)
Denotes a literal where the type is indicated by the provided IRI
.
Implementations
Trait Implementations
impl Eq for DataType
[src]
impl StructuralEq for DataType
[src]
impl StructuralPartialEq for DataType
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more