pub struct WebhookSafetyOrgAlertCreated {
pub id: String,
pub object: String,
pub created_at: u64,
pub data: WebhookSafetyOrgAlertCreatedData,
}Available on crate feature
webhook-types only.Expand description
Sent when an approved safety alert is available for an enterprise workspace.
Fields§
§id: StringThe unique ID of the webhook event.
object: StringAlways event.
created_at: u64The Unix timestamp in seconds when the event was created.
data: WebhookSafetyOrgAlertCreatedDataTrait Implementations§
Source§impl Clone for WebhookSafetyOrgAlertCreated
impl Clone for WebhookSafetyOrgAlertCreated
Source§fn clone(&self) -> WebhookSafetyOrgAlertCreated
fn clone(&self) -> WebhookSafetyOrgAlertCreated
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebhookSafetyOrgAlertCreated
impl Debug for WebhookSafetyOrgAlertCreated
Source§impl<'de> Deserialize<'de> for WebhookSafetyOrgAlertCreated
impl<'de> Deserialize<'de> for WebhookSafetyOrgAlertCreated
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 EventType for WebhookSafetyOrgAlertCreated
impl EventType for WebhookSafetyOrgAlertCreated
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Available on crate feature
_api only.Returns the event type string (e.g., “batch.cancelled”)
impl StructuralPartialEq for WebhookSafetyOrgAlertCreated
Auto Trait Implementations§
impl Freeze for WebhookSafetyOrgAlertCreated
impl RefUnwindSafe for WebhookSafetyOrgAlertCreated
impl Send for WebhookSafetyOrgAlertCreated
impl Sync for WebhookSafetyOrgAlertCreated
impl Unpin for WebhookSafetyOrgAlertCreated
impl UnsafeUnpin for WebhookSafetyOrgAlertCreated
impl UnwindSafe for WebhookSafetyOrgAlertCreated
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