Struct google_cloud_storage::http::objects::rewrite::RewriteObjectResponse
source · pub struct RewriteObjectResponse {
pub total_bytes_rewritten: i64,
pub object_size: i64,
pub done: bool,
pub rewrite_token: Option<String>,
pub resource: Option<Object>,
}Expand description
A rewrite response.
Fields§
§total_bytes_rewritten: i64The 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.
object_size: i64The total size of the object being copied in bytes. This property is always present in the response.
done: booltrue if the copy is finished; otherwise, false if
the copy is in progress. 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.
resource: Option<Object>A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.
Trait Implementations§
source§impl Clone for RewriteObjectResponse
impl Clone for RewriteObjectResponse
source§fn clone(&self) -> RewriteObjectResponse
fn clone(&self) -> RewriteObjectResponse
Returns a copy of the value. Read more
1.0.0 · 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 RewriteObjectResponse
impl Debug for RewriteObjectResponse
source§impl<'de> Deserialize<'de> for RewriteObjectResponse
impl<'de> Deserialize<'de> for RewriteObjectResponse
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<RewriteObjectResponse> for RewriteObjectResponse
impl PartialEq<RewriteObjectResponse> for RewriteObjectResponse
source§fn eq(&self, other: &RewriteObjectResponse) -> bool
fn eq(&self, other: &RewriteObjectResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RewriteObjectResponse
impl Serialize for RewriteObjectResponse
impl Eq for RewriteObjectResponse
impl StructuralEq for RewriteObjectResponse
impl StructuralPartialEq for RewriteObjectResponse
Auto Trait Implementations§
impl RefUnwindSafe for RewriteObjectResponse
impl Send for RewriteObjectResponse
impl Sync for RewriteObjectResponse
impl Unpin for RewriteObjectResponse
impl UnwindSafe for RewriteObjectResponse
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.