pub struct Webhook {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub label: Option<String>,
pub url: Option<String>,
pub enabled: Option<bool>,
pub team_ids: Option<Vec<String>>,
pub all_public_teams: Option<bool>,
pub secret: Option<String>,
pub resource_types: Option<Vec<String>>,
}Fields§
§id: Option<String>§created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§archived_at: Option<DateTime<Utc>>§label: Option<String>§url: Option<String>§enabled: Option<bool>§team_ids: Option<Vec<String>>§all_public_teams: Option<bool>§secret: Option<String>§resource_types: Option<Vec<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 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