pub struct WebhookSubscriptionView {Show 20 fields
pub active: bool,
pub change_log: ChangeLog,
pub consecutive_failures: i32,
pub created_at: DateTime<Utc>,
pub deleted: bool,
pub description: Option<String>,
pub events: Vec<String>,
pub id: Uuid,
pub key: String,
pub metadata: Option<Value>,
pub organization_id: Option<Uuid>,
pub project_id: Option<Uuid>,
pub resume_at: Option<DateTime<Utc>>,
pub sharing: ConnectionSharing,
pub suspended_at: Option<DateTime<Utc>>,
pub tags: Vec<String>,
pub updated_at: DateTime<Utc>,
pub url: String,
pub user_id: Uuid,
pub version: String,
}Expand description
WebhookSubscriptionView
Fields§
§active: bool§change_log: ChangeLog§consecutive_failures: i32Deliveries that have exhausted every attempt since the last one the endpoint accepted.
created_at: DateTime<Utc>§deleted: bool§description: Option<String>§events: Vec<String>§id: Uuid§key: String§metadata: Option<Value>§organization_id: Option<Uuid>§project_id: Option<Uuid>§resume_at: Option<DateTime<Utc>>When One will try a suspended endpoint again, or null once One has
stopped retrying it. Null with suspendedAt set means delivery
resumes only when the subscription is saved.
sharing: ConnectionSharing§suspended_at: Option<DateTime<Utc>>When One stopped delivering because the endpoint kept failing. Null
means One is still delivering; active is the subscriber’s own switch
and is reported separately.
updated_at: DateTime<Utc>§url: String§user_id: Uuid§version: StringTrait Implementations§
Source§impl Clone for WebhookSubscriptionView
impl Clone for WebhookSubscriptionView
Source§impl Debug for WebhookSubscriptionView
impl Debug for WebhookSubscriptionView
Source§impl<'de> Deserialize<'de> for WebhookSubscriptionView
impl<'de> Deserialize<'de> for WebhookSubscriptionView
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 Forget for WebhookSubscriptionView
impl Freeze for WebhookSubscriptionView
impl Move for WebhookSubscriptionView
impl RefUnwindSafe for WebhookSubscriptionView
impl Send for WebhookSubscriptionView
impl Sync for WebhookSubscriptionView
impl Unpin for WebhookSubscriptionView
impl UnsafeUnpin for WebhookSubscriptionViewwhere
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for WebhookSubscriptionViewwhere
BTreeMap<String, Value>: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
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