pub struct PayloadCommit {
pub author: PayloadUser,
pub committer: PayloadUser,
pub id: String,
pub message: String,
pub added: Option<Vec<String>>,
pub modified: Option<Vec<String>>,
pub removed: Option<Vec<String>>,
pub timestamp: String,
pub url: String,
}
Fields§
§committer: PayloadUser
§id: String
sha1 hash of the commit
message: String
§added: Option<Vec<String>>
§modified: Option<Vec<String>>
§removed: Option<Vec<String>>
§timestamp: String
§url: String
Trait Implementations§
Source§impl Clone for PayloadCommit
impl Clone for PayloadCommit
Source§fn clone(&self) -> PayloadCommit
fn clone(&self) -> PayloadCommit
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PayloadCommit
impl Debug for PayloadCommit
Source§impl Default for PayloadCommit
impl Default for PayloadCommit
Source§fn default() -> PayloadCommit
fn default() -> PayloadCommit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PayloadCommit
impl<'de> Deserialize<'de> for PayloadCommit
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
Auto Trait Implementations§
impl Freeze for PayloadCommit
impl RefUnwindSafe for PayloadCommit
impl Send for PayloadCommit
impl Sync for PayloadCommit
impl Unpin for PayloadCommit
impl UnwindSafe for PayloadCommit
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