pub struct RepositoryObservation {
pub repository_id: u64,
pub visibility: RepositoryVisibility,
pub is_fork: bool,
pub primary_language: Option<String>,
}Expand description
Current repository metadata identified by its stable GitHub numeric ID.
Fields§
§repository_id: u64GitHub’s stable numeric ID for the repository.
visibility: RepositoryVisibilityWho can see the repository; only public ones count toward language shares.
is_fork: boolWhether the repository is a fork, which keeps it out of language shares.
primary_language: Option<String>GitHub’s language name unchanged; null means a known absence. Omitting the field is an error because absence of data is not an observation.
Trait Implementations§
Source§impl Clone for RepositoryObservation
impl Clone for RepositoryObservation
Source§impl Debug for RepositoryObservation
impl Debug for RepositoryObservation
Source§impl<'de> Deserialize<'de> for RepositoryObservation
impl<'de> Deserialize<'de> for RepositoryObservation
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 RepositoryObservation
Source§impl PartialEq for RepositoryObservation
impl PartialEq for RepositoryObservation
Source§impl Serialize for RepositoryObservation
impl Serialize for RepositoryObservation
impl StructuralPartialEq for RepositoryObservation
Auto Trait Implementations§
impl Freeze for RepositoryObservation
impl RefUnwindSafe for RepositoryObservation
impl Send for RepositoryObservation
impl Sync for RepositoryObservation
impl Unpin for RepositoryObservation
impl UnsafeUnpin for RepositoryObservation
impl UnwindSafe for RepositoryObservation
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