pub struct ReplicationStatusResponse {
pub status: String,
pub stats: ReplicationStats,
pub message: Option<String>,
}Expand description
Response for replication status endpoint
Fields§
§status: StringOverall status message
stats: ReplicationStatsDetailed replication statistics
message: Option<String>Optional message with additional information
Trait Implementations§
Source§impl Clone for ReplicationStatusResponse
impl Clone for ReplicationStatusResponse
Source§fn clone(&self) -> ReplicationStatusResponse
fn clone(&self) -> ReplicationStatusResponse
Returns a duplicate 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 ReplicationStatusResponse
impl Debug for ReplicationStatusResponse
Source§impl<'de> Deserialize<'de> for ReplicationStatusResponse
impl<'de> Deserialize<'de> for ReplicationStatusResponse
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 ReplicationStatusResponse
impl RefUnwindSafe for ReplicationStatusResponse
impl Send for ReplicationStatusResponse
impl Sync for ReplicationStatusResponse
impl Unpin for ReplicationStatusResponse
impl UnwindSafe for ReplicationStatusResponse
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