Struct google_cloud_storage::http::buckets::Versioning
source · pub struct Versioning {
pub enabled: bool,
}Expand description
Properties of a bucket related to versioning. For more on GCS versioning, see https://cloud.google.com/storage/docs/object-versioning.
Fields§
§enabled: boolWhile set to true, versioning is fully enabled for this bucket.
Trait Implementations§
source§impl Clone for Versioning
impl Clone for Versioning
source§fn clone(&self) -> Versioning
fn clone(&self) -> Versioning
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 Versioning
impl Debug for Versioning
source§impl<'de> Deserialize<'de> for Versioning
impl<'de> Deserialize<'de> for Versioning
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<Versioning> for Versioning
impl PartialEq<Versioning> for Versioning
source§fn eq(&self, other: &Versioning) -> bool
fn eq(&self, other: &Versioning) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for Versioning
impl Serialize for Versioning
impl Eq for Versioning
impl StructuralEq for Versioning
impl StructuralPartialEq for Versioning
Auto Trait Implementations§
impl RefUnwindSafe for Versioning
impl Send for Versioning
impl Sync for Versioning
impl Unpin for Versioning
impl UnwindSafe for Versioning
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.