pub struct CatchupModeReply {
pub mode: CatchupMode,
pub available_from_lsn: Option<u64>,
pub replica_lsn: Option<u64>,
pub reason: Option<String>,
}Fields§
§mode: CatchupMode§available_from_lsn: Option<u64>§replica_lsn: Option<u64>§reason: Option<String>Implementations§
Source§impl CatchupModeReply
impl CatchupModeReply
pub fn encode_json(&self) -> Vec<u8> ⓘ
pub fn decode_json(bytes: &[u8]) -> Result<Self, ReplicationPayloadError>
Trait Implementations§
Source§impl Clone for CatchupModeReply
impl Clone for CatchupModeReply
Source§fn clone(&self) -> CatchupModeReply
fn clone(&self) -> CatchupModeReply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CatchupModeReply
impl Debug for CatchupModeReply
impl Eq for CatchupModeReply
Source§impl PartialEq for CatchupModeReply
impl PartialEq for CatchupModeReply
Source§fn eq(&self, other: &CatchupModeReply) -> bool
fn eq(&self, other: &CatchupModeReply) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CatchupModeReply
Auto Trait Implementations§
impl Freeze for CatchupModeReply
impl RefUnwindSafe for CatchupModeReply
impl Send for CatchupModeReply
impl Sync for CatchupModeReply
impl Unpin for CatchupModeReply
impl UnsafeUnpin for CatchupModeReply
impl UnwindSafe for CatchupModeReply
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