pub struct GhLanguage {
name: String,
color: Option<String>,
}
Expand description
Language
Fields§
§name: String
Name of the language
color: Option<String>
Color of the language
Trait Implementations§
source§impl Debug for GhLanguage
impl Debug for GhLanguage
source§impl Default for GhLanguage
impl Default for GhLanguage
source§fn default() -> GhLanguage
fn default() -> GhLanguage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GhLanguage
impl<'de> Deserialize<'de> for GhLanguage
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 GhLanguage
impl RefUnwindSafe for GhLanguage
impl Send for GhLanguage
impl Sync for GhLanguage
impl Unpin for GhLanguage
impl UnwindSafe for GhLanguage
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