pub enum Display {
DisplayName(String),
DisplayNameIid(u64),
}Expand description
Optional human readable label for this value, e.g. “worker-east” for rank 7. Only affects presentation: the canonical typed value above is what SQL and merging use.
Variants§
DisplayName(String)
DisplayNameIid(u64)
Interned version of display_name: corresponds to the
track_dimension_strings field in InternedData, looked up like
string_value_iid.
Implementations§
Source§impl Display
impl Display
Sourcepub fn merge(
field: &mut Option<Display>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Display>, 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§
impl Eq for Display
impl StructuralPartialEq for Display
Auto Trait Implementations§
impl Freeze for Display
impl RefUnwindSafe for Display
impl Send for Display
impl Sync for Display
impl Unpin for Display
impl UnsafeUnpin for Display
impl UnwindSafe for Display
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