pub struct GitHubRepoPointer {
pub id: Option<i64>,
pub name: String,
pub owner: String,
}Expand description
Pointer to a GitHub repository (owner/name plus optional numeric id).
Used by the GitHub-anchored Attachment variants. Mirrors the field
shape of the generated GitHubRepoRef, but defined locally so it can
derive Eq for use inside the Attachment enum.
Fields§
§id: Option<i64>Numeric GitHub repository id.
name: StringRepository name (without owner).
owner: StringRepository owner login (user or organization).
Trait Implementations§
Source§impl Clone for GitHubRepoPointer
impl Clone for GitHubRepoPointer
Source§fn clone(&self) -> GitHubRepoPointer
fn clone(&self) -> GitHubRepoPointer
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 GitHubRepoPointer
impl Debug for GitHubRepoPointer
Source§impl<'de> Deserialize<'de> for GitHubRepoPointer
impl<'de> Deserialize<'de> for GitHubRepoPointer
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
impl Eq for GitHubRepoPointer
Source§impl PartialEq for GitHubRepoPointer
impl PartialEq for GitHubRepoPointer
Source§fn eq(&self, other: &GitHubRepoPointer) -> bool
fn eq(&self, other: &GitHubRepoPointer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GitHubRepoPointer
impl Serialize for GitHubRepoPointer
impl StructuralPartialEq for GitHubRepoPointer
Auto Trait Implementations§
impl Freeze for GitHubRepoPointer
impl RefUnwindSafe for GitHubRepoPointer
impl Send for GitHubRepoPointer
impl Sync for GitHubRepoPointer
impl Unpin for GitHubRepoPointer
impl UnsafeUnpin for GitHubRepoPointer
impl UnwindSafe for GitHubRepoPointer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.