pub struct PullRequestLabel {
pub id: Option<i64>,
pub key: String,
pub value: Option<String>,
pub value_id: Option<i64>,
pub color: Option<String>,
pub value_color: Option<String>,
pub scope: Option<i64>,
}Expand description
A label as it is attached to a pull request: the label’s key and, for a label with values, the value chosen.
Fields§
§id: Option<i64>§key: String§value: Option<String>§value_id: Option<i64>§color: Option<String>§value_color: Option<String>§scope: Option<i64>Implementations§
Trait Implementations§
Source§impl Clone for PullRequestLabel
impl Clone for PullRequestLabel
Source§impl Debug for PullRequestLabel
impl Debug for PullRequestLabel
Source§impl Default for PullRequestLabel
impl Default for PullRequestLabel
Source§impl<'de> Deserialize<'de> for PullRequestLabel
impl<'de> Deserialize<'de> for PullRequestLabel
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 PullRequestLabel
impl PartialEq for PullRequestLabel
Source§impl Serialize for PullRequestLabel
impl Serialize for PullRequestLabel
impl StructuralPartialEq for PullRequestLabel
Auto Trait Implementations§
impl Forget for PullRequestLabel
impl Freeze for PullRequestLabel
impl RefUnwindSafe for PullRequestLabel
impl Send for PullRequestLabel
impl Sync for PullRequestLabel
impl Unpin for PullRequestLabel
impl UnsafeUnpin for PullRequestLabel
impl UnwindSafe for PullRequestLabel
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