#[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.