pub struct RegisterSchemaSettings {
pub schema_registry: SchemaRegistrySettings,
pub subject: Option<SubjectName>,
pub normalize: bool,
pub path: PathBuf,
}Expand description
Register a schema to a subject
Fields§
§schema_registry: SchemaRegistrySettingsThe schema registry
subject: Option<SubjectName>The subject name, by default we use the file name
normalize: boolNormalize the schema
path: PathBufThe schema file
Trait Implementations§
Source§impl Args for RegisterSchemaSettings
impl Args for RegisterSchemaSettings
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for RegisterSchemaSettings
impl Clone for RegisterSchemaSettings
Source§fn clone(&self) -> RegisterSchemaSettings
fn clone(&self) -> RegisterSchemaSettings
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 RegisterSchemaSettings
impl Debug for RegisterSchemaSettings
Source§impl FromArgMatches for RegisterSchemaSettings
impl FromArgMatches for RegisterSchemaSettings
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl PartialEq for RegisterSchemaSettings
impl PartialEq for RegisterSchemaSettings
impl StructuralPartialEq for RegisterSchemaSettings
Auto Trait Implementations§
impl Freeze for RegisterSchemaSettings
impl RefUnwindSafe for RegisterSchemaSettings
impl Send for RegisterSchemaSettings
impl Sync for RegisterSchemaSettings
impl Unpin for RegisterSchemaSettings
impl UnwindSafe for RegisterSchemaSettings
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