pub struct PutOutcome {
pub version_id: String,
pub versioned_response: bool,
}Expand description
record_put / record_delete の戻り値。handler 側で response の
x-amz-version-id 等を組み立てるために使う。
Fields§
§version_id: String新規採番された (or "null") version_id。
versioned_response: bool当該 PUT が Enabled bucket で行われたか (= response に x-amz-version-id
を含めるべきか) を示す。Unversioned bucket では false → handler は
version_id を response に出さない。
Trait Implementations§
Source§impl Clone for PutOutcome
impl Clone for PutOutcome
Source§fn clone(&self) -> PutOutcome
fn clone(&self) -> PutOutcome
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 moreAuto Trait Implementations§
impl Freeze for PutOutcome
impl RefUnwindSafe for PutOutcome
impl Send for PutOutcome
impl Sync for PutOutcome
impl Unpin for PutOutcome
impl UnsafeUnpin for PutOutcome
impl UnwindSafe for PutOutcome
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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