pub struct PushCommit {
pub id: Oid,
pub tree_id: Oid,
pub distinct: bool,
pub message: String,
pub timestamp: DateTime,
pub url: String,
pub author: PushAuthor,
pub committer: PushAuthor,
pub added: Vec<String>,
pub removed: Vec<String>,
pub modified: Vec<String>,
}
Fields§
§id: Oid
§tree_id: Oid
§distinct: bool
§message: String
§timestamp: DateTime
§url: String
§committer: PushAuthor
§added: Vec<String>
§removed: Vec<String>
§modified: Vec<String>
Trait Implementations§
Source§impl Clone for PushCommit
impl Clone for PushCommit
Source§fn clone(&self) -> PushCommit
fn clone(&self) -> PushCommit
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 PushCommit
impl Debug for PushCommit
Source§impl<'de> Deserialize<'de> for PushCommit
impl<'de> Deserialize<'de> for PushCommit
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 PushCommit
impl Hash for PushCommit
Source§impl Ord for PushCommit
impl Ord for PushCommit
Source§fn cmp(&self, other: &PushCommit) -> Ordering
fn cmp(&self, other: &PushCommit) -> 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 PushCommit
impl PartialEq for PushCommit
Source§impl PartialOrd for PushCommit
impl PartialOrd for PushCommit
impl Eq for PushCommit
impl StructuralPartialEq for PushCommit
Auto Trait Implementations§
impl Freeze for PushCommit
impl RefUnwindSafe for PushCommit
impl Send for PushCommit
impl Sync for PushCommit
impl Unpin for PushCommit
impl UnwindSafe for PushCommit
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