pub struct Commit;Expand description
The commit sub-section.
Implementations§
Source§impl Commit
impl Commit
Sourcepub const AUTHOR_DATE: Any
pub const AUTHOR_DATE: Any
The gitoxide.commit.authorDate key.
Sourcepub const COMMITTER_DATE: Any
pub const COMMITTER_DATE: Any
The gitoxide.commit.committerDate key.
Trait Implementations§
Source§impl Section for Commit
impl Section for Commit
Source§fn keys(&self) -> &[&dyn Key]
fn keys(&self) -> &[&dyn Key]
The keys directly underneath it for carrying configuration values.
Source§fn parent(&self) -> Option<&dyn Section>
fn parent(&self) -> Option<&dyn Section>
The parent section if this is a statically known sub-section.
Source§fn sub_sections(&self) -> &[&dyn Section]
fn sub_sections(&self) -> &[&dyn Section]
The list of sub-section names, which may be empty if there are no statically known sub-sections.
impl Copy for Commit
Auto Trait Implementations§
impl Freeze for Commit
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnwindSafe for Commit
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