Struct Repository

Source
pub struct Repository {
Show 60 fields pub allow_fast_forward_only_merge: Option<bool>, pub allow_merge_commits: Option<bool>, pub allow_rebase: Option<bool>, pub allow_rebase_explicit: Option<bool>, pub allow_rebase_update: Option<bool>, pub allow_squash_merge: Option<bool>, pub archived: Option<bool>, pub archived_at: Option<String>, pub avatar_url: Option<String>, pub clone_url: Option<String>, pub created_at: Option<String>, pub default_allow_maintainer_edit: Option<bool>, pub default_branch: Option<String>, pub default_delete_branch_after_merge: Option<bool>, pub default_merge_style: Option<String>, pub description: Option<String>, pub empty: Option<bool>, pub external_tracker: Option<Box<ExternalTracker>>, pub external_wiki: Option<Box<ExternalWiki>>, pub fork: Option<bool>, pub forks_count: Option<i64>, pub full_name: Option<String>, pub has_actions: Option<bool>, pub has_issues: Option<bool>, pub has_packages: Option<bool>, pub has_projects: Option<bool>, pub has_pull_requests: Option<bool>, pub has_releases: Option<bool>, pub has_wiki: Option<bool>, pub html_url: Option<String>, pub id: Option<i64>, pub ignore_whitespace_conflicts: Option<bool>, pub internal: Option<bool>, pub internal_tracker: Option<Box<InternalTracker>>, pub language: Option<String>, pub languages_url: Option<String>, pub link: Option<String>, pub mirror: Option<bool>, pub mirror_interval: Option<String>, pub mirror_updated: Option<String>, pub name: Option<String>, pub object_format_name: Option<ObjectFormatName>, pub open_issues_count: Option<i64>, pub open_pr_counter: Option<i64>, pub original_url: Option<String>, pub owner: Option<Box<User>>, pub parent: Option<Box<Repository>>, pub permissions: Option<Box<Permission>>, pub private: Option<bool>, pub projects_mode: Option<String>, pub release_counter: Option<i64>, pub repo_transfer: Option<Box<RepoTransfer>>, pub size: Option<i64>, pub ssh_url: Option<String>, pub stars_count: Option<i64>, pub template: Option<bool>, pub updated_at: Option<String>, pub url: Option<String>, pub watchers_count: Option<i64>, pub website: Option<String>,
}
Expand description

Repository : Repository represents a repository

Fields§

§allow_fast_forward_only_merge: Option<bool>§allow_merge_commits: Option<bool>§allow_rebase: Option<bool>§allow_rebase_explicit: Option<bool>§allow_rebase_update: Option<bool>§allow_squash_merge: Option<bool>§archived: Option<bool>§archived_at: Option<String>§avatar_url: Option<String>§clone_url: Option<String>§created_at: Option<String>§default_allow_maintainer_edit: Option<bool>§default_branch: Option<String>§default_delete_branch_after_merge: Option<bool>§default_merge_style: Option<String>§description: Option<String>§empty: Option<bool>§external_tracker: Option<Box<ExternalTracker>>§external_wiki: Option<Box<ExternalWiki>>§fork: Option<bool>§forks_count: Option<i64>§full_name: Option<String>§has_actions: Option<bool>§has_issues: Option<bool>§has_packages: Option<bool>§has_projects: Option<bool>§has_pull_requests: Option<bool>§has_releases: Option<bool>§has_wiki: Option<bool>§html_url: Option<String>§id: Option<i64>§ignore_whitespace_conflicts: Option<bool>§internal: Option<bool>§internal_tracker: Option<Box<InternalTracker>>§language: Option<String>§languages_url: Option<String>§link: Option<String>§mirror: Option<bool>§mirror_interval: Option<String>§mirror_updated: Option<String>§name: Option<String>§object_format_name: Option<ObjectFormatName>

ObjectFormatName of the underlying git repository

§open_issues_count: Option<i64>§open_pr_counter: Option<i64>§original_url: Option<String>§owner: Option<Box<User>>§parent: Option<Box<Repository>>§permissions: Option<Box<Permission>>§private: Option<bool>§projects_mode: Option<String>§release_counter: Option<i64>§repo_transfer: Option<Box<RepoTransfer>>§size: Option<i64>§ssh_url: Option<String>§stars_count: Option<i64>§template: Option<bool>§updated_at: Option<String>§url: Option<String>§watchers_count: Option<i64>§website: Option<String>

Implementations§

Source§

impl Repository

Source

pub fn new() -> Repository

Repository represents a repository

Trait Implementations§

Source§

impl Clone for Repository

Source§

fn clone(&self) -> Repository

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Repository

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Repository

Source§

fn default() -> Repository

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Repository

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Repository

Source§

fn eq(&self, other: &Repository) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Repository

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Repository

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,