pub struct GitCommitDetails {
pub sha: String,
pub message: String,
pub author: String,
pub committer: String,
pub author_email: String,
pub committer_email: String,
pub time: i64,
pub parents: Vec<String>,
pub files: Vec<CommitFile>,
pub additions: usize,
pub deletions: usize,
pub truncated: bool,
}Fields§
§sha: String§message: String§committer: String§committer_email: String§time: i64§parents: Vec<String>§files: Vec<CommitFile>§additions: usize§deletions: usize§truncated: boolTrait Implementations§
Auto Trait Implementations§
impl Forget for GitCommitDetails
impl Freeze for GitCommitDetailswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<CommitFile>: Freeze,
impl Move for GitCommitDetails
impl RefUnwindSafe for GitCommitDetails
impl Send for GitCommitDetailswhere
RawVecInner: Send,
impl Sync for GitCommitDetailswhere
RawVecInner: Sync,
impl Unpin for GitCommitDetails
impl UnsafeUnpin for GitCommitDetailswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<CommitFile>: UnsafeUnpin,
impl UnwindSafe for GitCommitDetailswhere
RawVecInner: UnwindSafe,
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.