pub struct GithubImportIn {
pub all: Option<bool>,
pub repos: Option<Vec<String>>,
}Fields§
§all: Option<bool>All imports every repository the installation grants, instead of naming them. Archived and disabled repositories are skipped either way — they cannot be fetched.
repos: Option<Vec<String>>Repos names the repositories to import, either owner-qualified ("hanzo-apps/ai") or as a bare name ("ai"); a trailing ".git" is stripped. A bare name that matches more than one granted repository is an error rather than a guess, because one Hanzo org may hold several GitHub installations and a name is only unique within an owner. Ignored when all is true.
Implementations§
Source§impl GithubImportIn
impl GithubImportIn
pub fn new() -> GithubImportIn
Trait Implementations§
Source§impl Clone for GithubImportIn
impl Clone for GithubImportIn
Source§fn clone(&self) -> GithubImportIn
fn clone(&self) -> GithubImportIn
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 GithubImportIn
impl Debug for GithubImportIn
Source§impl Default for GithubImportIn
impl Default for GithubImportIn
Source§fn default() -> GithubImportIn
fn default() -> GithubImportIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubImportIn
impl<'de> Deserialize<'de> for GithubImportIn
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 GithubImportIn
impl PartialEq for GithubImportIn
Source§impl Serialize for GithubImportIn
impl Serialize for GithubImportIn
impl StructuralPartialEq for GithubImportIn
Auto Trait Implementations§
impl Freeze for GithubImportIn
impl RefUnwindSafe for GithubImportIn
impl Send for GithubImportIn
impl Sync for GithubImportIn
impl Unpin for GithubImportIn
impl UnsafeUnpin for GithubImportIn
impl UnwindSafe for GithubImportIn
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