pub struct ReplicationInfo {
pub enabled: bool,
pub status: String,
pub last_sync: Option<String>,
pub pending_changes: usize,
}Expand description
Replication detail within the storage status response
Fields§
§enabled: boolWhether replication is configured
status: StringCurrent status: “active”, “disabled”, or “error”
last_sync: Option<String>ISO-8601 timestamp of the last successful sync, or null
pending_changes: usizeNumber of WAL segments pending upload
Trait Implementations§
Source§impl ComposeSchema for ReplicationInfo
impl ComposeSchema for ReplicationInfo
Source§impl Debug for ReplicationInfo
impl Debug for ReplicationInfo
Source§impl<'de> Deserialize<'de> for ReplicationInfo
impl<'de> Deserialize<'de> for ReplicationInfo
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 Serialize for ReplicationInfo
impl Serialize for ReplicationInfo
Auto Trait Implementations§
impl Freeze for ReplicationInfo
impl RefUnwindSafe for ReplicationInfo
impl Send for ReplicationInfo
impl Sync for ReplicationInfo
impl Unpin for ReplicationInfo
impl UnsafeUnpin for ReplicationInfo
impl UnwindSafe for ReplicationInfo
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