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