#[non_exhaustive]pub struct BatchGetVariableOutput {
pub variables: Option<Vec<Variable>>,
pub errors: Option<Vec<BatchGetVariableError>>,
/* private fields */
}
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.variables: Option<Vec<Variable>>
The returned variables.
errors: Option<Vec<BatchGetVariableError>>
The errors from the request.
Implementations§
source§impl BatchGetVariableOutput
impl BatchGetVariableOutput
sourcepub fn variables(&self) -> &[Variable]
pub fn variables(&self) -> &[Variable]
The returned variables.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .variables.is_none()
.
sourcepub fn errors(&self) -> &[BatchGetVariableError]
pub fn errors(&self) -> &[BatchGetVariableError]
The errors from the request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none()
.
source§impl BatchGetVariableOutput
impl BatchGetVariableOutput
sourcepub fn builder() -> BatchGetVariableOutputBuilder
pub fn builder() -> BatchGetVariableOutputBuilder
Creates a new builder-style object to manufacture BatchGetVariableOutput
.
Trait Implementations§
source§impl Clone for BatchGetVariableOutput
impl Clone for BatchGetVariableOutput
source§fn clone(&self) -> BatchGetVariableOutput
fn clone(&self) -> BatchGetVariableOutput
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 BatchGetVariableOutput
impl Debug for BatchGetVariableOutput
source§impl PartialEq for BatchGetVariableOutput
impl PartialEq for BatchGetVariableOutput
source§fn eq(&self, other: &BatchGetVariableOutput) -> bool
fn eq(&self, other: &BatchGetVariableOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for BatchGetVariableOutput
impl RequestId for BatchGetVariableOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for BatchGetVariableOutput
Auto Trait Implementations§
impl Freeze for BatchGetVariableOutput
impl RefUnwindSafe for BatchGetVariableOutput
impl Send for BatchGetVariableOutput
impl Sync for BatchGetVariableOutput
impl Unpin for BatchGetVariableOutput
impl UnwindSafe for BatchGetVariableOutput
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.