pub struct BatchResponse {
pub transfer: Option<String>,
pub objects: Vec<ObjectResult>,
pub hash_algo: Option<String>,
}Expand description
Response body from /objects/batch.
Fields§
§transfer: Option<String>Transfer adapter the server picked. None means the server omitted
it; per the spec the client should assume basic.
objects: Vec<ObjectResult>Per-object results, one per ObjectSpec in the request.
hash_algo: Option<String>Hash algorithm the server expects. Absent means sha256 per the spec.
Trait Implementations§
Source§impl Clone for BatchResponse
impl Clone for BatchResponse
Source§fn clone(&self) -> BatchResponse
fn clone(&self) -> BatchResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchResponse
impl Debug for BatchResponse
Source§impl<'de> Deserialize<'de> for BatchResponse
impl<'de> Deserialize<'de> for BatchResponse
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
Source§impl PartialEq for BatchResponse
impl PartialEq for BatchResponse
Source§fn eq(&self, other: &BatchResponse) -> bool
fn eq(&self, other: &BatchResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BatchResponse
impl Serialize for BatchResponse
impl Eq for BatchResponse
impl StructuralPartialEq for BatchResponse
Auto Trait Implementations§
impl Freeze for BatchResponse
impl RefUnwindSafe for BatchResponse
impl Send for BatchResponse
impl Sync for BatchResponse
impl Unpin for BatchResponse
impl UnsafeUnpin for BatchResponse
impl UnwindSafe for BatchResponse
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.