pub struct DiffChecksumsResponse {
pub checksums_location: Option<CompositeMedia>,
pub chunk_size_bytes: Option<i64>,
pub object_location: Option<CompositeMedia>,
pub object_size_bytes: Option<i64>,
pub object_version: Option<String>,
}Expand description
Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.
This type is not used in any activity, and only used as part of another schema.
Fields§
§checksums_location: Option<CompositeMedia>Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol.
chunk_size_bytes: Option<i64>The chunk size of checksums. Must be a multiple of 256KB.
object_location: Option<CompositeMedia>If set, calculate the checksums based on the contents and return them to the caller.
object_size_bytes: Option<i64>The total size of the server object.
object_version: Option<String>The object version of the object the checksums are being returned for.
Trait Implementations§
Source§impl Clone for DiffChecksumsResponse
impl Clone for DiffChecksumsResponse
Source§fn clone(&self) -> DiffChecksumsResponse
fn clone(&self) -> DiffChecksumsResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more