pub struct DatabasesListKafkaSchemasResponse {
pub subjects: Vec<DatabasesListKafkaSchemasResponseSubjectsItem>,
}Expand description
DatabasesListKafkaSchemasResponse
JSON schema
{
"properties": {
"subjects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"schema": {
"description": "The schema definition in the specified format.",
"examples": [
"{\n \"type\": \"record\",\n \"name\": \"Customer\",\n \"fields\": [ \n {\"name\": \"id\", \"type\": \"int\"},\n {\"name\": \"name\", \"type\": \"string\"}\n ]\n} "
],
"type": "string"
},
"schema_id": {
"description": "The id for schema.",
"examples": [
12345
],
"type": "integer"
},
"schema_type": {
"description": "The type of the schema.",
"examples": [
"AVRO"
],
"type": "string",
"enum": [
"AVRO",
"JSON",
"PROTOBUF"
]
},
"subject_name": {
"description": "The name of the schema subject.",
"examples": [
"customer-schema"
],
"type": "string"
}
}
}
}
}
}Fields§
§subjects: Vec<DatabasesListKafkaSchemasResponseSubjectsItem>Trait Implementations§
Source§impl Clone for DatabasesListKafkaSchemasResponse
impl Clone for DatabasesListKafkaSchemasResponse
Source§fn clone(&self) -> DatabasesListKafkaSchemasResponse
fn clone(&self) -> DatabasesListKafkaSchemasResponse
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<'de> Deserialize<'de> for DatabasesListKafkaSchemasResponse
impl<'de> Deserialize<'de> for DatabasesListKafkaSchemasResponse
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
Source§impl From<&DatabasesListKafkaSchemasResponse> for DatabasesListKafkaSchemasResponse
impl From<&DatabasesListKafkaSchemasResponse> for DatabasesListKafkaSchemasResponse
Source§fn from(value: &DatabasesListKafkaSchemasResponse) -> Self
fn from(value: &DatabasesListKafkaSchemasResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatabasesListKafkaSchemasResponse
impl RefUnwindSafe for DatabasesListKafkaSchemasResponse
impl Send for DatabasesListKafkaSchemasResponse
impl Sync for DatabasesListKafkaSchemasResponse
impl Unpin for DatabasesListKafkaSchemasResponse
impl UnsafeUnpin for DatabasesListKafkaSchemasResponse
impl UnwindSafe for DatabasesListKafkaSchemasResponse
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