pub enum SiblingMergeKeyField {
SiblingMergeKey(String),
SiblingMergeKeyInt(u64),
}
Expand description
An opaque value which allows specifying which tracks should be merged together.
Only meaningful when sibling_merge_behavior
is set to
SIBLING_MERGE_BEHAVIOR_BY_SIBLING_MERGE_KEY
.
Variants§
Implementations§
Source§impl SiblingMergeKeyField
impl SiblingMergeKeyField
Sourcepub fn merge<B>(
field: &mut Option<SiblingMergeKeyField>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<SiblingMergeKeyField>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
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 SiblingMergeKeyField
impl Clone for SiblingMergeKeyField
Source§fn clone(&self) -> SiblingMergeKeyField
fn clone(&self) -> SiblingMergeKeyField
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 SiblingMergeKeyField
impl Debug for SiblingMergeKeyField
Source§impl PartialEq for SiblingMergeKeyField
impl PartialEq for SiblingMergeKeyField
impl StructuralPartialEq for SiblingMergeKeyField
Auto Trait Implementations§
impl Freeze for SiblingMergeKeyField
impl RefUnwindSafe for SiblingMergeKeyField
impl Send for SiblingMergeKeyField
impl Sync for SiblingMergeKeyField
impl Unpin for SiblingMergeKeyField
impl UnwindSafe for SiblingMergeKeyField
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