pub struct MinimalRepositoryLicense {
pub key: Option<String>,
pub name: Option<String>,
pub spdx_id: Option<String>,
pub url: Option<String>,
pub node_id: Option<String>,
}
Fields§
§key: Option<String>
§name: Option<String>
§spdx_id: Option<String>
§url: Option<String>
§node_id: Option<String>
Implementations§
Source§impl MinimalRepositoryLicense
impl MinimalRepositoryLicense
pub fn new() -> MinimalRepositoryLicense
Trait Implementations§
Source§impl Clone for MinimalRepositoryLicense
impl Clone for MinimalRepositoryLicense
Source§fn clone(&self) -> MinimalRepositoryLicense
fn clone(&self) -> MinimalRepositoryLicense
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 MinimalRepositoryLicense
impl Debug for MinimalRepositoryLicense
Source§impl Default for MinimalRepositoryLicense
impl Default for MinimalRepositoryLicense
Source§fn default() -> MinimalRepositoryLicense
fn default() -> MinimalRepositoryLicense
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MinimalRepositoryLicense
impl<'de> Deserialize<'de> for MinimalRepositoryLicense
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 MinimalRepositoryLicense
impl PartialEq for MinimalRepositoryLicense
Source§impl Serialize for MinimalRepositoryLicense
impl Serialize for MinimalRepositoryLicense
impl StructuralPartialEq for MinimalRepositoryLicense
Auto Trait Implementations§
impl Freeze for MinimalRepositoryLicense
impl RefUnwindSafe for MinimalRepositoryLicense
impl Send for MinimalRepositoryLicense
impl Sync for MinimalRepositoryLicense
impl Unpin for MinimalRepositoryLicense
impl UnwindSafe for MinimalRepositoryLicense
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