#[non_exhaustive]pub struct CreateCapabilityOutput {
pub capability_id: String,
pub capability_arn: String,
pub name: String,
pub type: CapabilityType,
pub configuration: Option<CapabilityConfiguration>,
pub instructions_documents: Option<Vec<S3Location>>,
pub created_at: DateTime,
/* 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.capability_id: String
Returns a system-assigned unique identifier for the capability.
capability_arn: String
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
name: String
Returns the name of the capability used to identify it.
type: CapabilityType
Returns the type of the capability. Currently, only edi
is supported.
configuration: Option<CapabilityConfiguration>
Returns a structure that contains the details for a capability.
instructions_documents: Option<Vec<S3Location>>
Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
created_at: DateTime
Returns a timestamp for creation date and time of the capability.
Implementations§
source§impl CreateCapabilityOutput
impl CreateCapabilityOutput
sourcepub fn capability_id(&self) -> &str
pub fn capability_id(&self) -> &str
Returns a system-assigned unique identifier for the capability.
sourcepub fn capability_arn(&self) -> &str
pub fn capability_arn(&self) -> &str
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
sourcepub fn type(&self) -> &CapabilityType
pub fn type(&self) -> &CapabilityType
Returns the type of the capability. Currently, only edi
is supported.
sourcepub fn configuration(&self) -> Option<&CapabilityConfiguration>
pub fn configuration(&self) -> Option<&CapabilityConfiguration>
Returns a structure that contains the details for a capability.
sourcepub fn instructions_documents(&self) -> &[S3Location]
pub fn instructions_documents(&self) -> &[S3Location]
Returns one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instructions_documents.is_none()
.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
Returns a timestamp for creation date and time of the capability.
source§impl CreateCapabilityOutput
impl CreateCapabilityOutput
sourcepub fn builder() -> CreateCapabilityOutputBuilder
pub fn builder() -> CreateCapabilityOutputBuilder
Creates a new builder-style object to manufacture CreateCapabilityOutput
.
Trait Implementations§
source§impl Clone for CreateCapabilityOutput
impl Clone for CreateCapabilityOutput
source§fn clone(&self) -> CreateCapabilityOutput
fn clone(&self) -> CreateCapabilityOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCapabilityOutput
impl Debug for CreateCapabilityOutput
source§impl PartialEq for CreateCapabilityOutput
impl PartialEq for CreateCapabilityOutput
source§fn eq(&self, other: &CreateCapabilityOutput) -> bool
fn eq(&self, other: &CreateCapabilityOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateCapabilityOutput
impl RequestId for CreateCapabilityOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateCapabilityOutput
Auto Trait Implementations§
impl Freeze for CreateCapabilityOutput
impl RefUnwindSafe for CreateCapabilityOutput
impl Send for CreateCapabilityOutput
impl Sync for CreateCapabilityOutput
impl Unpin for CreateCapabilityOutput
impl UnwindSafe for CreateCapabilityOutput
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