pub struct UrlInfo {
pub size: u64,
pub raw_name: String,
pub supports_range: bool,
pub fast_download: bool,
pub final_url: Url,
pub file_id: FileId,
pub content_type: Option<String>,
}Fields§
§size: u64§raw_name: StringRaw filename returned by the server. Sanitize invalid characters before using it safely.
Enable the sanitize-filename feature to use the filename() method for sanitization.
supports_range: bool§fast_download: bool§final_url: Url§file_id: FileId§content_type: Option<String>Trait 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 UnsafeUnpin 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