#[non_exhaustive]pub struct CreateSchemaInput {
pub name: Option<String>,
pub schema: Option<String>,
pub domain: Option<Domain>,
}
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.name: Option<String>
The name for the schema.
schema: Option<String>
A schema in Avro JSON format.
domain: Option<Domain>
The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.
Implementations§
source§impl CreateSchemaInput
impl CreateSchemaInput
sourcepub fn builder() -> CreateSchemaInputBuilder
pub fn builder() -> CreateSchemaInputBuilder
Creates a new builder-style object to manufacture CreateSchemaInput
.
Trait Implementations§
source§impl Clone for CreateSchemaInput
impl Clone for CreateSchemaInput
source§fn clone(&self) -> CreateSchemaInput
fn clone(&self) -> CreateSchemaInput
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 CreateSchemaInput
impl Debug for CreateSchemaInput
source§impl PartialEq for CreateSchemaInput
impl PartialEq for CreateSchemaInput
source§fn eq(&self, other: &CreateSchemaInput) -> bool
fn eq(&self, other: &CreateSchemaInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSchemaInput
Auto Trait Implementations§
impl Freeze for CreateSchemaInput
impl RefUnwindSafe for CreateSchemaInput
impl Send for CreateSchemaInput
impl Sync for CreateSchemaInput
impl Unpin for CreateSchemaInput
impl UnwindSafe for CreateSchemaInput
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>
Creates a shared type from an unshared type.