#[non_exhaustive]pub struct UpdateCampaignOutput {
pub arn: Option<String>,
pub name: Option<String>,
pub status: Option<CampaignStatus>,
/* 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.arn: Option<String>The Amazon Resource Name (ARN) of the campaign.
name: Option<String>The name of the updated campaign.
status: Option<CampaignStatus>The state of a campaign. The status can be one of:
-
CREATING- Amazon Web Services IoT FleetWise is processing your request to create the campaign. -
WAITING_FOR_APPROVAL- After a campaign is created, it enters theWAITING_FOR_APPROVALstate. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the API operation to approve the campaign. -
RUNNING- The campaign is active. -
SUSPENDED- The campaign is suspended. To resume the campaign, use the API operation.
Implementations§
source§impl UpdateCampaignOutput
impl UpdateCampaignOutput
sourcepub fn status(&self) -> Option<&CampaignStatus>
pub fn status(&self) -> Option<&CampaignStatus>
The state of a campaign. The status can be one of:
-
CREATING- Amazon Web Services IoT FleetWise is processing your request to create the campaign. -
WAITING_FOR_APPROVAL- After a campaign is created, it enters theWAITING_FOR_APPROVALstate. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the API operation to approve the campaign. -
RUNNING- The campaign is active. -
SUSPENDED- The campaign is suspended. To resume the campaign, use the API operation.
source§impl UpdateCampaignOutput
impl UpdateCampaignOutput
sourcepub fn builder() -> UpdateCampaignOutputBuilder
pub fn builder() -> UpdateCampaignOutputBuilder
Creates a new builder-style object to manufacture UpdateCampaignOutput.
Trait Implementations§
source§impl Clone for UpdateCampaignOutput
impl Clone for UpdateCampaignOutput
source§fn clone(&self) -> UpdateCampaignOutput
fn clone(&self) -> UpdateCampaignOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateCampaignOutput
impl Debug for UpdateCampaignOutput
source§impl PartialEq for UpdateCampaignOutput
impl PartialEq for UpdateCampaignOutput
source§fn eq(&self, other: &UpdateCampaignOutput) -> bool
fn eq(&self, other: &UpdateCampaignOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for UpdateCampaignOutput
impl RequestId for UpdateCampaignOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.