pub struct WebhooksLabel {
pub color: String,
pub default: bool,
pub description: Option<String>,
pub id: i32,
pub name: String,
pub node_id: String,
pub url: String,
}
Fields§
§color: String
6-character hex code, without the leading #, identifying the color
default: bool
§description: Option<String>
§id: i32
§name: String
The name of the label.
node_id: String
§url: String
URL for the label
Implementations§
Trait Implementations§
Source§impl Clone for WebhooksLabel
impl Clone for WebhooksLabel
Source§fn clone(&self) -> WebhooksLabel
fn clone(&self) -> WebhooksLabel
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 WebhooksLabel
impl Debug for WebhooksLabel
Source§impl Default for WebhooksLabel
impl Default for WebhooksLabel
Source§fn default() -> WebhooksLabel
fn default() -> WebhooksLabel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksLabel
impl<'de> Deserialize<'de> for WebhooksLabel
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 WebhooksLabel
impl PartialEq for WebhooksLabel
Source§impl Serialize for WebhooksLabel
impl Serialize for WebhooksLabel
impl StructuralPartialEq for WebhooksLabel
Auto Trait Implementations§
impl Freeze for WebhooksLabel
impl RefUnwindSafe for WebhooksLabel
impl Send for WebhooksLabel
impl Sync for WebhooksLabel
impl Unpin for WebhooksLabel
impl UnwindSafe for WebhooksLabel
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