pub struct RewriteResponse {
pub done: Option<bool>,
pub kind: Option<String>,
pub object_size: Option<i64>,
pub resource: Option<Object>,
pub rewrite_token: Option<String>,
pub total_bytes_rewritten: Option<i64>,
}
Expand description
A rewrite response.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- rewrite objects (response)
Fields§
§done: Option<bool>
true if the copy is finished; otherwise, false if the copy is in progress. This property is always present in the response.
kind: Option<String>
The kind of item this is.
object_size: Option<i64>
The total size of the object being copied in bytes. This property is always present in the response.
resource: Option<Object>
A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
rewrite_token: Option<String>
A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy.
total_bytes_rewritten: Option<i64>
The total bytes written so far, which can be used to provide a waiting user with a progress indicator. This property is always present in the response.
Trait Implementations§
Source§impl Clone for RewriteResponse
impl Clone for RewriteResponse
Source§fn clone(&self) -> RewriteResponse
fn clone(&self) -> RewriteResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RewriteResponse
impl Debug for RewriteResponse
Source§impl Default for RewriteResponse
impl Default for RewriteResponse
Source§fn default() -> RewriteResponse
fn default() -> RewriteResponse
Source§impl<'de> Deserialize<'de> for RewriteResponse
impl<'de> Deserialize<'de> for RewriteResponse
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>,
Source§impl Serialize for RewriteResponse
impl Serialize for RewriteResponse
impl ResponseResult for RewriteResponse
Auto Trait Implementations§
impl Freeze for RewriteResponse
impl RefUnwindSafe for RewriteResponse
impl Send for RewriteResponse
impl Sync for RewriteResponse
impl Unpin for RewriteResponse
impl UnwindSafe for RewriteResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
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>
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