#[repr(i8)]pub enum TypedValueEncodingField {
Show 15 variants
Null = 0,
NamedNode = 1,
BlankNode = 2,
String = 3,
Boolean = 4,
Float = 5,
Double = 6,
Decimal = 7,
Int = 8,
Integer = 9,
DateTime = 10,
Time = 11,
Date = 12,
Duration = 13,
OtherLiteral = 14,
}
Variants§
Null = 0
Represents an unbound value or an error.
This has to be the first encoded field as OUTER joins will use it to initialize default values for non-matching rows.
NamedNode = 1
BlankNode = 2
String = 3
Boolean = 4
Float = 5
Double = 6
Decimal = 7
Int = 8
Integer = 9
DateTime = 10
Time = 11
Date = 12
Duration = 13
OtherLiteral = 14
Implementations§
Trait Implementations§
Source§impl Clone for TypedValueEncodingField
impl Clone for TypedValueEncodingField
Source§fn clone(&self) -> TypedValueEncodingField
fn clone(&self) -> TypedValueEncodingField
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 TypedValueEncodingField
impl Debug for TypedValueEncodingField
Source§impl Display for TypedValueEncodingField
impl Display for TypedValueEncodingField
Source§impl Ord for TypedValueEncodingField
impl Ord for TypedValueEncodingField
Source§fn cmp(&self, other: &TypedValueEncodingField) -> Ordering
fn cmp(&self, other: &TypedValueEncodingField) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TypedValueEncodingField
impl PartialEq for TypedValueEncodingField
Source§impl PartialOrd for TypedValueEncodingField
impl PartialOrd for TypedValueEncodingField
Source§impl TryFrom<i8> for TypedValueEncodingField
impl TryFrom<i8> for TypedValueEncodingField
Source§type Error = UnknownTypedValueEncodingFieldError
type Error = UnknownTypedValueEncodingFieldError
The type returned in the event of a conversion error.
Source§fn try_from(
value: i8,
) -> Result<TypedValueEncodingField, <TypedValueEncodingField as TryFrom<i8>>::Error>
fn try_from( value: i8, ) -> Result<TypedValueEncodingField, <TypedValueEncodingField as TryFrom<i8>>::Error>
Performs the conversion.
Source§impl TryFrom<u8> for TypedValueEncodingField
impl TryFrom<u8> for TypedValueEncodingField
Source§type Error = UnknownTypedValueEncodingFieldError
type Error = UnknownTypedValueEncodingFieldError
The type returned in the event of a conversion error.
Source§fn try_from(
value: u8,
) -> Result<TypedValueEncodingField, <TypedValueEncodingField as TryFrom<u8>>::Error>
fn try_from( value: u8, ) -> Result<TypedValueEncodingField, <TypedValueEncodingField as TryFrom<u8>>::Error>
Performs the conversion.
impl Copy for TypedValueEncodingField
impl Eq for TypedValueEncodingField
impl StructuralPartialEq for TypedValueEncodingField
Auto Trait Implementations§
impl Freeze for TypedValueEncodingField
impl RefUnwindSafe for TypedValueEncodingField
impl Send for TypedValueEncodingField
impl Sync for TypedValueEncodingField
impl Unpin for TypedValueEncodingField
impl UnwindSafe for TypedValueEncodingField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more