pub struct UpdateLabelArgs {
pub name: Option<String>,
pub color: Option<String>,
pub order: Option<i32>,
pub is_favorite: Option<bool>,
}
Expand description
Label update arguments
Fields§
§name: Option<String>
§color: Option<String>
§order: Option<i32>
§is_favorite: Option<bool>
Implementations§
Source§impl UpdateLabelArgs
impl UpdateLabelArgs
Sourcepub fn has_updates(&self) -> bool
pub fn has_updates(&self) -> bool
Check if any fields are set for updating
Trait Implementations§
Source§impl Debug for UpdateLabelArgs
impl Debug for UpdateLabelArgs
Source§impl Default for UpdateLabelArgs
impl Default for UpdateLabelArgs
Source§fn default() -> UpdateLabelArgs
fn default() -> UpdateLabelArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateLabelArgs
impl RefUnwindSafe for UpdateLabelArgs
impl Send for UpdateLabelArgs
impl Sync for UpdateLabelArgs
impl Unpin for UpdateLabelArgs
impl UnwindSafe for UpdateLabelArgs
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