pub struct PushAttachmentGitHubCommit {
pub message: String,
pub oid: String,
pub repo: PushGitHubRepoRef,
pub type: PushAttachmentGitHubCommitType,
pub url: String,
}Expand description
Pointer to a GitHub commit.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§message: StringFirst line of the commit message
oid: StringFull commit SHA
repo: PushGitHubRepoRefRepository the commit belongs to
type: PushAttachmentGitHubCommitTypeAttachment type discriminator
url: StringURL to the commit on GitHub
Trait Implementations§
Source§impl Clone for PushAttachmentGitHubCommit
impl Clone for PushAttachmentGitHubCommit
Source§fn clone(&self) -> PushAttachmentGitHubCommit
fn clone(&self) -> PushAttachmentGitHubCommit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PushAttachmentGitHubCommit
impl Debug for PushAttachmentGitHubCommit
Source§impl Default for PushAttachmentGitHubCommit
impl Default for PushAttachmentGitHubCommit
Source§fn default() -> PushAttachmentGitHubCommit
fn default() -> PushAttachmentGitHubCommit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushAttachmentGitHubCommit
impl<'de> Deserialize<'de> for PushAttachmentGitHubCommit
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 PushAttachmentGitHubCommit
impl RefUnwindSafe for PushAttachmentGitHubCommit
impl Send for PushAttachmentGitHubCommit
impl Sync for PushAttachmentGitHubCommit
impl Unpin for PushAttachmentGitHubCommit
impl UnsafeUnpin for PushAttachmentGitHubCommit
impl UnwindSafe for PushAttachmentGitHubCommit
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