Struct aws_sdk_iotfleetwise::types::VehicleStatus
source · #[non_exhaustive]pub struct VehicleStatus { /* private fields */ }Expand description
Information about the state of a vehicle and how it relates to the status of a campaign.
Implementations§
source§impl VehicleStatus
impl VehicleStatus
sourcepub fn campaign_name(&self) -> Option<&str>
pub fn campaign_name(&self) -> Option<&str>
The name of a campaign.
sourcepub fn vehicle_name(&self) -> Option<&str>
pub fn vehicle_name(&self) -> Option<&str>
The unique ID of the vehicle.
sourcepub fn status(&self) -> Option<&VehicleState>
pub fn status(&self) -> Option<&VehicleState>
The state of a vehicle, which can be one of the following:
-
CREATED- Amazon Web Services IoT FleetWise sucessfully created the vehicle. -
READY- The vehicle is ready to receive a campaign deployment. -
HEALTHY- A campaign deployment was delivered to the vehicle. -
SUSPENDED- A campaign associated with the vehicle was suspended and data collection was paused. -
DELETING- Amazon Web Services IoT FleetWise is removing a campaign from the vehicle.
source§impl VehicleStatus
impl VehicleStatus
sourcepub fn builder() -> VehicleStatusBuilder
pub fn builder() -> VehicleStatusBuilder
Creates a new builder-style object to manufacture VehicleStatus.
Trait Implementations§
source§impl Clone for VehicleStatus
impl Clone for VehicleStatus
source§fn clone(&self) -> VehicleStatus
fn clone(&self) -> VehicleStatus
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 VehicleStatus
impl Debug for VehicleStatus
source§impl PartialEq<VehicleStatus> for VehicleStatus
impl PartialEq<VehicleStatus> for VehicleStatus
source§fn eq(&self, other: &VehicleStatus) -> bool
fn eq(&self, other: &VehicleStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VehicleStatus
Auto Trait Implementations§
impl RefUnwindSafe for VehicleStatus
impl Send for VehicleStatus
impl Sync for VehicleStatus
impl Unpin for VehicleStatus
impl UnwindSafe for VehicleStatus
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