Struct aws_sdk_iotsitewise::operation::batch_associate_project_assets::BatchAssociateProjectAssetsInput
source · #[non_exhaustive]pub struct BatchAssociateProjectAssetsInput {
pub project_id: Option<String>,
pub asset_ids: Option<Vec<String>>,
pub client_token: Option<String>,
}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.project_id: Option<String>The ID of the project to which to associate the assets.
asset_ids: Option<Vec<String>>The IDs of the assets to be associated to the project.
client_token: Option<String>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
Implementations§
source§impl BatchAssociateProjectAssetsInput
impl BatchAssociateProjectAssetsInput
sourcepub fn project_id(&self) -> Option<&str>
pub fn project_id(&self) -> Option<&str>
The ID of the project to which to associate the assets.
sourcepub fn asset_ids(&self) -> &[String]
pub fn asset_ids(&self) -> &[String]
The IDs of the assets to be associated to the project.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .asset_ids.is_none().
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
source§impl BatchAssociateProjectAssetsInput
impl BatchAssociateProjectAssetsInput
sourcepub fn builder() -> BatchAssociateProjectAssetsInputBuilder
pub fn builder() -> BatchAssociateProjectAssetsInputBuilder
Creates a new builder-style object to manufacture BatchAssociateProjectAssetsInput.
Trait Implementations§
source§impl Clone for BatchAssociateProjectAssetsInput
impl Clone for BatchAssociateProjectAssetsInput
source§fn clone(&self) -> BatchAssociateProjectAssetsInput
fn clone(&self) -> BatchAssociateProjectAssetsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchAssociateProjectAssetsInput
impl PartialEq for BatchAssociateProjectAssetsInput
source§fn eq(&self, other: &BatchAssociateProjectAssetsInput) -> bool
fn eq(&self, other: &BatchAssociateProjectAssetsInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchAssociateProjectAssetsInput
Auto Trait Implementations§
impl Freeze for BatchAssociateProjectAssetsInput
impl RefUnwindSafe for BatchAssociateProjectAssetsInput
impl Send for BatchAssociateProjectAssetsInput
impl Sync for BatchAssociateProjectAssetsInput
impl Unpin for BatchAssociateProjectAssetsInput
impl UnwindSafe for BatchAssociateProjectAssetsInput
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