pub struct Webhook {
pub id: String,
pub name: Option<String>,
pub url: String,
pub events: Vec<String>,
pub status: String,
pub disabled_reason: Option<String>,
pub failing_since: Option<String>,
pub last_success_at: Option<String>,
pub created_at: String,
}Fields§
§id: String§name: Option<String>The name set in the app, opened with the phrase. None if it will not
open.
url: String§events: Vec<String>Event types, or ["*"] for every event.
status: Stringactive or disabled.
disabled_reason: Option<String>§failing_since: Option<String>Set while every attempt since the last success has failed.
last_success_at: Option<String>§created_at: StringTrait Implementations§
Auto Trait Implementations§
impl Forget for Webhook
impl Freeze for Webhook
impl Move for Webhook
impl RefUnwindSafe for Webhook
impl Send for Webhookwhere
RawVecInner: Send,
impl Sync for Webhookwhere
RawVecInner: Sync,
impl Unpin for Webhook
impl UnsafeUnpin for Webhookwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Webhookwhere
RawVecInner: UnwindSafe,
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