pub enum Source {
CratesIo,
Github(String),
Gitea(String, String),
}Expand description
Represents the source from which to check for updates.
Variants§
CratesIo
Check for updates on crates.io.
Github(String)
Check for updates on GitHub for a specific user.
Gitea(String, String)
Check for updates on Gitea for a specific user and Gitea URL.
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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