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