pub struct ShortCommit {
pub label: String,
pub commit_ref: String,
pub sha: Oid,
pub user: User,
}
Fields§
§label: String
§commit_ref: String
§sha: Oid
§user: User
Trait Implementations§
Source§impl Clone for ShortCommit
impl Clone for ShortCommit
Source§fn clone(&self) -> ShortCommit
fn clone(&self) -> ShortCommit
Returns a copy 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 ShortCommit
impl Debug for ShortCommit
Source§impl<'de> Deserialize<'de> for ShortCommit
impl<'de> Deserialize<'de> for ShortCommit
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 Hash for ShortCommit
impl Hash for ShortCommit
Source§impl Ord for ShortCommit
impl Ord for ShortCommit
Source§fn cmp(&self, other: &ShortCommit) -> Ordering
fn cmp(&self, other: &ShortCommit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShortCommit
impl PartialEq for ShortCommit
Source§impl PartialOrd for ShortCommit
impl PartialOrd for ShortCommit
impl Eq for ShortCommit
impl StructuralPartialEq for ShortCommit
Auto Trait Implementations§
impl Freeze for ShortCommit
impl RefUnwindSafe for ShortCommit
impl Send for ShortCommit
impl Sync for ShortCommit
impl Unpin for ShortCommit
impl UnwindSafe for ShortCommit
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