pub struct ApiKafkaSinkConfig {
pub auth: Option<ApiKafkaAuth>,
pub brokers: String,
pub created_change_type: Option<String>,
pub key_field: Option<String>,
pub key_format: Option<ApiKafkaKeyFormat>,
pub topic: String,
pub value_format: Option<ApiKafkaValueFormat>,
}Expand description
ApiKafkaSinkConfig
JSON schema
{
"type": "object",
"required": [
"brokers",
"topic"
],
"properties": {
"auth": {
"$ref": "#/components/schemas/ApiKafkaAuth"
},
"brokers": {
"type": "string"
},
"created_change_type": {
"type": [
"string",
"null"
]
},
"key_field": {
"type": [
"string",
"null"
]
},
"key_format": {
"$ref": "#/components/schemas/ApiKafkaKeyFormat"
},
"topic": {
"type": "string"
},
"value_format": {
"$ref": "#/components/schemas/ApiKafkaValueFormat"
}
}
}Fields§
§auth: Option<ApiKafkaAuth>§brokers: String§created_change_type: Option<String>§key_field: Option<String>§key_format: Option<ApiKafkaKeyFormat>§topic: String§value_format: Option<ApiKafkaValueFormat>Trait Implementations§
Source§impl Clone for ApiKafkaSinkConfig
impl Clone for ApiKafkaSinkConfig
Source§fn clone(&self) -> ApiKafkaSinkConfig
fn clone(&self) -> ApiKafkaSinkConfig
Returns a duplicate 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 ApiKafkaSinkConfig
impl Debug for ApiKafkaSinkConfig
Source§impl<'de> Deserialize<'de> for ApiKafkaSinkConfig
impl<'de> Deserialize<'de> for ApiKafkaSinkConfig
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<ApiKafkaSinkConfig> for ApiSinkConfig
impl From<ApiKafkaSinkConfig> for ApiSinkConfig
Source§fn from(value: ApiKafkaSinkConfig) -> Self
fn from(value: ApiKafkaSinkConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApiKafkaSinkConfig
impl RefUnwindSafe for ApiKafkaSinkConfig
impl Send for ApiKafkaSinkConfig
impl Sync for ApiKafkaSinkConfig
impl Unpin for ApiKafkaSinkConfig
impl UnsafeUnpin for ApiKafkaSinkConfig
impl UnwindSafe for ApiKafkaSinkConfig
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