Struct google_storage1::api::RewriteResponse
source · 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 more