pub struct AttachmentGitHubCommit {
pub message: String,
pub oid: String,
pub repo: GitHubRepoRef,
pub type: AttachmentGitHubCommitType,
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: GitHubRepoRefRepository the commit belongs to
type: AttachmentGitHubCommitTypeAttachment type discriminator
url: StringURL to the commit on GitHub
Trait Implementations§
Source§impl Clone for AttachmentGitHubCommit
impl Clone for AttachmentGitHubCommit
Source§fn clone(&self) -> AttachmentGitHubCommit
fn clone(&self) -> AttachmentGitHubCommit
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 AttachmentGitHubCommit
impl Debug for AttachmentGitHubCommit
Source§impl Default for AttachmentGitHubCommit
impl Default for AttachmentGitHubCommit
Source§fn default() -> AttachmentGitHubCommit
fn default() -> AttachmentGitHubCommit
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachmentGitHubCommit
impl<'de> Deserialize<'de> for AttachmentGitHubCommit
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 AttachmentGitHubCommit
impl RefUnwindSafe for AttachmentGitHubCommit
impl Send for AttachmentGitHubCommit
impl Sync for AttachmentGitHubCommit
impl Unpin for AttachmentGitHubCommit
impl UnsafeUnpin for AttachmentGitHubCommit
impl UnwindSafe for AttachmentGitHubCommit
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