Struct gitlab::types::EventLabel
source · pub struct EventLabel {
pub id: LabelId,
pub name: String,
pub color: LabelColor,
pub description: Option<String>,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
An label on a project.
This is like Label, except that it doesn’t have all the same fields
Fields§
§id: LabelId
👎Deprecated since 0.1609.0: define deserialization types in client code
The Id of the label.
name: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The name of the label.
color: LabelColor
👎Deprecated since 0.1609.0: define deserialization types in client code
The color of the label.
description: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
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 Freeze for EventLabel
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