pub struct GithubRepoView {
pub default_branch: Option<String>,
pub full_name: Option<String>,
pub html_url: Option<String>,
pub imported: Option<bool>,
pub last_synced_at: Option<String>,
pub name: Option<String>,
pub private: Option<bool>,
pub sync_status: Option<String>,
}Fields§
§default_branch: Option<String>DefaultBranch is the repo’s default branch at GitHub.
full_name: Option<String>FullName is GitHub’s owner/name.
html_url: Option<String>HTMLURL is the repo’s page at GitHub.
imported: Option<bool>Imported is whether this repo has been mirrored into git.hanzo.ai.
last_synced_at: Option<String>LastSyncedAt is the last successful mirror, RFC 3339 UTC. Absent if never.
name: Option<String>Name is the repository’s short name within the installation.
private: Option<bool>Private is GitHub’s visibility bit for the repo.
sync_status: Option<String>SyncStatus is "synced", "conflict", or "" when the repo is not imported.
Implementations§
Source§impl GithubRepoView
impl GithubRepoView
pub fn new() -> GithubRepoView
Trait Implementations§
Source§impl Clone for GithubRepoView
impl Clone for GithubRepoView
Source§fn clone(&self) -> GithubRepoView
fn clone(&self) -> GithubRepoView
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 GithubRepoView
impl Debug for GithubRepoView
Source§impl Default for GithubRepoView
impl Default for GithubRepoView
Source§fn default() -> GithubRepoView
fn default() -> GithubRepoView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubRepoView
impl<'de> Deserialize<'de> for GithubRepoView
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
Source§impl PartialEq for GithubRepoView
impl PartialEq for GithubRepoView
Source§impl Serialize for GithubRepoView
impl Serialize for GithubRepoView
impl StructuralPartialEq for GithubRepoView
Auto Trait Implementations§
impl Freeze for GithubRepoView
impl RefUnwindSafe for GithubRepoView
impl Send for GithubRepoView
impl Sync for GithubRepoView
impl Unpin for GithubRepoView
impl UnsafeUnpin for GithubRepoView
impl UnwindSafe for GithubRepoView
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