pub struct Crdb {
pub guid: String,
pub name: String,
pub status: String,
pub memory_size: u64,
pub instances: Vec<CrdbInstance>,
pub encryption: Option<bool>,
pub data_persistence: Option<String>,
pub replication: Option<bool>,
pub eviction_policy: Option<String>,
pub extra: Value,
}
Expand description
CRDB (Active-Active Database) information
Fields§
§guid: String
The GUID of the Active-Active database
name: String
Name of Active-Active database
status: String
Current status of the Active-Active database
memory_size: u64
Database memory size limit, in bytes
instances: Vec<CrdbInstance>
List of participating instances in the Active-Active setup
encryption: Option<bool>
Whether communication encryption is enabled
data_persistence: Option<String>
Database on-disk persistence policy
replication: Option<bool>
Whether database replication is enabled
eviction_policy: Option<String>
Data eviction policy (e.g., ‘allkeys-lru’, ‘volatile-lru’)
extra: Value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Crdb
impl<'de> Deserialize<'de> for Crdb
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
Auto Trait Implementations§
impl Freeze for Crdb
impl RefUnwindSafe for Crdb
impl Send for Crdb
impl Sync for Crdb
impl Unpin for Crdb
impl UnwindSafe for Crdb
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