pub struct CategoricalMetadata {
pub categories: Vec<Scalar>,
pub ordered: bool,
}Fields§
§categories: Vec<Scalar>The unique category values, in order.
ordered: boolWhether the categories have a meaningful total ordering.
Implementations§
Trait Implementations§
Source§impl Clone for CategoricalMetadata
impl Clone for CategoricalMetadata
Source§fn clone(&self) -> CategoricalMetadata
fn clone(&self) -> CategoricalMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CategoricalMetadata
impl Debug for CategoricalMetadata
Source§impl<'de> Deserialize<'de> for CategoricalMetadata
impl<'de> Deserialize<'de> for CategoricalMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CategoricalMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CategoricalMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CategoricalMetadata
impl PartialEq for CategoricalMetadata
Source§impl Serialize for CategoricalMetadata
impl Serialize for CategoricalMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CategoricalMetadata
Auto Trait Implementations§
impl !RefUnwindSafe for CategoricalMetadata
impl !UnwindSafe for CategoricalMetadata
impl Freeze for CategoricalMetadata
impl Send for CategoricalMetadata
impl Sync for CategoricalMetadata
impl Unpin for CategoricalMetadata
impl UnsafeUnpin for CategoricalMetadata
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