pub struct FilePart { /* private fields */ }
Expand description
A part of a large file currently being uploaded.
Implementations§
Source§impl FilePart
impl FilePart
pub fn file_id(&self) -> &str
pub fn part_number(&self) -> u16
pub fn content_length(&self) -> u64
pub fn sha1_checksum(&self) -> &str
pub fn md5_checksum(&self) -> Option<&String>
pub fn encryption_settings(&self) -> Option<&ServerSideEncryption>
pub fn upload_timestamp(&self) -> DateTime<Utc>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FilePart
impl<'de> Deserialize<'de> for FilePart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FilePart
impl RefUnwindSafe for FilePart
impl Send for FilePart
impl Sync for FilePart
impl Unpin for FilePart
impl UnwindSafe for FilePart
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