pub enum ConditionOneOf {
Field(FieldCondition),
IsEmpty(IsEmptyCondition),
HasId(HasIdCondition),
Filter(Filter),
IsNull(IsNullCondition),
Nested(NestedCondition),
}
Variants§
Field(FieldCondition)
IsEmpty(IsEmptyCondition)
HasId(HasIdCondition)
Filter(Filter)
IsNull(IsNullCondition)
Nested(NestedCondition)
Implementations§
source§impl ConditionOneOf
impl ConditionOneOf
sourcepub fn merge(
field: &mut Option<ConditionOneOf>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<ConditionOneOf>, 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 ConditionOneOf
impl Clone for ConditionOneOf
source§fn clone(&self) -> ConditionOneOf
fn clone(&self) -> ConditionOneOf
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 ConditionOneOf
impl Debug for ConditionOneOf
source§impl From<ConditionOneOf> for Condition
impl From<ConditionOneOf> for Condition
source§fn from(value: ConditionOneOf) -> Self
fn from(value: ConditionOneOf) -> Self
Converts to this type from the input type.
source§impl From<FieldCondition> for ConditionOneOf
impl From<FieldCondition> for ConditionOneOf
source§fn from(value: FieldCondition) -> Self
fn from(value: FieldCondition) -> Self
Converts to this type from the input type.
source§impl From<Filter> for ConditionOneOf
impl From<Filter> for ConditionOneOf
source§impl From<HasIdCondition> for ConditionOneOf
impl From<HasIdCondition> for ConditionOneOf
source§fn from(value: HasIdCondition) -> Self
fn from(value: HasIdCondition) -> Self
Converts to this type from the input type.
source§impl From<IsEmptyCondition> for ConditionOneOf
impl From<IsEmptyCondition> for ConditionOneOf
source§fn from(value: IsEmptyCondition) -> Self
fn from(value: IsEmptyCondition) -> Self
Converts to this type from the input type.
source§impl From<IsNullCondition> for ConditionOneOf
impl From<IsNullCondition> for ConditionOneOf
source§fn from(value: IsNullCondition) -> Self
fn from(value: IsNullCondition) -> Self
Converts to this type from the input type.
source§impl From<NestedCondition> for ConditionOneOf
impl From<NestedCondition> for ConditionOneOf
source§fn from(value: NestedCondition) -> Self
fn from(value: NestedCondition) -> Self
Converts to this type from the input type.
source§impl PartialEq for ConditionOneOf
impl PartialEq for ConditionOneOf
impl StructuralPartialEq for ConditionOneOf
Auto Trait Implementations§
impl Freeze for ConditionOneOf
impl RefUnwindSafe for ConditionOneOf
impl Send for ConditionOneOf
impl Sync for ConditionOneOf
impl Unpin for ConditionOneOf
impl UnwindSafe for ConditionOneOf
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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