Enum github_rest::model::issues::nested::StringOrLabel
source · pub enum StringOrLabel {
String(String),
Label(Label),
}
Variants§
Trait Implementations§
source§impl Clone for StringOrLabel
impl Clone for StringOrLabel
source§fn clone(&self) -> StringOrLabel
fn clone(&self) -> StringOrLabel
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 StringOrLabel
impl Debug for StringOrLabel
source§impl<'de> Deserialize<'de> for StringOrLabel
impl<'de> Deserialize<'de> for StringOrLabel
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<StringOrLabel> for StringOrLabel
impl PartialEq<StringOrLabel> for StringOrLabel
source§fn eq(&self, other: &StringOrLabel) -> bool
fn eq(&self, other: &StringOrLabel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StringOrLabel
impl Serialize for StringOrLabel
impl StructuralPartialEq for StringOrLabel
Auto Trait Implementations§
impl RefUnwindSafe for StringOrLabel
impl Send for StringOrLabel
impl Sync for StringOrLabel
impl Unpin for StringOrLabel
impl UnwindSafe for StringOrLabel
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