Struct asana::models::webhook_compact_all_of::WebhookCompactAllOf
source · [−]pub struct WebhookCompactAllOf {
pub active: Option<bool>,
pub resource: Option<Box<AsanaNamedResource>>,
pub target: Option<String>,
}
Expand description
WebhookCompactAllOf : Webhook objects represent the state of an active subscription for a server to be updated with information from Asana. This schema represents the subscription itself, not the objects that are sent to the server. For information on those please refer to the Event schema.
Fields
active: Option<bool>
If true, the webhook will send events - if false it is considered inactive and will not generate events.
resource: Option<Box<AsanaNamedResource>>
target: Option<String>
The URL to receive the HTTP POST.
Implementations
sourceimpl WebhookCompactAllOf
impl WebhookCompactAllOf
sourcepub fn new() -> WebhookCompactAllOf
pub fn new() -> WebhookCompactAllOf
Webhook objects represent the state of an active subscription for a server to be updated with information from Asana. This schema represents the subscription itself, not the objects that are sent to the server. For information on those please refer to the Event schema.
Trait Implementations
sourceimpl Clone for WebhookCompactAllOf
impl Clone for WebhookCompactAllOf
sourcefn clone(&self) -> WebhookCompactAllOf
fn clone(&self) -> WebhookCompactAllOf
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WebhookCompactAllOf
impl Debug for WebhookCompactAllOf
sourceimpl<'de> Deserialize<'de> for WebhookCompactAllOf
impl<'de> Deserialize<'de> for WebhookCompactAllOf
sourcefn 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
sourceimpl PartialEq<WebhookCompactAllOf> for WebhookCompactAllOf
impl PartialEq<WebhookCompactAllOf> for WebhookCompactAllOf
sourcefn eq(&self, other: &WebhookCompactAllOf) -> bool
fn eq(&self, other: &WebhookCompactAllOf) -> bool
sourceimpl Serialize for WebhookCompactAllOf
impl Serialize for WebhookCompactAllOf
impl StructuralPartialEq for WebhookCompactAllOf
Auto Trait Implementations
impl RefUnwindSafe for WebhookCompactAllOf
impl Send for WebhookCompactAllOf
impl Sync for WebhookCompactAllOf
impl Unpin for WebhookCompactAllOf
impl UnwindSafe for WebhookCompactAllOf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more