Struct aws_sdk_batch::types::KeyValuesPair
source · #[non_exhaustive]pub struct KeyValuesPair {
pub name: Option<String>,
pub values: Option<Vec<String>>,
}
Expand description
A filter name and value pair that's used to return a more specific list of results from a ListJobs
API operation.
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.name: Option<String>
The name of the filter. Filter names are case sensitive.
values: Option<Vec<String>>
The filter values.
Implementations§
source§impl KeyValuesPair
impl KeyValuesPair
source§impl KeyValuesPair
impl KeyValuesPair
sourcepub fn builder() -> KeyValuesPairBuilder
pub fn builder() -> KeyValuesPairBuilder
Creates a new builder-style object to manufacture KeyValuesPair
.
Trait Implementations§
source§impl Clone for KeyValuesPair
impl Clone for KeyValuesPair
source§fn clone(&self) -> KeyValuesPair
fn clone(&self) -> KeyValuesPair
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 KeyValuesPair
impl Debug for KeyValuesPair
source§impl PartialEq for KeyValuesPair
impl PartialEq for KeyValuesPair
source§fn eq(&self, other: &KeyValuesPair) -> bool
fn eq(&self, other: &KeyValuesPair) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeyValuesPair
Auto Trait Implementations§
impl Freeze for KeyValuesPair
impl RefUnwindSafe for KeyValuesPair
impl Send for KeyValuesPair
impl Sync for KeyValuesPair
impl Unpin for KeyValuesPair
impl UnwindSafe for KeyValuesPair
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.