Struct aws_sdk_transfer::types::ListedAgreement
source · #[non_exhaustive]pub struct ListedAgreement {
pub arn: Option<String>,
pub agreement_id: Option<String>,
pub description: Option<String>,
pub status: Option<AgreementStatusType>,
pub server_id: Option<String>,
pub local_profile_id: Option<String>,
pub partner_profile_id: Option<String>,
}
Expand description
Describes the properties of an agreement.
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 specified agreement.
agreement_id: Option<String>
A unique identifier for the agreement. This identifier is returned when you create an agreement.
description: Option<String>
The current description for the agreement. You can change it by calling the UpdateAgreement
operation and providing a new description.
status: Option<AgreementStatusType>
The agreement can be either ACTIVE
or INACTIVE
.
server_id: Option<String>
The unique identifier for the agreement.
local_profile_id: Option<String>
A unique identifier for the AS2 local profile.
partner_profile_id: Option<String>
A unique identifier for the partner profile.
Implementations§
source§impl ListedAgreement
impl ListedAgreement
sourcepub fn agreement_id(&self) -> Option<&str>
pub fn agreement_id(&self) -> Option<&str>
A unique identifier for the agreement. This identifier is returned when you create an agreement.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The current description for the agreement. You can change it by calling the UpdateAgreement
operation and providing a new description.
sourcepub fn status(&self) -> Option<&AgreementStatusType>
pub fn status(&self) -> Option<&AgreementStatusType>
The agreement can be either ACTIVE
or INACTIVE
.
sourcepub fn local_profile_id(&self) -> Option<&str>
pub fn local_profile_id(&self) -> Option<&str>
A unique identifier for the AS2 local profile.
sourcepub fn partner_profile_id(&self) -> Option<&str>
pub fn partner_profile_id(&self) -> Option<&str>
A unique identifier for the partner profile.
source§impl ListedAgreement
impl ListedAgreement
sourcepub fn builder() -> ListedAgreementBuilder
pub fn builder() -> ListedAgreementBuilder
Creates a new builder-style object to manufacture ListedAgreement
.
Trait Implementations§
source§impl Clone for ListedAgreement
impl Clone for ListedAgreement
source§fn clone(&self) -> ListedAgreement
fn clone(&self) -> ListedAgreement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListedAgreement
impl Debug for ListedAgreement
source§impl PartialEq for ListedAgreement
impl PartialEq for ListedAgreement
source§fn eq(&self, other: &ListedAgreement) -> bool
fn eq(&self, other: &ListedAgreement) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListedAgreement
Auto Trait Implementations§
impl Freeze for ListedAgreement
impl RefUnwindSafe for ListedAgreement
impl Send for ListedAgreement
impl Sync for ListedAgreement
impl Unpin for ListedAgreement
impl UnwindSafe for ListedAgreement
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