pub struct AttachmentGitHubRepository {
pub description: Option<String>,
pub ref: Option<String>,
pub repo: GitHubRepoRef,
pub type: AttachmentGitHubRepositoryType,
pub url: String,
}Expand description
Pointer to a GitHub repository.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§description: Option<String>Short description of the repository
ref: Option<String>Git ref this attachment is anchored at (branch, tag, or commit). When absent the default branch is implied.
repo: GitHubRepoRefRepository pointer
type: AttachmentGitHubRepositoryTypeAttachment type discriminator
url: StringURL to the repository on GitHub
Trait Implementations§
Source§impl Clone for AttachmentGitHubRepository
impl Clone for AttachmentGitHubRepository
Source§impl Debug for AttachmentGitHubRepository
impl Debug for AttachmentGitHubRepository
Source§impl Default for AttachmentGitHubRepository
impl Default for AttachmentGitHubRepository
Source§impl<'de> Deserialize<'de> for AttachmentGitHubRepository
impl<'de> Deserialize<'de> for AttachmentGitHubRepository
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 AttachmentGitHubRepository
impl RefUnwindSafe for AttachmentGitHubRepository
impl Send for AttachmentGitHubRepository
impl Sync for AttachmentGitHubRepository
impl Unpin for AttachmentGitHubRepository
impl UnsafeUnpin for AttachmentGitHubRepository
impl UnwindSafe for AttachmentGitHubRepository
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