#[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
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.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) -> Option<&[UpdateVehicleResponseItem]>
pub fn vehicles(&self) -> Option<&[UpdateVehicleResponseItem]>
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
sourcepub fn errors(&self) -> Option<&[UpdateVehicleError]>
pub fn errors(&self) -> Option<&[UpdateVehicleError]>
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
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
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 BatchUpdateVehicleOutput
impl Debug for BatchUpdateVehicleOutput
source§impl PartialEq<BatchUpdateVehicleOutput> for BatchUpdateVehicleOutput
impl PartialEq<BatchUpdateVehicleOutput> for BatchUpdateVehicleOutput
source§fn eq(&self, other: &BatchUpdateVehicleOutput) -> bool
fn eq(&self, other: &BatchUpdateVehicleOutput) -> bool
This method tests for
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>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for BatchUpdateVehicleOutput
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more