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