Struct google_storage1::RewriteResponse
[−]
[src]
pub struct RewriteResponse { pub object_size: Option<String>, pub kind: Option<String>, pub resource: Option<Object>, pub done: Option<bool>, pub total_bytes_rewritten: Option<String>, pub rewrite_token: Option<String>, }
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
object_size: Option<String>
The total size of the object being copied in bytes. This property is always present in the response.
kind: Option<String>
The kind of item this is.
resource: Option<Object>
A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
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.
total_bytes_rewritten: Option<String>
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.
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.
Trait Implementations
impl Debug for RewriteResponse
[src]
impl Clone for RewriteResponse
[src]
fn clone(&self) -> RewriteResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for RewriteResponse
[src]
fn default() -> RewriteResponse
Returns the "default value" for a type. Read more