pub struct GitSourceRevision {
pub author: Option<SourceControlUser>,
pub commit: Option<String>,
pub committer: Option<SourceControlUser>,
pub message: Option<String>,
}
Expand description
GitSourceRevision is the commit information from a git source for a build
Fields§
author is the author of a specific commit
commit: Option<String>
commit is the commit hash identifying a specific commit
committer: Option<SourceControlUser>
committer is the committer of a specific commit
message: Option<String>
message is the description of a specific commit
Trait Implementations§
Source§impl Clone for GitSourceRevision
impl Clone for GitSourceRevision
Source§fn clone(&self) -> GitSourceRevision
fn clone(&self) -> GitSourceRevision
Returns a duplicate 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 GitSourceRevision
impl Debug for GitSourceRevision
Source§impl Default for GitSourceRevision
impl Default for GitSourceRevision
Source§fn default() -> GitSourceRevision
fn default() -> GitSourceRevision
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitSourceRevision
impl<'de> Deserialize<'de> for GitSourceRevision
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 PartialEq for GitSourceRevision
impl PartialEq for GitSourceRevision
Source§impl Serialize for GitSourceRevision
impl Serialize for GitSourceRevision
impl StructuralPartialEq for GitSourceRevision
Auto Trait Implementations§
impl Freeze for GitSourceRevision
impl RefUnwindSafe for GitSourceRevision
impl Send for GitSourceRevision
impl Sync for GitSourceRevision
impl Unpin for GitSourceRevision
impl UnwindSafe for GitSourceRevision
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