#[non_exhaustive]pub struct CreateProfileInput {
pub as2_id: Option<String>,
pub profile_type: Option<ProfileType>,
pub certificate_ids: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}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.as2_id: Option<String>The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.
profile_type: Option<ProfileType>Determines the type of profile to create:
-
Specify
LOCALto create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party. -
Specify
PARTNERto create a partner profile. A partner profile represents a remote organization, external to Transfer Family.
certificate_ids: Option<Vec<String>>An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
Key-value pairs that can be used to group and search for AS2 profiles.
Implementations§
source§impl CreateProfileInput
impl CreateProfileInput
sourcepub fn as2_id(&self) -> Option<&str>
pub fn as2_id(&self) -> Option<&str>
The As2Id is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To header for the AS2 messages sent to the partner using the StartFileTransfer API operation. This ID cannot include spaces.
sourcepub fn profile_type(&self) -> Option<&ProfileType>
pub fn profile_type(&self) -> Option<&ProfileType>
Determines the type of profile to create:
-
Specify
LOCALto create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party. -
Specify
PARTNERto create a partner profile. A partner profile represents a remote organization, external to Transfer Family.
sourcepub fn certificate_ids(&self) -> &[String]
pub fn certificate_ids(&self) -> &[String]
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .certificate_ids.is_none().
Key-value pairs that can be used to group and search for AS2 profiles.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateProfileInput
impl CreateProfileInput
sourcepub fn builder() -> CreateProfileInputBuilder
pub fn builder() -> CreateProfileInputBuilder
Creates a new builder-style object to manufacture CreateProfileInput.
Trait Implementations§
source§impl Clone for CreateProfileInput
impl Clone for CreateProfileInput
source§fn clone(&self) -> CreateProfileInput
fn clone(&self) -> CreateProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateProfileInput
impl Debug for CreateProfileInput
source§impl PartialEq for CreateProfileInput
impl PartialEq for CreateProfileInput
impl StructuralPartialEq for CreateProfileInput
Auto Trait Implementations§
impl Freeze for CreateProfileInput
impl RefUnwindSafe for CreateProfileInput
impl Send for CreateProfileInput
impl Sync for CreateProfileInput
impl Unpin for CreateProfileInput
impl UnwindSafe for CreateProfileInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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