Struct aws_sdk_b2bi::operation::get_capability::GetCapabilityOutput
source · #[non_exhaustive]pub struct GetCapabilityOutput {
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,
pub modified_at: Option<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: StringReturns a system-assigned unique identifier for the capability.
capability_arn: StringReturns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
name: StringReturns the name of the capability, used to identify it.
type: CapabilityTypeReturns 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: DateTimeReturns a timestamp for creation date and time of the capability.
modified_at: Option<DateTime>Returns a timestamp for last time the capability was modified.
Implementations§
source§impl GetCapabilityOutput
impl GetCapabilityOutput
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.
sourcepub fn modified_at(&self) -> Option<&DateTime>
pub fn modified_at(&self) -> Option<&DateTime>
Returns a timestamp for last time the capability was modified.
source§impl GetCapabilityOutput
impl GetCapabilityOutput
sourcepub fn builder() -> GetCapabilityOutputBuilder
pub fn builder() -> GetCapabilityOutputBuilder
Creates a new builder-style object to manufacture GetCapabilityOutput.
Trait Implementations§
source§impl Clone for GetCapabilityOutput
impl Clone for GetCapabilityOutput
source§fn clone(&self) -> GetCapabilityOutput
fn clone(&self) -> GetCapabilityOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetCapabilityOutput
impl Debug for GetCapabilityOutput
source§impl PartialEq for GetCapabilityOutput
impl PartialEq for GetCapabilityOutput
source§fn eq(&self, other: &GetCapabilityOutput) -> bool
fn eq(&self, other: &GetCapabilityOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetCapabilityOutput
impl RequestId for GetCapabilityOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetCapabilityOutput
Auto Trait Implementations§
impl Freeze for GetCapabilityOutput
impl RefUnwindSafe for GetCapabilityOutput
impl Send for GetCapabilityOutput
impl Sync for GetCapabilityOutput
impl Unpin for GetCapabilityOutput
impl UnwindSafe for GetCapabilityOutput
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