Struct aws_sdk_connect::model::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, for example, username = 'abc'
.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
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
sourceimpl 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.
sourceimpl StringCondition
impl StringCondition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StringCondition
Trait Implementations
sourceimpl Clone for StringCondition
impl Clone for StringCondition
sourcefn clone(&self) -> StringCondition
fn clone(&self) -> StringCondition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StringCondition
impl Debug for StringCondition
sourceimpl PartialEq<StringCondition> for StringCondition
impl PartialEq<StringCondition> for StringCondition
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &StringCondition) -> bool
fn ne(&self, other: &StringCondition) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more