#[non_exhaustive]pub enum FetchDefault {
Origin,
GitHub {
token: String,
repository: String,
},
}Expand description
How to fetch origin/<branch> when that ref is missing.
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.
Implementations§
Source§impl FetchDefault
impl FetchDefault
Trait Implementations§
Auto Trait Implementations§
impl Forget for FetchDefault
impl Freeze for FetchDefault
impl Move for FetchDefault
impl RefUnwindSafe for FetchDefault
impl Send for FetchDefaultwhere
RawVecInner: Send,
impl Sync for FetchDefaultwhere
RawVecInner: Sync,
impl Unpin for FetchDefault
impl UnsafeUnpin for FetchDefault
impl UnwindSafe for FetchDefaultwhere
RawVecInner: UnwindSafe,
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