pub enum ValueFilter {
StringFilter(StringFilter),
InListFilter(InListFilter),
}
Expand description
A StringFilter or InListFilter that defines this filters behavior.
Variants§
StringFilter(StringFilter)
A filter for a string-type dimension that matches a particular pattern.
InListFilter(InListFilter)
A filter for a string dimension that matches a particular list of options.
Implementations§
source§impl ValueFilter
impl ValueFilter
sourcepub fn merge<B>(
field: &mut Option<ValueFilter>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<ValueFilter>,
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 ValueFilter
impl Clone for ValueFilter
source§fn clone(&self) -> ValueFilter
fn clone(&self) -> ValueFilter
Returns a copy 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 ValueFilter
impl Debug for ValueFilter
source§impl PartialEq for ValueFilter
impl PartialEq for ValueFilter
source§fn eq(&self, other: &ValueFilter) -> bool
fn eq(&self, other: &ValueFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValueFilter
Auto Trait Implementations§
impl Freeze for ValueFilter
impl RefUnwindSafe for ValueFilter
impl Send for ValueFilter
impl Sync for ValueFilter
impl Unpin for ValueFilter
impl UnwindSafe for ValueFilter
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request