pub enum Source {
Github {
repo: String,
prerelease: bool,
},
Http(String),
}Expand description
Where a package’s updates are published.
Variants§
Github
A GitHub repository’s releases, by its URL: https://github.com/owner/name.
Velopack reads only the 10 newest releases.
Http(String)
A feed of the app’s own, by its base URL.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin 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