#[non_exhaustive]pub struct CreateSchemaMappingInput {
pub schema_name: Option<String>,
pub description: Option<String>,
pub mapped_input_fields: Option<Vec<SchemaInputAttribute>>,
pub tags: Option<HashMap<String, 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.schema_name: Option<String>
The name of the schema. There can't be multiple SchemaMappings
with the same name.
description: Option<String>
A description of the schema.
mapped_input_fields: Option<Vec<SchemaInputAttribute>>
A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.
The tags used to organize, track, or control access for this resource.
Implementations§
source§impl CreateSchemaMappingInput
impl CreateSchemaMappingInput
sourcepub fn schema_name(&self) -> Option<&str>
pub fn schema_name(&self) -> Option<&str>
The name of the schema. There can't be multiple SchemaMappings
with the same name.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the schema.
sourcepub fn mapped_input_fields(&self) -> &[SchemaInputAttribute]
pub fn mapped_input_fields(&self) -> &[SchemaInputAttribute]
A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .mapped_input_fields.is_none()
.
The tags used to organize, track, or control access for this resource.
source§impl CreateSchemaMappingInput
impl CreateSchemaMappingInput
sourcepub fn builder() -> CreateSchemaMappingInputBuilder
pub fn builder() -> CreateSchemaMappingInputBuilder
Creates a new builder-style object to manufacture CreateSchemaMappingInput
.
Trait Implementations§
source§impl Clone for CreateSchemaMappingInput
impl Clone for CreateSchemaMappingInput
source§fn clone(&self) -> CreateSchemaMappingInput
fn clone(&self) -> CreateSchemaMappingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSchemaMappingInput
impl Debug for CreateSchemaMappingInput
source§impl PartialEq for CreateSchemaMappingInput
impl PartialEq for CreateSchemaMappingInput
source§fn eq(&self, other: &CreateSchemaMappingInput) -> bool
fn eq(&self, other: &CreateSchemaMappingInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSchemaMappingInput
Auto Trait Implementations§
impl Freeze for CreateSchemaMappingInput
impl RefUnwindSafe for CreateSchemaMappingInput
impl Send for CreateSchemaMappingInput
impl Sync for CreateSchemaMappingInput
impl Unpin for CreateSchemaMappingInput
impl UnwindSafe for CreateSchemaMappingInput
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