#[non_exhaustive]pub struct UpdateTransformerInput {
pub transformer_id: Option<String>,
pub name: Option<String>,
pub file_format: Option<FileFormat>,
pub mapping_template: Option<String>,
pub status: Option<TransformerStatus>,
pub edi_type: Option<EdiType>,
pub sample_document: 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.transformer_id: Option<String>Specifies the system-assigned unique identifier for the transformer.
name: Option<String>Specify a new name for the transformer, if you want to update it.
file_format: Option<FileFormat>Specifies that the currently supported file formats for EDI transformations are JSON and XML.
mapping_template: Option<String>Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
status: Option<TransformerStatus>Specifies the transformer's status. You can update the state of the transformer, from active to inactive, or inactive to active.
edi_type: Option<EdiType>Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
sample_document: Option<String>Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.
Implementations§
source§impl UpdateTransformerInput
impl UpdateTransformerInput
sourcepub fn transformer_id(&self) -> Option<&str>
pub fn transformer_id(&self) -> Option<&str>
Specifies the system-assigned unique identifier for the transformer.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Specify a new name for the transformer, if you want to update it.
sourcepub fn file_format(&self) -> Option<&FileFormat>
pub fn file_format(&self) -> Option<&FileFormat>
Specifies that the currently supported file formats for EDI transformations are JSON and XML.
sourcepub fn mapping_template(&self) -> Option<&str>
pub fn mapping_template(&self) -> Option<&str>
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
sourcepub fn status(&self) -> Option<&TransformerStatus>
pub fn status(&self) -> Option<&TransformerStatus>
Specifies the transformer's status. You can update the state of the transformer, from active to inactive, or inactive to active.
sourcepub fn edi_type(&self) -> Option<&EdiType>
pub fn edi_type(&self) -> Option<&EdiType>
Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
sourcepub fn sample_document(&self) -> Option<&str>
pub fn sample_document(&self) -> Option<&str>
Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.
source§impl UpdateTransformerInput
impl UpdateTransformerInput
sourcepub fn builder() -> UpdateTransformerInputBuilder
pub fn builder() -> UpdateTransformerInputBuilder
Creates a new builder-style object to manufacture UpdateTransformerInput.
Trait Implementations§
source§impl Clone for UpdateTransformerInput
impl Clone for UpdateTransformerInput
source§fn clone(&self) -> UpdateTransformerInput
fn clone(&self) -> UpdateTransformerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateTransformerInput
impl Debug for UpdateTransformerInput
source§impl PartialEq for UpdateTransformerInput
impl PartialEq for UpdateTransformerInput
source§fn eq(&self, other: &UpdateTransformerInput) -> bool
fn eq(&self, other: &UpdateTransformerInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateTransformerInput
Auto Trait Implementations§
impl Freeze for UpdateTransformerInput
impl RefUnwindSafe for UpdateTransformerInput
impl Send for UpdateTransformerInput
impl Sync for UpdateTransformerInput
impl Unpin for UpdateTransformerInput
impl UnwindSafe for UpdateTransformerInput
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