#[non_exhaustive]pub struct ReplicaStatus {
pub location: String,
pub customer_managed_encryption: Option<CustomerManagedEncryptionStatus>,
}Expand description
Describes the status of a user-managed replica for the SecretVersion.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.location: StringOutput only. The canonical ID of the replica location.
For example: "us-east1".
customer_managed_encryption: Option<CustomerManagedEncryptionStatus>Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.
Implementations§
Source§impl ReplicaStatus
impl ReplicaStatus
Sourcepub fn set_location<T: Into<String>>(self, v: T) -> Self
pub fn set_location<T: Into<String>>(self, v: T) -> Self
Sets the value of location.
Sourcepub fn set_customer_managed_encryption<T: Into<Option<CustomerManagedEncryptionStatus>>>(
self,
v: T,
) -> Self
pub fn set_customer_managed_encryption<T: Into<Option<CustomerManagedEncryptionStatus>>>( self, v: T, ) -> Self
Sets the value of customer_managed_encryption.
Trait Implementations§
Source§impl Clone for ReplicaStatus
impl Clone for ReplicaStatus
Source§fn clone(&self) -> ReplicaStatus
fn clone(&self) -> ReplicaStatus
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 ReplicaStatus
impl Debug for ReplicaStatus
Source§impl Default for ReplicaStatus
impl Default for ReplicaStatus
Source§fn default() -> ReplicaStatus
fn default() -> ReplicaStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplicaStatuswhere
ReplicaStatus: Default,
impl<'de> Deserialize<'de> for ReplicaStatuswhere
ReplicaStatus: Default,
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 Message for ReplicaStatus
impl Message for ReplicaStatus
Source§impl PartialEq for ReplicaStatus
impl PartialEq for ReplicaStatus
Source§impl Serialize for ReplicaStatus
impl Serialize for ReplicaStatus
impl StructuralPartialEq for ReplicaStatus
Auto Trait Implementations§
impl Freeze for ReplicaStatus
impl RefUnwindSafe for ReplicaStatus
impl Send for ReplicaStatus
impl Sync for ReplicaStatus
impl Unpin for ReplicaStatus
impl UnwindSafe for ReplicaStatus
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