pub struct Webhook {
pub events: Vec<Events>,
pub expiration_date: Option<i64>,
pub field_ids_filter: Option<Vec<String>>,
pub id: i64,
pub issue_property_keys_filter: Option<Vec<String>>,
pub jql_filter: String,
pub url: String,
}
Expand description
Webhook : A webhook.
Fields§
§events: Vec<Events>
The Jira events that trigger the webhook.
expiration_date: Option<i64>
The date after which the webhook is no longer sent. Use Extend webhook life to extend the date.
field_ids_filter: Option<Vec<String>>
A list of field IDs. When the issue changelog contains any of the fields, the webhook jira:issue_updated
is sent. If this parameter is not present, the app is notified about all field updates.
id: i64
The ID of the webhook.
issue_property_keys_filter: Option<Vec<String>>
A list of issue property keys. A change of those issue properties triggers the issue_property_set
or issue_property_deleted
webhooks. If this parameter is not present, the app is notified about all issue property updates.
jql_filter: String
The JQL filter that specifies which issues the webhook is sent for.
url: String
The URL that specifies where the webhooks are sent.
Implementations§
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
impl StructuralPartialEq for Webhook
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