#[non_exhaustive]pub struct ReplicationStatus {
pub replication_status: Option<ReplicationStatus>,
}Expand description
The replication status of a 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.replication_status: Option<ReplicationStatus>The replication status of the SecretVersion.
Implementations§
Source§impl ReplicationStatus
impl ReplicationStatus
Sourcepub fn set_replication_status<T: Into<Option<ReplicationStatus>>>(
self,
v: T,
) -> Self
pub fn set_replication_status<T: Into<Option<ReplicationStatus>>>( self, v: T, ) -> Self
Sets the value of replication_status.
Sourcepub fn get_automatic(&self) -> Option<&Box<AutomaticStatus>>
pub fn get_automatic(&self) -> Option<&Box<AutomaticStatus>>
The value of replication_status
if it holds a Automatic, None if the field is not set or
holds a different branch.
Sourcepub fn get_user_managed(&self) -> Option<&Box<UserManagedStatus>>
pub fn get_user_managed(&self) -> Option<&Box<UserManagedStatus>>
The value of replication_status
if it holds a UserManaged, None if the field is not set or
holds a different branch.
Sourcepub fn set_automatic<T: Into<Box<AutomaticStatus>>>(self, v: T) -> Self
pub fn set_automatic<T: Into<Box<AutomaticStatus>>>(self, v: T) -> Self
Sets the value of replication_status
to hold a Automatic.
Note that all the setters affecting replication_status are
mutually exclusive.
Sourcepub fn set_user_managed<T: Into<Box<UserManagedStatus>>>(self, v: T) -> Self
pub fn set_user_managed<T: Into<Box<UserManagedStatus>>>(self, v: T) -> Self
Sets the value of replication_status
to hold a UserManaged.
Note that all the setters affecting replication_status are
mutually exclusive.
Trait Implementations§
Source§impl Clone for ReplicationStatus
impl Clone for ReplicationStatus
Source§fn clone(&self) -> ReplicationStatus
fn clone(&self) -> ReplicationStatus
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 ReplicationStatus
impl Debug for ReplicationStatus
Source§impl Default for ReplicationStatus
impl Default for ReplicationStatus
Source§fn default() -> ReplicationStatus
fn default() -> ReplicationStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplicationStatuswhere
ReplicationStatus: Default,
impl<'de> Deserialize<'de> for ReplicationStatuswhere
ReplicationStatus: 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 ReplicationStatus
impl Message for ReplicationStatus
Source§impl PartialEq for ReplicationStatus
impl PartialEq for ReplicationStatus
Source§impl Serialize for ReplicationStatus
impl Serialize for ReplicationStatus
impl StructuralPartialEq for ReplicationStatus
Auto Trait Implementations§
impl Freeze for ReplicationStatus
impl RefUnwindSafe for ReplicationStatus
impl Send for ReplicationStatus
impl Sync for ReplicationStatus
impl Unpin for ReplicationStatus
impl UnwindSafe for ReplicationStatus
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