pub struct ModEventLabel {
pub comment: Option<String>,
pub create_label_vals: Vec<String>,
pub duration_in_hours: Option<i64>,
pub negate_label_vals: Vec<String>,
}Expand description
Apply/Negate labels on a subject
Fields§
§comment: Option<String>§create_label_vals: Vec<String>§duration_in_hours: Option<i64>§negate_label_vals: Vec<String>Trait Implementations§
Source§impl Clone for ModEventLabel
impl Clone for ModEventLabel
Source§fn clone(&self) -> ModEventLabel
fn clone(&self) -> ModEventLabel
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 ModEventLabel
impl Debug for ModEventLabel
Source§impl<'de> Deserialize<'de> for ModEventLabel
impl<'de> Deserialize<'de> for ModEventLabel
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 ModEventLabel
impl RefUnwindSafe for ModEventLabel
impl Send for ModEventLabel
impl Sync for ModEventLabel
impl Unpin for ModEventLabel
impl UnsafeUnpin for ModEventLabel
impl UnwindSafe for ModEventLabel
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