pub struct AttachmentGitHubRelease {
pub name: String,
pub repo: GitHubRepoRef,
pub tag_name: String,
pub type: AttachmentGitHubReleaseType,
pub url: String,
}Expand description
Pointer to a GitHub release.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§name: StringHuman-readable release name
repo: GitHubRepoRefRepository the release belongs to
tag_name: StringGit tag the release is anchored to
type: AttachmentGitHubReleaseTypeAttachment type discriminator
url: StringURL to the release on GitHub
Trait Implementations§
Source§impl Clone for AttachmentGitHubRelease
impl Clone for AttachmentGitHubRelease
Source§fn clone(&self) -> AttachmentGitHubRelease
fn clone(&self) -> AttachmentGitHubRelease
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 AttachmentGitHubRelease
impl Debug for AttachmentGitHubRelease
Source§impl Default for AttachmentGitHubRelease
impl Default for AttachmentGitHubRelease
Source§fn default() -> AttachmentGitHubRelease
fn default() -> AttachmentGitHubRelease
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachmentGitHubRelease
impl<'de> Deserialize<'de> for AttachmentGitHubRelease
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 AttachmentGitHubRelease
impl RefUnwindSafe for AttachmentGitHubRelease
impl Send for AttachmentGitHubRelease
impl Sync for AttachmentGitHubRelease
impl Unpin for AttachmentGitHubRelease
impl UnsafeUnpin for AttachmentGitHubRelease
impl UnwindSafe for AttachmentGitHubRelease
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