pub struct PostSchemaPayload {
pub schema_type: String,
pub schema: String,
pub properties: HashMap<String, String>,
}Expand description
Java PostSchemaPayload — the request body for
AdminClient::schema_post and
AdminClient::schema_compatibility_check. The Java DTO has
(type, schema, properties); both keys travel as-is on the wire.
schema is the canonical-form blob for AVRO / JSON / PROTOBUF and
the protobuf descriptor for PROTOBUF_NATIVE.
Fields§
§schema_type: StringSchema type (AVRO / JSON / PROTOBUF / PROTOBUF_NATIVE /
KEY_VALUE / STRING / BYTES / …).
schema: StringSchema definition, encoded per the type axis.
properties: HashMap<String, String>User-defined per-schema properties.
Trait Implementations§
Source§impl Clone for PostSchemaPayload
impl Clone for PostSchemaPayload
Source§fn clone(&self) -> PostSchemaPayload
fn clone(&self) -> PostSchemaPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PostSchemaPayload
impl Debug for PostSchemaPayload
Source§impl Default for PostSchemaPayload
impl Default for PostSchemaPayload
Source§fn default() -> PostSchemaPayload
fn default() -> PostSchemaPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostSchemaPayloadwhere
PostSchemaPayload: Default,
impl<'de> Deserialize<'de> for PostSchemaPayloadwhere
PostSchemaPayload: Default,
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 PostSchemaPayload
impl RefUnwindSafe for PostSchemaPayload
impl Send for PostSchemaPayload
impl Sync for PostSchemaPayload
impl Unpin for PostSchemaPayload
impl UnsafeUnpin for PostSchemaPayload
impl UnwindSafe for PostSchemaPayload
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