Struct aws_sdk_elasticbeanstalk::model::PlatformFilter
source · [−]#[non_exhaustive]pub struct PlatformFilter {
pub type: Option<String>,
pub operator: Option<String>,
pub values: Option<Vec<String>>,
}
Expand description
Describes criteria to restrict the results when listing platform versions.
The filter is evaluated as follows: Type Operator Values[1]
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.type: Option<String>
The platform version attribute to which the filter values are applied.
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
| PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
| SupportedTier
| SupportedAddon
| ProgrammingLanguageName
| OperatingSystemName
operator: Option<String>
The operator to apply to the Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
| >
| >=
| contains
| begins_with
| ends_with
values: Option<Vec<String>>
The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators.
The following list shows valid filter values for some filter attributes.
-
PlatformStatus
:Creating
|Failed
|Ready
|Deleting
|Deleted
-
PlatformLifecycleState
:recommended
-
SupportedTier
:WebServer/Standard
|Worker/SQS/HTTP
-
SupportedAddon
:Log/S3
|Monitoring/Healthd
|WorkerDaemon/SQSD
Implementations
sourceimpl PlatformFilter
impl PlatformFilter
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The platform version attribute to which the filter values are applied.
Valid values: PlatformName
| PlatformVersion
| PlatformStatus
| PlatformBranchName
| PlatformLifecycleState
| PlatformOwner
| SupportedTier
| SupportedAddon
| ProgrammingLanguageName
| OperatingSystemName
sourcepub fn operator(&self) -> Option<&str>
pub fn operator(&self) -> Option<&str>
The operator to apply to the Type
with each of the Values
.
Valid values: =
| !=
| <
| <=
| >
| >=
| contains
| begins_with
| ends_with
sourcepub fn values(&self) -> Option<&[String]>
pub fn values(&self) -> Option<&[String]>
The list of values applied to the filtering platform version attribute. Only one value is supported for all current operators.
The following list shows valid filter values for some filter attributes.
-
PlatformStatus
:Creating
|Failed
|Ready
|Deleting
|Deleted
-
PlatformLifecycleState
:recommended
-
SupportedTier
:WebServer/Standard
|Worker/SQS/HTTP
-
SupportedAddon
:Log/S3
|Monitoring/Healthd
|WorkerDaemon/SQSD
sourceimpl PlatformFilter
impl PlatformFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PlatformFilter
Trait Implementations
sourceimpl Clone for PlatformFilter
impl Clone for PlatformFilter
sourcefn clone(&self) -> PlatformFilter
fn clone(&self) -> PlatformFilter
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 PlatformFilter
impl Debug for PlatformFilter
sourceimpl PartialEq<PlatformFilter> for PlatformFilter
impl PartialEq<PlatformFilter> for PlatformFilter
sourcefn eq(&self, other: &PlatformFilter) -> bool
fn eq(&self, other: &PlatformFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PlatformFilter) -> bool
fn ne(&self, other: &PlatformFilter) -> bool
This method tests for !=
.
impl StructuralPartialEq for PlatformFilter
Auto Trait Implementations
impl RefUnwindSafe for PlatformFilter
impl Send for PlatformFilter
impl Sync for PlatformFilter
impl Unpin for PlatformFilter
impl UnwindSafe for PlatformFilter
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