Struct oma_fetch::DownloadSource
source · pub struct DownloadSource { /* private fields */ }Implementations§
source§impl DownloadSource
impl DownloadSource
pub fn new(url: String, source_type: DownloadSourceType) -> Self
Trait Implementations§
source§impl Clone for DownloadSource
impl Clone for DownloadSource
source§fn clone(&self) -> DownloadSource
fn clone(&self) -> DownloadSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for DownloadSource
impl Send for DownloadSource
impl Sync for DownloadSource
impl Unpin for DownloadSource
impl UnwindSafe for DownloadSource
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