pub struct ApiMysqlSinkConfig {
pub dsn: String,
pub table: String,
}Expand description
ApiMysqlSinkConfig
JSON schema
{
"type": "object",
"required": [
"dsn",
"table"
],
"properties": {
"dsn": {
"type": "string"
},
"table": {
"type": "string"
}
}
}Fields§
§dsn: String§table: StringTrait Implementations§
Source§impl Clone for ApiMysqlSinkConfig
impl Clone for ApiMysqlSinkConfig
Source§fn clone(&self) -> ApiMysqlSinkConfig
fn clone(&self) -> ApiMysqlSinkConfig
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 ApiMysqlSinkConfig
impl Debug for ApiMysqlSinkConfig
Source§impl<'de> Deserialize<'de> for ApiMysqlSinkConfig
impl<'de> Deserialize<'de> for ApiMysqlSinkConfig
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<ApiMysqlSinkConfig> for ApiSinkConfig
impl From<ApiMysqlSinkConfig> for ApiSinkConfig
Source§fn from(value: ApiMysqlSinkConfig) -> Self
fn from(value: ApiMysqlSinkConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApiMysqlSinkConfig
impl RefUnwindSafe for ApiMysqlSinkConfig
impl Send for ApiMysqlSinkConfig
impl Sync for ApiMysqlSinkConfig
impl Unpin for ApiMysqlSinkConfig
impl UnsafeUnpin for ApiMysqlSinkConfig
impl UnwindSafe for ApiMysqlSinkConfig
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