pub struct PartInfo {
pub part_number: NonZero<u32>,
pub etag: String,
pub last_modified: SystemTime,
pub size: u64,
}Expand description
Information about a single uploaded part, as returned by list-parts.
Fields§
§part_number: NonZero<u32>The part number.
etag: StringOpaque identifier of the part.
last_modified: SystemTimeWhen the part was last modified.
size: u64Size of the part in bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartInfo
impl<'de> Deserialize<'de> for PartInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PartInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PartInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<PartInfo> for CompletePart
impl From<PartInfo> for CompletePart
Source§fn from(info: PartInfo) -> CompletePart
fn from(info: PartInfo) -> CompletePart
Converts to this type from the input type.
Source§impl Serialize for PartInfo
impl Serialize for PartInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PartInfo
impl RefUnwindSafe for PartInfo
impl Send for PartInfo
impl Sync for PartInfo
impl Unpin for PartInfo
impl UnsafeUnpin for PartInfo
impl UnwindSafe for PartInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more