pub struct UrlInfo {
pub size: u64,
pub name: String,
pub supports_range: bool,
pub fast_download: bool,
pub final_url: Url,
pub file_id: FileId,
}Fields§
§size: u64§name: String服务器返回的原始文件名,必须清洗掉不合法字符才能安全使用
supports_range: bool§fast_download: bool§final_url: Url§file_id: FileIdTrait Implementations§
impl Eq for UrlInfo
impl StructuralPartialEq for UrlInfo
Auto Trait Implementations§
impl Freeze for UrlInfo
impl RefUnwindSafe for UrlInfo
impl Send for UrlInfo
impl Sync for UrlInfo
impl Unpin for UrlInfo
impl UnwindSafe for UrlInfo
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