pub struct Schema {
pub description: Option<String>,
pub display_name: Option<String>,
pub format: Format,
pub hash: Option<String>,
pub name: String,
pub namespace: String,
pub schema_content: String,
pub schema_type: SchemaType,
pub tags: HashMap<String, String>,
pub version: String,
}Expand description
Schema object
Fields§
§description: Option<String>Human-readable description of the schema.
display_name: Option<String>Human-readable display name.
format: FormatFormat of the schema.
hash: Option<String>Hash of the schema content.
name: StringSchema name.
namespace: StringSchema registry namespace. Uniquely identifies a schema registry within a tenant.
schema_content: StringContent stored in the schema.
schema_type: SchemaTypeType of the schema.
Schema tags.
version: StringVersion of the schema. Allowed between 0-9.
Trait Implementations§
impl Eq for Schema
impl StructuralPartialEq for Schema
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
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