Struct aws_sdk_b2bi::operation::test_mapping::TestMappingInput
source · #[non_exhaustive]pub struct TestMappingInput {
pub input_file_content: Option<String>,
pub mapping_template: Option<String>,
pub file_format: Option<FileFormat>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.input_file_content: Option<String>Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.
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.
file_format: Option<FileFormat>Specifies that the currently supported file formats for EDI transformations are JSON and XML.
Implementations§
source§impl TestMappingInput
impl TestMappingInput
sourcepub fn input_file_content(&self) -> Option<&str>
pub fn input_file_content(&self) -> Option<&str>
Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.
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 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.
source§impl TestMappingInput
impl TestMappingInput
sourcepub fn builder() -> TestMappingInputBuilder
pub fn builder() -> TestMappingInputBuilder
Creates a new builder-style object to manufacture TestMappingInput.
Trait Implementations§
source§impl Clone for TestMappingInput
impl Clone for TestMappingInput
source§fn clone(&self) -> TestMappingInput
fn clone(&self) -> TestMappingInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TestMappingInput
impl Debug for TestMappingInput
source§impl PartialEq for TestMappingInput
impl PartialEq for TestMappingInput
source§fn eq(&self, other: &TestMappingInput) -> bool
fn eq(&self, other: &TestMappingInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestMappingInput
Auto Trait Implementations§
impl Freeze for TestMappingInput
impl RefUnwindSafe for TestMappingInput
impl Send for TestMappingInput
impl Sync for TestMappingInput
impl Unpin for TestMappingInput
impl UnwindSafe for TestMappingInput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.