Struct aws_sdk_connect::types::QuickConnectSearchCriteria
source · #[non_exhaustive]pub struct QuickConnectSearchCriteria {
pub or_conditions: Option<Vec<QuickConnectSearchCriteria>>,
pub and_conditions: Option<Vec<QuickConnectSearchCriteria>>,
pub string_condition: Option<StringCondition>,
}
Expand description
The search criteria to be used to return quick connects.
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.or_conditions: Option<Vec<QuickConnectSearchCriteria>>
A list of conditions which would be applied together with an OR condition.
and_conditions: Option<Vec<QuickConnectSearchCriteria>>
A list of conditions which would be applied together with an AND condition.
string_condition: Option<StringCondition>
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
, description
, and resourceID
.
Implementations§
source§impl QuickConnectSearchCriteria
impl QuickConnectSearchCriteria
sourcepub fn or_conditions(&self) -> Option<&[QuickConnectSearchCriteria]>
pub fn or_conditions(&self) -> Option<&[QuickConnectSearchCriteria]>
A list of conditions which would be applied together with an OR condition.
sourcepub fn and_conditions(&self) -> Option<&[QuickConnectSearchCriteria]>
pub fn and_conditions(&self) -> Option<&[QuickConnectSearchCriteria]>
A list of conditions which would be applied together with an AND condition.
sourcepub fn string_condition(&self) -> Option<&StringCondition>
pub fn string_condition(&self) -> Option<&StringCondition>
A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
, description
, and resourceID
.
source§impl QuickConnectSearchCriteria
impl QuickConnectSearchCriteria
sourcepub fn builder() -> QuickConnectSearchCriteriaBuilder
pub fn builder() -> QuickConnectSearchCriteriaBuilder
Creates a new builder-style object to manufacture QuickConnectSearchCriteria
.
Trait Implementations§
source§impl Clone for QuickConnectSearchCriteria
impl Clone for QuickConnectSearchCriteria
source§fn clone(&self) -> QuickConnectSearchCriteria
fn clone(&self) -> QuickConnectSearchCriteria
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 QuickConnectSearchCriteria
impl Debug for QuickConnectSearchCriteria
source§impl PartialEq<QuickConnectSearchCriteria> for QuickConnectSearchCriteria
impl PartialEq<QuickConnectSearchCriteria> for QuickConnectSearchCriteria
source§fn eq(&self, other: &QuickConnectSearchCriteria) -> bool
fn eq(&self, other: &QuickConnectSearchCriteria) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for QuickConnectSearchCriteria
Auto Trait Implementations§
impl RefUnwindSafe for QuickConnectSearchCriteria
impl Send for QuickConnectSearchCriteria
impl Sync for QuickConnectSearchCriteria
impl Unpin for QuickConnectSearchCriteria
impl UnwindSafe for QuickConnectSearchCriteria
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