Struct gitlab::types::EventLabel
source · pub struct EventLabel {
pub id: LabelId,
pub name: String,
pub color: LabelColor,
pub description: Option<String>,
}Expand description
An label on a project.
This is like Label, except that it doesn’t have all the same fields
Fields§
§id: LabelIdThe Id of the label.
name: StringThe name of the label.
color: LabelColorThe color of the label.
description: Option<String>The description of the label.
Trait Implementations§
source§impl Clone for EventLabel
impl Clone for EventLabel
source§fn clone(&self) -> EventLabel
fn clone(&self) -> EventLabel
Returns a copy 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 EventLabel
impl Debug for EventLabel
source§impl<'de> Deserialize<'de> for EventLabel
impl<'de> Deserialize<'de> for EventLabel
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 RefUnwindSafe for EventLabel
impl Send for EventLabel
impl Sync for EventLabel
impl Unpin for EventLabel
impl UnwindSafe for EventLabel
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