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
sourceimpl Clone for Versioning
impl Clone for Versioning
sourcefn clone(&self) -> Versioning
fn clone(&self) -> Versioning
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Versioning
impl Debug for Versioning
sourceimpl<'de> Deserialize<'de> for Versioning
impl<'de> Deserialize<'de> for Versioning
sourcefn 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
sourceimpl PartialEq<Versioning> for Versioning
impl PartialEq<Versioning> for Versioning
sourcefn eq(&self, other: &Versioning) -> bool
fn eq(&self, other: &Versioning) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.