[−][src]Enum foundationdb::tuple::Element
Variants
Bytes(Bytes<'a>)
Int(i64)
BigInt(BigInt)
Float(f32)
Double(f64)
Bool(bool)
Uuid(Uuid)
Versionstamp(Versionstamp)
Implementations
impl<'a> Element<'a>
[src]
pub fn into_owned(self) -> Element<'static>
[src]
pub fn as_bytes(&self) -> Option<&Bytes<'_>>
[src]
pub fn as_str(&self) -> Option<&str>
[src]
pub fn as_tuple(&self) -> Option<&[Element<'a>]>
[src]
pub fn as_i64(&self) -> Option<i64>
[src]
pub fn as_bigint(&self) -> Option<&BigInt>
[src]
pub fn as_f32(&self) -> Option<f32>
[src]
pub fn as_f64(&self) -> Option<f64>
[src]
pub fn as_bool(&self) -> Option<bool>
[src]
pub fn as_uuid(&self) -> Option<&Uuid>
[src]
pub fn as_versionstamp(&self) -> Option<&Versionstamp>
[src]
impl<'a> Element<'a>
[src]
pub fn count_incomplete_versionstamp(&self) -> usize
[src]
Trait Implementations
impl<'a> Clone for Element<'a>
[src]
impl<'a> Debug for Element<'a>
[src]
impl<'a> Eq for Element<'a>
[src]
impl<'a> Ord for Element<'a>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<'a> PartialEq<Element<'a>> for Element<'a>
[src]
impl<'a> PartialOrd<Element<'a>> for Element<'a>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a> TuplePack for Element<'a>
[src]
fn pack<W: Write>(
&self,
w: &mut W,
tuple_depth: TupleDepth
) -> Result<VersionstampOffset>
[src]
&self,
w: &mut W,
tuple_depth: TupleDepth
) -> Result<VersionstampOffset>
fn pack_root<W: Write>(&self, w: &mut W) -> Result<VersionstampOffset>
[src]
fn pack_to_vec(&self) -> Vec<u8>
[src]
fn pack_to_vec_with_versionstamp(&self) -> Vec<u8>
[src]
fn pack_into_vec(&self, output: &mut Vec<u8>)
[src]
fn pack_into_vec_with_versionstamp(
&self,
output: &mut Vec<u8>
) -> VersionstampOffset
[src]
&self,
output: &mut Vec<u8>
) -> VersionstampOffset
impl<'de> TupleUnpack<'de> for Element<'de>
[src]
fn unpack(
input: &'de [u8],
tuple_depth: TupleDepth
) -> PackResult<(&'de [u8], Self)>
[src]
input: &'de [u8],
tuple_depth: TupleDepth
) -> PackResult<(&'de [u8], Self)>
fn unpack_root(input: &'de [u8]) -> PackResult<Self>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Element<'a>
impl<'a> Send for Element<'a>
impl<'a> Sync for Element<'a>
impl<'a> Unpin for Element<'a>
impl<'a> UnwindSafe for Element<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,