pub enum ClassLabels {
StringClassLabels(StringVector),
Int64ClassLabels(Int64Vector),
}Expand description
The set of labels for every possible class.
Variants§
StringClassLabels(StringVector)
Int64ClassLabels(Int64Vector)
Implementations§
Source§impl ClassLabels
impl ClassLabels
Sourcepub fn merge(
field: &mut Option<ClassLabels>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<ClassLabels>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for ClassLabels
impl Clone for ClassLabels
Source§fn clone(&self) -> ClassLabels
fn clone(&self) -> ClassLabels
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 ClassLabels
impl Debug for ClassLabels
Source§impl Hash for ClassLabels
impl Hash for ClassLabels
Source§impl PartialEq for ClassLabels
impl PartialEq for ClassLabels
Source§fn eq(&self, other: &ClassLabels) -> bool
fn eq(&self, other: &ClassLabels) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClassLabels
impl StructuralPartialEq for ClassLabels
Auto Trait Implementations§
impl Freeze for ClassLabels
impl RefUnwindSafe for ClassLabels
impl Send for ClassLabels
impl Sync for ClassLabels
impl Unpin for ClassLabels
impl UnsafeUnpin for ClassLabels
impl UnwindSafe for ClassLabels
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