pub struct FilePart { /* private fields */ }Expand description
A part of a large file currently being uploaded.
Implementations
sourceimpl 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
sourceimpl<'de> Deserialize<'de> for FilePart
impl<'de> Deserialize<'de> for FilePart
sourcefn 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 RefUnwindSafe for FilePart
impl Send for FilePart
impl Sync for FilePart
impl Unpin for FilePart
impl UnwindSafe for FilePart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more