pub struct UpdateWebhookSubscriptionRequest {
pub callback_url: Option<String>,
pub data_type: Option<ExtApiV2DataType>,
pub event_type: Option<WebhookOperation>,
pub verification_token: String,
}Expand description
UpdateWebhookSubscriptionRequest
JSON schema
{
"title": "UpdateWebhookSubscriptionRequest",
"type": "object",
"required": [
"verification_token"
],
"properties": {
"callback_url": {
"title": "Callback Url",
"type": [
"string",
"null"
]
},
"data_type": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/ExtApiV2DataType"
}
]
}
]
},
"event_type": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/WebhookOperation"
}
]
}
]
},
"verification_token": {
"title": "Verification Token",
"type": "string"
}
}
}Fields§
§callback_url: Option<String>§data_type: Option<ExtApiV2DataType>§event_type: Option<WebhookOperation>§verification_token: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for UpdateWebhookSubscriptionRequest
impl<'de> Deserialize<'de> for UpdateWebhookSubscriptionRequest
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 UpdateWebhookSubscriptionRequest
impl RefUnwindSafe for UpdateWebhookSubscriptionRequest
impl Send for UpdateWebhookSubscriptionRequest
impl Sync for UpdateWebhookSubscriptionRequest
impl Unpin for UpdateWebhookSubscriptionRequest
impl UnsafeUnpin for UpdateWebhookSubscriptionRequest
impl UnwindSafe for UpdateWebhookSubscriptionRequest
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