pub struct CommunityProfileFiles {
pub code_of_conduct: Option<Box<NullableCodeOfConductSimple>>,
pub code_of_conduct_file: Option<Box<NullableCommunityHealthFile>>,
pub license: Option<Box<NullableLicenseSimple>>,
pub contributing: Option<Box<NullableCommunityHealthFile>>,
pub readme: Option<Box<NullableCommunityHealthFile>>,
pub issue_template: Option<Box<NullableCommunityHealthFile>>,
pub pull_request_template: Option<Box<NullableCommunityHealthFile>>,
}
Fields§
§code_of_conduct: Option<Box<NullableCodeOfConductSimple>>
§code_of_conduct_file: Option<Box<NullableCommunityHealthFile>>
§license: Option<Box<NullableLicenseSimple>>
§contributing: Option<Box<NullableCommunityHealthFile>>
§readme: Option<Box<NullableCommunityHealthFile>>
§issue_template: Option<Box<NullableCommunityHealthFile>>
§pull_request_template: Option<Box<NullableCommunityHealthFile>>
Implementations§
Source§impl CommunityProfileFiles
impl CommunityProfileFiles
pub fn new( code_of_conduct: Option<NullableCodeOfConductSimple>, code_of_conduct_file: Option<NullableCommunityHealthFile>, license: Option<NullableLicenseSimple>, contributing: Option<NullableCommunityHealthFile>, readme: Option<NullableCommunityHealthFile>, issue_template: Option<NullableCommunityHealthFile>, pull_request_template: Option<NullableCommunityHealthFile>, ) -> CommunityProfileFiles
Trait Implementations§
Source§impl Clone for CommunityProfileFiles
impl Clone for CommunityProfileFiles
Source§fn clone(&self) -> CommunityProfileFiles
fn clone(&self) -> CommunityProfileFiles
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 CommunityProfileFiles
impl Debug for CommunityProfileFiles
Source§impl Default for CommunityProfileFiles
impl Default for CommunityProfileFiles
Source§fn default() -> CommunityProfileFiles
fn default() -> CommunityProfileFiles
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommunityProfileFiles
impl<'de> Deserialize<'de> for CommunityProfileFiles
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 CommunityProfileFiles
impl PartialEq for CommunityProfileFiles
Source§impl Serialize for CommunityProfileFiles
impl Serialize for CommunityProfileFiles
impl StructuralPartialEq for CommunityProfileFiles
Auto Trait Implementations§
impl Freeze for CommunityProfileFiles
impl RefUnwindSafe for CommunityProfileFiles
impl Send for CommunityProfileFiles
impl Sync for CommunityProfileFiles
impl Unpin for CommunityProfileFiles
impl UnwindSafe for CommunityProfileFiles
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