pub struct FacetValue(/* private fields */);Expand description
Value half of a (key, value) facet pair.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for FacetValue
impl AsRef<str> for FacetValue
Source§impl Clone for FacetValue
impl Clone for FacetValue
Source§fn clone(&self) -> FacetValue
fn clone(&self) -> FacetValue
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 FacetValue
impl Debug for FacetValue
Source§impl<'de> Deserialize<'de> for FacetValue
impl<'de> Deserialize<'de> for FacetValue
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FacetValue
impl Display for FacetValue
Source§impl FromStr for FacetValue
impl FromStr for FacetValue
Source§impl Hash for FacetValue
impl Hash for FacetValue
Source§impl Name for FacetValue
impl Name for FacetValue
Source§const KIND: &'static str = "FacetValue"
const KIND: &'static str = "FacetValue"
Human-readable kind label, used in error messages and
Debug.Source§const MAX_LEN: usize = 64
const MAX_LEN: usize = 64
Maximum byte length (UTF-8). Default 64 — override when a larger
ceiling is natural (plan names, for example).
Source§impl Ord for FacetValue
impl Ord for FacetValue
Source§fn cmp(&self, other: &FacetValue) -> Ordering
fn cmp(&self, other: &FacetValue) -> 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 FacetValue
impl PartialEq for FacetValue
Source§impl PartialOrd for FacetValue
impl PartialOrd for FacetValue
Source§impl Serialize for FacetValue
impl Serialize for FacetValue
Source§impl TryFrom<&str> for FacetValue
impl TryFrom<&str> for FacetValue
Source§impl TryFrom<String> for FacetValue
impl TryFrom<String> for FacetValue
impl Eq for FacetValue
impl StructuralPartialEq for FacetValue
Auto Trait Implementations§
impl Freeze for FacetValue
impl RefUnwindSafe for FacetValue
impl Send for FacetValue
impl Sync for FacetValue
impl Unpin for FacetValue
impl UnsafeUnpin for FacetValue
impl UnwindSafe for FacetValue
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.