Struct aws_sdk_qconnect::types::QueryConditionItem
source · #[non_exhaustive]pub struct QueryConditionItem {
pub field: QueryConditionFieldName,
pub comparator: QueryConditionComparisonOperator,
pub value: String,
}Expand description
The condition for the query.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.field: QueryConditionFieldNameThe name of the field for query condition to query on.
comparator: QueryConditionComparisonOperatorThe comparison operator for query condition to query on.
value: StringThe value for the query condition to query on.
Implementations§
source§impl QueryConditionItem
impl QueryConditionItem
sourcepub fn field(&self) -> &QueryConditionFieldName
pub fn field(&self) -> &QueryConditionFieldName
The name of the field for query condition to query on.
sourcepub fn comparator(&self) -> &QueryConditionComparisonOperator
pub fn comparator(&self) -> &QueryConditionComparisonOperator
The comparison operator for query condition to query on.
source§impl QueryConditionItem
impl QueryConditionItem
sourcepub fn builder() -> QueryConditionItemBuilder
pub fn builder() -> QueryConditionItemBuilder
Creates a new builder-style object to manufacture QueryConditionItem.
Trait Implementations§
source§impl Clone for QueryConditionItem
impl Clone for QueryConditionItem
source§fn clone(&self) -> QueryConditionItem
fn clone(&self) -> QueryConditionItem
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 QueryConditionItem
impl Debug for QueryConditionItem
source§impl PartialEq for QueryConditionItem
impl PartialEq for QueryConditionItem
source§fn eq(&self, other: &QueryConditionItem) -> bool
fn eq(&self, other: &QueryConditionItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for QueryConditionItem
Auto Trait Implementations§
impl Freeze for QueryConditionItem
impl RefUnwindSafe for QueryConditionItem
impl Send for QueryConditionItem
impl Sync for QueryConditionItem
impl Unpin for QueryConditionItem
impl UnwindSafe for QueryConditionItem
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> 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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.