pub struct Schema {
pub description: Option<String>,
pub display_name: Option<String>,
pub format: Option<Format>,
pub hash: Option<String>,
pub name: Option<String>,
pub namespace: Option<String>,
pub schema_content: Option<String>,
pub schema_type: Option<SchemaType>,
pub tags: Option<HashMap<String, String>>,
pub version: Option<String>,
}
Expand description
Schema object
Fields§
§description: Option<String>
Human-readable description of the schema.
display_name: Option<String>
Human-readable display name.
format: Option<Format>
Format of the schema.
hash: Option<String>
Hash of the schema content.
name: Option<String>
Schema name.
namespace: Option<String>
Schema registry namespace. Uniquely identifies a schema registry within a tenant.
schema_content: Option<String>
Content stored in the schema.
schema_type: Option<SchemaType>
Type of the schema.
Schema tags.
version: Option<String>
Version of the schema. Allowed between 0-9.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Schema
impl<'de> Deserialize<'de> for Schema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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