pub enum AwsBucketKind {
GeneralPurpose,
Directory {
availability_zone_id: String,
},
}Expand description
Provider-observed AWS bucket kind. A directory bucket’s AZ ID is durable identity and must exact-match the writer’s provider-observed AZ ID.
Variants§
Implementations§
Source§impl AwsBucketKind
impl AwsBucketKind
pub const fn is_directory(&self) -> bool
pub fn availability_zone_id(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for AwsBucketKind
impl Clone for AwsBucketKind
Source§impl Debug for AwsBucketKind
impl Debug for AwsBucketKind
Source§impl<'de> Deserialize<'de> for AwsBucketKind
impl<'de> Deserialize<'de> for AwsBucketKind
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
impl Eq for AwsBucketKind
Source§impl Ord for AwsBucketKind
impl Ord for AwsBucketKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AwsBucketKind
impl PartialEq for AwsBucketKind
Source§impl PartialOrd for AwsBucketKind
impl PartialOrd for AwsBucketKind
Source§impl Serialize for AwsBucketKind
impl Serialize for AwsBucketKind
impl StructuralPartialEq for AwsBucketKind
Auto Trait Implementations§
impl Freeze for AwsBucketKind
impl RefUnwindSafe for AwsBucketKind
impl Send for AwsBucketKind
impl Sync for AwsBucketKind
impl Unpin for AwsBucketKind
impl UnsafeUnpin for AwsBucketKind
impl UnwindSafe for AwsBucketKind
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