Struct aws_sdk_connect::types::StringCondition
source · #[non_exhaustive]pub struct StringCondition {
pub field_name: Option<String>,
pub value: Option<String>,
pub comparison_type: Option<StringComparisonType>,
}
Expand description
A leaf node condition which can be used to specify a string condition.
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_name: Option<String>
The name of the field in the string condition.
value: Option<String>
The value of the string.
comparison_type: Option<StringComparisonType>
The type of comparison to be made when evaluating the string condition.
Implementations§
source§impl StringCondition
impl StringCondition
sourcepub fn field_name(&self) -> Option<&str>
pub fn field_name(&self) -> Option<&str>
The name of the field in the string condition.
sourcepub fn comparison_type(&self) -> Option<&StringComparisonType>
pub fn comparison_type(&self) -> Option<&StringComparisonType>
The type of comparison to be made when evaluating the string condition.
source§impl StringCondition
impl StringCondition
sourcepub fn builder() -> StringConditionBuilder
pub fn builder() -> StringConditionBuilder
Creates a new builder-style object to manufacture StringCondition
.
Trait Implementations§
source§impl Clone for StringCondition
impl Clone for StringCondition
source§fn clone(&self) -> StringCondition
fn clone(&self) -> StringCondition
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 StringCondition
impl Debug for StringCondition
source§impl PartialEq for StringCondition
impl PartialEq for StringCondition
source§fn eq(&self, other: &StringCondition) -> bool
fn eq(&self, other: &StringCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StringCondition
Auto Trait Implementations§
impl RefUnwindSafe for StringCondition
impl Send for StringCondition
impl Sync for StringCondition
impl Unpin for StringCondition
impl UnwindSafe for StringCondition
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>
Creates a shared type from an unshared type.