#[non_exhaustive]pub struct NodeConfigurationOptionsFilter {
pub name: Option<NodeConfigurationOptionsFilterName>,
pub operator: Option<OperatorType>,
pub values: Option<Vec<String>>,
}
Expand description
A set of elements to filter the returned node configurations.
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.name: Option<NodeConfigurationOptionsFilterName>
The name of the element to filter.
operator: Option<OperatorType>
The filter operator. If filter Name is NodeType only the 'in' operator is supported. Provide one value to evaluate for 'eq', 'lt', 'le', 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide a list of values for 'in'.
values: Option<Vec<String>>
List of values. Compare Name using Operator to Values. If filter Name is NumberOfNodes, then values can range from 0 to 200. If filter Name is EstimatedDiskUtilizationPercent, then values can range from 0 to 100. For example, filter NumberOfNodes (name) GT (operator) 3 (values).
Implementations
sourceimpl NodeConfigurationOptionsFilter
impl NodeConfigurationOptionsFilter
sourcepub fn name(&self) -> Option<&NodeConfigurationOptionsFilterName>
pub fn name(&self) -> Option<&NodeConfigurationOptionsFilterName>
The name of the element to filter.
sourcepub fn operator(&self) -> Option<&OperatorType>
pub fn operator(&self) -> Option<&OperatorType>
The filter operator. If filter Name is NodeType only the 'in' operator is supported. Provide one value to evaluate for 'eq', 'lt', 'le', 'gt', and 'ge'. Provide two values to evaluate for 'between'. Provide a list of values for 'in'.
sourcepub fn values(&self) -> Option<&[String]>
pub fn values(&self) -> Option<&[String]>
List of values. Compare Name using Operator to Values. If filter Name is NumberOfNodes, then values can range from 0 to 200. If filter Name is EstimatedDiskUtilizationPercent, then values can range from 0 to 100. For example, filter NumberOfNodes (name) GT (operator) 3 (values).
sourceimpl NodeConfigurationOptionsFilter
impl NodeConfigurationOptionsFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeConfigurationOptionsFilter
Trait Implementations
sourceimpl Clone for NodeConfigurationOptionsFilter
impl Clone for NodeConfigurationOptionsFilter
sourcefn clone(&self) -> NodeConfigurationOptionsFilter
fn clone(&self) -> NodeConfigurationOptionsFilter
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 PartialEq<NodeConfigurationOptionsFilter> for NodeConfigurationOptionsFilter
impl PartialEq<NodeConfigurationOptionsFilter> for NodeConfigurationOptionsFilter
sourcefn eq(&self, other: &NodeConfigurationOptionsFilter) -> bool
fn eq(&self, other: &NodeConfigurationOptionsFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NodeConfigurationOptionsFilter) -> bool
fn ne(&self, other: &NodeConfigurationOptionsFilter) -> bool
This method tests for !=
.
impl StructuralPartialEq for NodeConfigurationOptionsFilter
Auto Trait Implementations
impl RefUnwindSafe for NodeConfigurationOptionsFilter
impl Send for NodeConfigurationOptionsFilter
impl Sync for NodeConfigurationOptionsFilter
impl Unpin for NodeConfigurationOptionsFilter
impl UnwindSafe for NodeConfigurationOptionsFilter
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