pub struct SchemaExportConfig { /* private fields */ }Expand description
Built-in pipelines that do not require extra feature flags. Export configuration derived from typed item schema metadata.
Implementations§
Source§impl SchemaExportConfig
impl SchemaExportConfig
pub fn new() -> SchemaExportConfig
pub fn with_field_alias( self, field_name: impl Into<String>, export_name: impl Into<String>, ) -> SchemaExportConfig
pub fn with_schema_version_field( self, field_name: impl Into<String>, ) -> SchemaExportConfig
pub fn inject_nulls_for_missing_optional( self, enabled: bool, ) -> SchemaExportConfig
pub fn export_name_for<'a>(&'a self, field_name: &'a str) -> &'a str
Trait Implementations§
Source§impl Clone for SchemaExportConfig
impl Clone for SchemaExportConfig
Source§fn clone(&self) -> SchemaExportConfig
fn clone(&self) -> SchemaExportConfig
Returns a duplicate 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 SchemaExportConfig
impl Debug for SchemaExportConfig
Source§impl Default for SchemaExportConfig
impl Default for SchemaExportConfig
Source§fn default() -> SchemaExportConfig
fn default() -> SchemaExportConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SchemaExportConfig
impl RefUnwindSafe for SchemaExportConfig
impl Send for SchemaExportConfig
impl Sync for SchemaExportConfig
impl Unpin for SchemaExportConfig
impl UnsafeUnpin for SchemaExportConfig
impl UnwindSafe for SchemaExportConfig
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