Struct asana::models::webhook_compact::WebhookCompact
source · [−]pub struct WebhookCompact {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub active: Option<bool>,
pub resource: Option<Box<AsanaNamedResource>>,
pub target: Option<String>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
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 WebhookCompact
impl WebhookCompact
pub fn new() -> WebhookCompact
Trait Implementations
sourceimpl Clone for WebhookCompact
impl Clone for WebhookCompact
sourcefn clone(&self) -> WebhookCompact
fn clone(&self) -> WebhookCompact
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 WebhookCompact
impl Debug for WebhookCompact
sourceimpl<'de> Deserialize<'de> for WebhookCompact
impl<'de> Deserialize<'de> for WebhookCompact
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<WebhookCompact> for WebhookCompact
impl PartialEq<WebhookCompact> for WebhookCompact
sourcefn eq(&self, other: &WebhookCompact) -> bool
fn eq(&self, other: &WebhookCompact) -> bool
sourceimpl Serialize for WebhookCompact
impl Serialize for WebhookCompact
impl StructuralPartialEq for WebhookCompact
Auto Trait Implementations
impl RefUnwindSafe for WebhookCompact
impl Send for WebhookCompact
impl Sync for WebhookCompact
impl Unpin for WebhookCompact
impl UnwindSafe for WebhookCompact
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