#[repr(u8)]pub enum DownloadFileType {
Gzip = 0,
TarGzip = 1,
Zip = 2,
Uncompressed = 3,
}Expand description
下载文件后缀 解压
Variants§
Trait Implementations§
Source§impl Clone for DownloadFileType
impl Clone for DownloadFileType
Source§fn clone(&self) -> DownloadFileType
fn clone(&self) -> DownloadFileType
Returns a duplicate 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 moreSource§impl Debug for DownloadFileType
impl Debug for DownloadFileType
Source§impl Ord for DownloadFileType
impl Ord for DownloadFileType
Source§fn cmp(&self, other: &DownloadFileType) -> Ordering
fn cmp(&self, other: &DownloadFileType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DownloadFileType
impl PartialEq for DownloadFileType
Source§impl PartialOrd for DownloadFileType
impl PartialOrd for DownloadFileType
impl Copy for DownloadFileType
impl Eq for DownloadFileType
impl StructuralPartialEq for DownloadFileType
Auto Trait Implementations§
impl Freeze for DownloadFileType
impl RefUnwindSafe for DownloadFileType
impl Send for DownloadFileType
impl Sync for DownloadFileType
impl Unpin for DownloadFileType
impl UnwindSafe for DownloadFileType
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