#[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.impl StructuralPartialEq for UpdateCampaignOutput
Auto Trait Implementations§
impl Freeze for UpdateCampaignOutput
impl RefUnwindSafe for UpdateCampaignOutput
impl Send for UpdateCampaignOutput
impl Sync for UpdateCampaignOutput
impl Unpin for UpdateCampaignOutput
impl UnwindSafe for UpdateCampaignOutput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more