pub struct UpdateWebhookRequest {
pub data: WebhookUpdateRequest,
pub opt_fields: Option<Vec<String>>,
pub opt_pretty: Option<bool>,
pub webhook_gid: String,
}
Expand description
You should use this struct via AsanaClient::update_webhook
.
On request success, this will return a UpdateWebhookResponse
.
Fields§
§data: WebhookUpdateRequest
§opt_fields: Option<Vec<String>>
§opt_pretty: Option<bool>
§webhook_gid: String
Trait Implementations§
Source§impl Clone for UpdateWebhookRequest
impl Clone for UpdateWebhookRequest
Source§fn clone(&self) -> UpdateWebhookRequest
fn clone(&self) -> UpdateWebhookRequest
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 UpdateWebhookRequest
impl Debug for UpdateWebhookRequest
Source§impl<'de> Deserialize<'de> for UpdateWebhookRequest
impl<'de> Deserialize<'de> for UpdateWebhookRequest
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 UpdateWebhookRequest
impl RefUnwindSafe for UpdateWebhookRequest
impl Send for UpdateWebhookRequest
impl Sync for UpdateWebhookRequest
impl Unpin for UpdateWebhookRequest
impl UnwindSafe for UpdateWebhookRequest
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