#[non_exhaustive]pub struct UpdateSchemaMappingInput {
pub schema_name: Option<String>,
pub description: Option<String>,
pub mapped_input_fields: Option<Vec<SchemaInputAttribute>>,
}
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.
Implementations§
source§impl UpdateSchemaMappingInput
impl UpdateSchemaMappingInput
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()
.
source§impl UpdateSchemaMappingInput
impl UpdateSchemaMappingInput
sourcepub fn builder() -> UpdateSchemaMappingInputBuilder
pub fn builder() -> UpdateSchemaMappingInputBuilder
Creates a new builder-style object to manufacture UpdateSchemaMappingInput
.
Trait Implementations§
source§impl Clone for UpdateSchemaMappingInput
impl Clone for UpdateSchemaMappingInput
source§fn clone(&self) -> UpdateSchemaMappingInput
fn clone(&self) -> UpdateSchemaMappingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateSchemaMappingInput
impl Debug for UpdateSchemaMappingInput
source§impl PartialEq for UpdateSchemaMappingInput
impl PartialEq for UpdateSchemaMappingInput
source§fn eq(&self, other: &UpdateSchemaMappingInput) -> bool
fn eq(&self, other: &UpdateSchemaMappingInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSchemaMappingInput
Auto Trait Implementations§
impl Freeze for UpdateSchemaMappingInput
impl RefUnwindSafe for UpdateSchemaMappingInput
impl Send for UpdateSchemaMappingInput
impl Sync for UpdateSchemaMappingInput
impl Unpin for UpdateSchemaMappingInput
impl UnwindSafe for UpdateSchemaMappingInput
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