Struct github_rest::model::repositories::nested::SimpleLicense
source · pub struct SimpleLicense {
pub key: String,
pub name: String,
pub url: Option<String>,
pub spdx_id: Option<String>,
pub node_id: String,
}
Fields§
§key: String
§name: String
§url: Option<String>
§spdx_id: Option<String>
§node_id: String
Trait Implementations§
source§impl Clone for SimpleLicense
impl Clone for SimpleLicense
source§fn clone(&self) -> SimpleLicense
fn clone(&self) -> SimpleLicense
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 SimpleLicense
impl Debug for SimpleLicense
source§impl Default for SimpleLicense
impl Default for SimpleLicense
source§fn default() -> SimpleLicense
fn default() -> SimpleLicense
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SimpleLicense
impl<'de> Deserialize<'de> for SimpleLicense
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<SimpleLicense> for SimpleLicense
impl PartialEq<SimpleLicense> for SimpleLicense
source§fn eq(&self, other: &SimpleLicense) -> bool
fn eq(&self, other: &SimpleLicense) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimpleLicense
impl Serialize for SimpleLicense
impl StructuralPartialEq for SimpleLicense
Auto Trait Implementations§
impl RefUnwindSafe for SimpleLicense
impl Send for SimpleLicense
impl Sync for SimpleLicense
impl Unpin for SimpleLicense
impl UnwindSafe for SimpleLicense
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