Add MPU table

This commit is contained in:
Arthur Carcano
2026-04-27 17:31:49 +02:00
committed by Alex
parent 6ddae5397c
commit 6a097e7de3
4 changed files with 106 additions and 0 deletions
+2
View File
@@ -48,6 +48,7 @@ mod v09 {
}
#[derive(PartialEq, Eq, Clone, Copy, Debug, Serialize, Deserialize)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
pub struct MpuPartKey {
/// Number of the part
pub part_number: u64,
@@ -57,6 +58,7 @@ mod v09 {
/// The version of an uploaded part
#[derive(PartialEq, Eq, Clone, Debug, Serialize, Deserialize)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
pub struct MpuPart {
/// Links to a Version in `VersionTable`
pub version: Uuid,
+1
View File
@@ -291,6 +291,7 @@ mod v010 {
/// Checksum value for x-amz-checksum-algorithm
#[derive(PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Debug, Serialize, Deserialize)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
pub enum ChecksumValue {
Crc32(#[serde(with = "serde_bytes")] [u8; 4]),
Crc32c(#[serde(with = "serde_bytes")] [u8; 4]),