pub struct B2FileHeaders {Show 16 fields
pub content_length: ContentLength,
pub content_type: ContentType,
pub file_id: Box<str>,
pub file_name: Box<str>,
pub file_sha1: Box<str>,
pub info: HeaderMap,
pub upload_timestamp: u64,
pub content_disposition: Option<ContentDisposition>,
pub content_language: Option<Box<str>>,
pub expires: Option<Expires>,
pub cache_control: Option<CacheControl>,
pub encryption: Option<B2FileEncryptionHeaders>,
pub retention_mode: Option<B2FileRetentionMode>,
pub retain_until: Option<u64>,
pub legal_hold: Option<bool>,
pub unauthorized_to_read: Option<Box<str>>,
}Fields§
§content_length: ContentLength§content_type: ContentType§file_id: Box<str>§file_name: Box<str>§file_sha1: Box<str>§info: HeaderMap§upload_timestamp: u64§content_disposition: Option<ContentDisposition>§content_language: Option<Box<str>>§expires: Option<Expires>§cache_control: Option<CacheControl>§encryption: Option<B2FileEncryptionHeaders>§retention_mode: Option<B2FileRetentionMode>§retain_until: Option<u64>§legal_hold: Option<bool>Auto Trait Implementations§
impl !Freeze for B2FileHeaders
impl RefUnwindSafe for B2FileHeaders
impl Send for B2FileHeaders
impl Sync for B2FileHeaders
impl Unpin for B2FileHeaders
impl UnwindSafe for B2FileHeaders
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