Struct rusoto_servicediscovery::NamespaceFilter
source · [−]pub struct NamespaceFilter {
pub condition: Option<String>,
pub name: String,
pub values: Vec<String>,
}
Expand description
A complex type that identifies the namespaces that you want to list. You can choose to list public or private namespaces.
Fields
condition: Option<String>
The operator that you want to use to determine whether ListNamespaces
returns a namespace. Valid values for condition
include:
- EQ
-
When you specify
EQ
for the condition, you can choose to list only public namespaces or private namespaces, but not both.EQ
is the default condition and can be omitted. - IN
-
When you specify
IN
for the condition, you can choose to list public namespaces, private namespaces, or both. - BETWEEN
-
Not applicable
name: String
Specify TYPE
.
values: Vec<String>
If you specify EQ
for Condition
, specify either DNS_PUBLIC
or DNS_PRIVATE
.
If you specify IN
for Condition
, you can specify DNS_PUBLIC
, DNS_PRIVATE
, or both.
Trait Implementations
sourceimpl Clone for NamespaceFilter
impl Clone for NamespaceFilter
sourcefn clone(&self) -> NamespaceFilter
fn clone(&self) -> NamespaceFilter
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 NamespaceFilter
impl Debug for NamespaceFilter
sourceimpl Default for NamespaceFilter
impl Default for NamespaceFilter
sourcefn default() -> NamespaceFilter
fn default() -> NamespaceFilter
Returns the “default value” for a type. Read more
sourceimpl PartialEq<NamespaceFilter> for NamespaceFilter
impl PartialEq<NamespaceFilter> for NamespaceFilter
sourcefn eq(&self, other: &NamespaceFilter) -> bool
fn eq(&self, other: &NamespaceFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NamespaceFilter) -> bool
fn ne(&self, other: &NamespaceFilter) -> bool
This method tests for !=
.
sourceimpl Serialize for NamespaceFilter
impl Serialize for NamespaceFilter
impl StructuralPartialEq for NamespaceFilter
Auto Trait Implementations
impl RefUnwindSafe for NamespaceFilter
impl Send for NamespaceFilter
impl Sync for NamespaceFilter
impl Unpin for NamespaceFilter
impl UnwindSafe for NamespaceFilter
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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