pub struct ExportWebhook {
pub id: String,
pub url: String,
pub events: String,
pub document_slug: Option<String>,
pub active: bool,
pub created_at: String,
}Expand description
A webhook registration in the export archive.
Fields§
§id: StringInternal webhook ID.
url: StringTarget callback URL.
events: StringJSON array of subscribed event types (e.g. ["version.created"]).
document_slug: Option<String>Optional document slug scope (null = all documents).
active: boolWhether the webhook is active at export time.
created_at: StringISO 8601 creation timestamp.
Trait Implementations§
Source§impl Clone for ExportWebhook
impl Clone for ExportWebhook
Source§fn clone(&self) -> ExportWebhook
fn clone(&self) -> ExportWebhook
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 ExportWebhook
impl Debug for ExportWebhook
Source§impl<'de> Deserialize<'de> for ExportWebhook
impl<'de> Deserialize<'de> for ExportWebhook
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 PartialEq for ExportWebhook
impl PartialEq for ExportWebhook
Source§impl Serialize for ExportWebhook
impl Serialize for ExportWebhook
impl StructuralPartialEq for ExportWebhook
Auto Trait Implementations§
impl Freeze for ExportWebhook
impl RefUnwindSafe for ExportWebhook
impl Send for ExportWebhook
impl Sync for ExportWebhook
impl Unpin for ExportWebhook
impl UnsafeUnpin for ExportWebhook
impl UnwindSafe for ExportWebhook
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