pub struct Commit {
pub commitid: String,
pub message: String,
pub timestamp: String,
pub ci_passed: bool,
pub author: CommitAuthor,
pub branch: Option<String>,
pub totals: Totals,
pub state: String,
pub parent: Option<String>,
}
Expand description
Commit is a struct that represents a commit.
Fields§
§commitid: String
§message: String
§timestamp: String
§ci_passed: bool
§branch: Option<String>
§totals: Totals
§state: String
§parent: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Commit
impl<'de> Deserialize<'de> for Commit
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 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