pub struct DimensionMapValue {
pub value: String,
pub key_value_hash: u64,
}Expand description
The value stored in the DimensionMap.
Fields§
§value: StringThe actual string value of the dimension.
key_value_hash: u64The hash of both the name of the key this value corresponds to, and the value itself.
Trait Implementations§
Source§impl Debug for DimensionMapValue
impl Debug for DimensionMapValue
Source§impl Default for DimensionMapValue
impl Default for DimensionMapValue
Source§fn default() -> DimensionMapValue
fn default() -> DimensionMapValue
Returns the “default value” for a type. Read more
impl Eq for DimensionMapValue
Source§impl Ord for DimensionMapValue
impl Ord for DimensionMapValue
Source§fn cmp(&self, other: &DimensionMapValue) -> Ordering
fn cmp(&self, other: &DimensionMapValue) -> Ordering
1.21.0 (const: unstable) · 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 DimensionMapValue
impl PartialEq for DimensionMapValue
Source§impl PartialOrd for DimensionMapValue
impl PartialOrd for DimensionMapValue
impl StructuralPartialEq for DimensionMapValue
Auto Trait Implementations§
impl Freeze for DimensionMapValue
impl RefUnwindSafe for DimensionMapValue
impl Send for DimensionMapValue
impl Sync for DimensionMapValue
impl Unpin for DimensionMapValue
impl UnsafeUnpin for DimensionMapValue
impl UnwindSafe for DimensionMapValue
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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