pub struct Webhook {
pub id: String,
pub name: String,
pub status: String,
pub network: String,
pub created_at: String,
pub updated_at: Option<String>,
pub template_id: Option<String>,
pub notification_email: Option<String>,
pub destination_attributes: Option<String>,
}Expand description
A webhook’s full configuration and current state.
Fields§
§id: StringUnique webhook identifier.
name: StringHuman-readable webhook name.
status: StringCurrent operational state (e.g. active, paused).
network: StringBlockchain network the webhook is watching.
created_at: StringTimestamp when the webhook was created.
updated_at: Option<String>Timestamp of the most recent modification.
template_id: Option<String>Template identifier used to create the webhook, if any.
notification_email: Option<String>Email address notified of webhook terminations or failures.
destination_attributes: Option<String>Destination-specific configuration as a JSON string.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Webhook
impl<'de> Deserialize<'de> for Webhook
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
Auto Trait Implementations§
impl Freeze for Webhook
impl RefUnwindSafe for Webhook
impl Send for Webhook
impl Sync for Webhook
impl Unpin for Webhook
impl UnsafeUnpin for Webhook
impl UnwindSafe for Webhook
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