pub struct ApiHttpSinkConfig {
pub auth: Option<ApiAuthConfig>,
pub headers: Option<HashMap<String, String>>,
pub method: Option<String>,
pub retry_count: Option<i32>,
pub timeout_secs: Option<i64>,
pub url: String,
}Expand description
ApiHttpSinkConfig
JSON schema
{
"type": "object",
"required": [
"url"
],
"properties": {
"auth": {
"$ref": "#/components/schemas/ApiAuthConfig"
},
"headers": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "string"
}
},
"method": {
"type": [
"string",
"null"
]
},
"retry_count": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"timeout_secs": {
"type": [
"integer",
"null"
],
"format": "int64",
"minimum": 0.0
},
"url": {
"type": "string"
}
}
}Fields§
§auth: Option<ApiAuthConfig>§headers: Option<HashMap<String, String>>§method: Option<String>§retry_count: Option<i32>§timeout_secs: Option<i64>§url: StringTrait Implementations§
Source§impl Clone for ApiHttpSinkConfig
impl Clone for ApiHttpSinkConfig
Source§fn clone(&self) -> ApiHttpSinkConfig
fn clone(&self) -> ApiHttpSinkConfig
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 ApiHttpSinkConfig
impl Debug for ApiHttpSinkConfig
Source§impl<'de> Deserialize<'de> for ApiHttpSinkConfig
impl<'de> Deserialize<'de> for ApiHttpSinkConfig
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<ApiHttpSinkConfig> for ApiSinkConfig
impl From<ApiHttpSinkConfig> for ApiSinkConfig
Source§fn from(value: ApiHttpSinkConfig) -> Self
fn from(value: ApiHttpSinkConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApiHttpSinkConfig
impl RefUnwindSafe for ApiHttpSinkConfig
impl Send for ApiHttpSinkConfig
impl Sync for ApiHttpSinkConfig
impl Unpin for ApiHttpSinkConfig
impl UnsafeUnpin for ApiHttpSinkConfig
impl UnwindSafe for ApiHttpSinkConfig
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