#[non_exhaustive]pub struct BatchUpdateVehicleOutput {
pub vehicles: Option<Vec<UpdateVehicleResponseItem>>,
pub errors: Option<Vec<UpdateVehicleError>>,
/* private fields */
}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.vehicles: Option<Vec<UpdateVehicleResponseItem>>A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
errors: Option<Vec<UpdateVehicleError>>A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
Implementations§
source§impl BatchUpdateVehicleOutput
impl BatchUpdateVehicleOutput
sourcepub fn vehicles(&self) -> &[UpdateVehicleResponseItem]
pub fn vehicles(&self) -> &[UpdateVehicleResponseItem]
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vehicles.is_none().
sourcepub fn errors(&self) -> &[UpdateVehicleError]
pub fn errors(&self) -> &[UpdateVehicleError]
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
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 BatchUpdateVehicleOutput
impl BatchUpdateVehicleOutput
sourcepub fn builder() -> BatchUpdateVehicleOutputBuilder
pub fn builder() -> BatchUpdateVehicleOutputBuilder
Creates a new builder-style object to manufacture BatchUpdateVehicleOutput.
Trait Implementations§
source§impl Clone for BatchUpdateVehicleOutput
impl Clone for BatchUpdateVehicleOutput
source§fn clone(&self) -> BatchUpdateVehicleOutput
fn clone(&self) -> BatchUpdateVehicleOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchUpdateVehicleOutput
impl Debug for BatchUpdateVehicleOutput
source§impl PartialEq for BatchUpdateVehicleOutput
impl PartialEq for BatchUpdateVehicleOutput
source§fn eq(&self, other: &BatchUpdateVehicleOutput) -> bool
fn eq(&self, other: &BatchUpdateVehicleOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for BatchUpdateVehicleOutput
impl RequestId for BatchUpdateVehicleOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for BatchUpdateVehicleOutput
Auto Trait Implementations§
impl Freeze for BatchUpdateVehicleOutput
impl RefUnwindSafe for BatchUpdateVehicleOutput
impl Send for BatchUpdateVehicleOutput
impl Sync for BatchUpdateVehicleOutput
impl Unpin for BatchUpdateVehicleOutput
impl UnwindSafe for BatchUpdateVehicleOutput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more