pub struct PutSchemaRequest {
pub description: Option<String>,
pub display_name: Option<String>,
pub format: Format,
pub schema_content: String,
pub schema_type: SchemaType,
pub tags: HashMap<String, String>,
pub version: String,
}
Expand description
Request to put a schema in the schema registry.
Fields§
§description: Option<String>
Human-readable description of the schema.
display_name: Option<String>
Human-readable display name.
format: Format
The format of the schema.
schema_content: String
Content stored in the schema.
schema_type: SchemaType
Type of the schema.
Schema tags.
version: String
Version of the schema. Allowed between 0-9.
Trait Implementations§
Source§impl Clone for PutSchemaRequest
impl Clone for PutSchemaRequest
Source§fn clone(&self) -> PutSchemaRequest
fn clone(&self) -> PutSchemaRequest
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 PutSchemaRequest
impl Debug for PutSchemaRequest
Source§impl PartialEq for PutSchemaRequest
impl PartialEq for PutSchemaRequest
impl Eq for PutSchemaRequest
impl StructuralPartialEq for PutSchemaRequest
Auto Trait Implementations§
impl Freeze for PutSchemaRequest
impl RefUnwindSafe for PutSchemaRequest
impl Send for PutSchemaRequest
impl Sync for PutSchemaRequest
impl Unpin for PutSchemaRequest
impl UnwindSafe for PutSchemaRequest
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