Enum rust_chain::db::SecondaryValue
source · [−]pub enum SecondaryValue {
None,
Idx64(u64),
Idx128(u128),
Idx256(Uint256),
IdxF64(f64),
IdxF128(Float128),
}
Expand description
Variants
None
Idx64(u64)
Idx128(u128)
Idx256(Uint256)
IdxF64(f64)
IdxF128(Float128)
Trait Implementations
sourceimpl Clone for SecondaryValue
impl Clone for SecondaryValue
sourcefn clone(&self) -> SecondaryValue
fn clone(&self) -> SecondaryValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl From<Float128> for SecondaryValue
impl From<Float128> for SecondaryValue
sourceimpl From<SecondaryValue> for Float128
impl From<SecondaryValue> for Float128
sourcefn from(value: SecondaryValue) -> Self
fn from(value: SecondaryValue) -> Self
Converts to this type from the input type.
sourceimpl From<SecondaryValue> for Uint256
impl From<SecondaryValue> for Uint256
sourcefn from(value: SecondaryValue) -> Self
fn from(value: SecondaryValue) -> Self
Converts to this type from the input type.
sourceimpl From<SecondaryValue> for f64
impl From<SecondaryValue> for f64
sourcefn from(value: SecondaryValue) -> Self
fn from(value: SecondaryValue) -> Self
Converts to this type from the input type.
sourceimpl From<SecondaryValue> for u128
impl From<SecondaryValue> for u128
sourcefn from(value: SecondaryValue) -> Self
fn from(value: SecondaryValue) -> Self
Converts to this type from the input type.
sourceimpl From<SecondaryValue> for u64
impl From<SecondaryValue> for u64
sourcefn from(value: SecondaryValue) -> Self
fn from(value: SecondaryValue) -> Self
Converts to this type from the input type.
sourceimpl From<Uint256> for SecondaryValue
impl From<Uint256> for SecondaryValue
sourceimpl From<f64> for SecondaryValue
impl From<f64> for SecondaryValue
sourceimpl From<u128> for SecondaryValue
impl From<u128> for SecondaryValue
sourceimpl From<u64> for SecondaryValue
impl From<u64> for SecondaryValue
sourceimpl PartialEq<SecondaryValue> for SecondaryValue
impl PartialEq<SecondaryValue> for SecondaryValue
sourcefn eq(&self, other: &SecondaryValue) -> bool
fn eq(&self, other: &SecondaryValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SecondaryValue) -> bool
fn ne(&self, other: &SecondaryValue) -> bool
This method tests for !=
.
impl Copy for SecondaryValue
impl StructuralPartialEq for SecondaryValue
Auto Trait Implementations
impl RefUnwindSafe for SecondaryValue
impl Send for SecondaryValue
impl Sync for SecondaryValue
impl Unpin for SecondaryValue
impl UnwindSafe for SecondaryValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more