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 for Versioning
impl PartialEq for Versioning
source§impl Serialize for Versioning
impl Serialize for Versioning
impl Eq for Versioning
impl StructuralPartialEq for Versioning
Auto Trait Implementations§
impl Freeze for Versioning
impl RefUnwindSafe for Versioning
impl Send for Versioning
impl Sync for Versioning
impl Unpin for Versioning
impl UnwindSafe for Versioning
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)