pub struct JobNotifications {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>always- Always *on_failure- On failure *never- Never
label: Option<Label>Implementations§
Source§impl JobNotifications
impl JobNotifications
pub fn new() -> JobNotifications
Trait Implementations§
Source§impl Clone for JobNotifications
impl Clone for JobNotifications
Source§fn clone(&self) -> JobNotifications
fn clone(&self) -> JobNotifications
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JobNotifications
impl Debug for JobNotifications
Source§impl Default for JobNotifications
impl Default for JobNotifications
Source§fn default() -> JobNotifications
fn default() -> JobNotifications
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobNotifications
impl<'de> Deserialize<'de> for JobNotifications
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 JobNotifications
impl PartialEq for JobNotifications
Source§fn eq(&self, other: &JobNotifications) -> bool
fn eq(&self, other: &JobNotifications) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JobNotifications
impl Serialize for JobNotifications
impl StructuralPartialEq for JobNotifications
Auto Trait Implementations§
impl Freeze for JobNotifications
impl RefUnwindSafe for JobNotifications
impl Send for JobNotifications
impl Sync for JobNotifications
impl Unpin for JobNotifications
impl UnsafeUnpin for JobNotifications
impl UnwindSafe for JobNotifications
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