#[non_exhaustive]pub struct BatchCreateVehicleInput {
pub vehicles: Option<Vec<CreateVehicleRequestItem>>,
}
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<CreateVehicleRequestItem>>
A list of information about each vehicle to create. For more information, see the API data type.
Implementations§
source§impl BatchCreateVehicleInput
impl BatchCreateVehicleInput
sourcepub fn vehicles(&self) -> &[CreateVehicleRequestItem]
pub fn vehicles(&self) -> &[CreateVehicleRequestItem]
A list of information about each vehicle to create. For more information, see the API data type.
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()
.
source§impl BatchCreateVehicleInput
impl BatchCreateVehicleInput
sourcepub fn builder() -> BatchCreateVehicleInputBuilder
pub fn builder() -> BatchCreateVehicleInputBuilder
Creates a new builder-style object to manufacture BatchCreateVehicleInput
.
Trait Implementations§
source§impl Clone for BatchCreateVehicleInput
impl Clone for BatchCreateVehicleInput
source§fn clone(&self) -> BatchCreateVehicleInput
fn clone(&self) -> BatchCreateVehicleInput
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 BatchCreateVehicleInput
impl Debug for BatchCreateVehicleInput
source§impl PartialEq for BatchCreateVehicleInput
impl PartialEq for BatchCreateVehicleInput
source§fn eq(&self, other: &BatchCreateVehicleInput) -> bool
fn eq(&self, other: &BatchCreateVehicleInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchCreateVehicleInput
Auto Trait Implementations§
impl RefUnwindSafe for BatchCreateVehicleInput
impl Send for BatchCreateVehicleInput
impl Sync for BatchCreateVehicleInput
impl Unpin for BatchCreateVehicleInput
impl UnwindSafe for BatchCreateVehicleInput
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.