#[non_exhaustive]pub enum Type {
All,
Forks,
Internal,
Member,
Private,
Public,
Sources,
}
Expand description
The type of repository to search for.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
All repositories, usually the default.
Forks
All forked rpositories.
Internal
Only available if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+.
Member
All member repositories
Private
All private repositores
Public
All public repositories
Sources
All source repostories (a repository that is not a fork).
Trait Implementations§
impl Copy for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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