pub struct WebhookJob {
pub id: Option<i64>,
pub policy_id: Option<i64>,
pub event_type: Option<String>,
pub notify_type: Option<String>,
pub status: Option<String>,
pub job_detail: Option<String>,
pub creation_time: Option<String>,
pub update_time: Option<String>,
}Expand description
WebhookJob : The webhook job.
Fields§
§id: Option<i64>The webhook job ID.
policy_id: Option<i64>The webhook policy ID.
event_type: Option<String>The webhook job event type.
notify_type: Option<String>The webhook job notify type.
status: Option<String>The webhook job status.
job_detail: Option<String>The webhook job notify detailed data.
creation_time: Option<String>The webhook job creation time.
update_time: Option<String>The webhook job update time.
Implementations§
Source§impl WebhookJob
impl WebhookJob
Sourcepub fn new() -> WebhookJob
pub fn new() -> WebhookJob
The webhook job.
Trait Implementations§
Source§impl Clone for WebhookJob
impl Clone for WebhookJob
Source§fn clone(&self) -> WebhookJob
fn clone(&self) -> WebhookJob
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebhookJob
impl Debug for WebhookJob
Source§impl Default for WebhookJob
impl Default for WebhookJob
Source§fn default() -> WebhookJob
fn default() -> WebhookJob
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookJob
impl<'de> Deserialize<'de> for WebhookJob
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
Source§impl PartialEq for WebhookJob
impl PartialEq for WebhookJob
Source§impl Serialize for WebhookJob
impl Serialize for WebhookJob
impl StructuralPartialEq for WebhookJob
Auto Trait Implementations§
impl Freeze for WebhookJob
impl RefUnwindSafe for WebhookJob
impl Send for WebhookJob
impl Sync for WebhookJob
impl Unpin for WebhookJob
impl UnwindSafe for WebhookJob
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