pub struct PatchIssuesUpdateLabel {
pub new_name: Option<String>,
pub color: Option<String>,
pub description: Option<String>,
}Fields§
§new_name: Option<String>The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing :strawberry: will render the emoji . For a full list of available emoji and codes, see "Emoji cheat sheet."
color: Option<String>The hexadecimal color code for the label, without the leading #.
description: Option<String>A short description of the label. Must be 100 characters or fewer.
Trait Implementations§
Source§impl Clone for PatchIssuesUpdateLabel
impl Clone for PatchIssuesUpdateLabel
Source§fn clone(&self) -> PatchIssuesUpdateLabel
fn clone(&self) -> PatchIssuesUpdateLabel
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 PatchIssuesUpdateLabel
impl Debug for PatchIssuesUpdateLabel
Source§impl Default for PatchIssuesUpdateLabel
impl Default for PatchIssuesUpdateLabel
Source§fn default() -> PatchIssuesUpdateLabel
fn default() -> PatchIssuesUpdateLabel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchIssuesUpdateLabel
impl<'de> Deserialize<'de> for PatchIssuesUpdateLabel
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 PatchIssuesUpdateLabel
impl PartialEq for PatchIssuesUpdateLabel
Source§impl Serialize for PatchIssuesUpdateLabel
impl Serialize for PatchIssuesUpdateLabel
impl StructuralPartialEq for PatchIssuesUpdateLabel
Auto Trait Implementations§
impl Freeze for PatchIssuesUpdateLabel
impl RefUnwindSafe for PatchIssuesUpdateLabel
impl Send for PatchIssuesUpdateLabel
impl Sync for PatchIssuesUpdateLabel
impl Unpin for PatchIssuesUpdateLabel
impl UnwindSafe for PatchIssuesUpdateLabel
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