pub struct WebhookEndpoint {
pub id: Option<String>,
pub name: Option<String>,
pub callback_url: Option<String>,
pub secret: Option<String>,
pub is_active: Option<bool>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
A configured webhook endpoint.
Fields§
§id: Option<String>Endpoint UUID.
name: Option<String>Human-readable name (unique per user).
callback_url: Option<String>Destination URL the server will POST deliveries to.
secret: Option<String>Endpoint signing secret. Surfaced only on creation; subsequent reads typically omit it.
is_active: Option<bool>Whether the endpoint is enabled.
created_at: Option<String>ISO timestamp the endpoint was created.
updated_at: Option<String>ISO timestamp the endpoint was last updated.
extra: HashMap<String, Value>Forward-compatible bucket.
Trait Implementations§
Source§impl Clone for WebhookEndpoint
impl Clone for WebhookEndpoint
Source§fn clone(&self) -> WebhookEndpoint
fn clone(&self) -> WebhookEndpoint
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 WebhookEndpoint
impl Debug for WebhookEndpoint
Source§impl Default for WebhookEndpoint
impl Default for WebhookEndpoint
Source§fn default() -> WebhookEndpoint
fn default() -> WebhookEndpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookEndpoint
impl<'de> Deserialize<'de> for WebhookEndpoint
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 WebhookEndpoint
impl PartialEq for WebhookEndpoint
Source§fn eq(&self, other: &WebhookEndpoint) -> bool
fn eq(&self, other: &WebhookEndpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebhookEndpoint
impl Serialize for WebhookEndpoint
impl Eq for WebhookEndpoint
impl StructuralPartialEq for WebhookEndpoint
Auto Trait Implementations§
impl Freeze for WebhookEndpoint
impl RefUnwindSafe for WebhookEndpoint
impl Send for WebhookEndpoint
impl Sync for WebhookEndpoint
impl Unpin for WebhookEndpoint
impl UnsafeUnpin for WebhookEndpoint
impl UnwindSafe for WebhookEndpoint
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