pub struct RejoinRewindConfirmationReply {
pub ok: bool,
pub target_timeline: u64,
pub rewind_to_lsn: u64,
pub next_step: String,
}Fields§
§ok: bool§target_timeline: u64§rewind_to_lsn: u64§next_step: StringImplementations§
Source§impl RejoinRewindConfirmationReply
impl RejoinRewindConfirmationReply
pub fn confirmed(target_timeline: u64, rewind_to_lsn: u64) -> Self
pub fn encode_json(&self) -> Vec<u8> ⓘ
pub fn decode_json(bytes: &[u8]) -> Result<Self, ReplicationPayloadError>
Trait Implementations§
Source§impl Clone for RejoinRewindConfirmationReply
impl Clone for RejoinRewindConfirmationReply
Source§fn clone(&self) -> RejoinRewindConfirmationReply
fn clone(&self) -> RejoinRewindConfirmationReply
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 moreimpl Eq for RejoinRewindConfirmationReply
Source§impl PartialEq for RejoinRewindConfirmationReply
impl PartialEq for RejoinRewindConfirmationReply
Source§fn eq(&self, other: &RejoinRewindConfirmationReply) -> bool
fn eq(&self, other: &RejoinRewindConfirmationReply) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RejoinRewindConfirmationReply
Auto Trait Implementations§
impl Freeze for RejoinRewindConfirmationReply
impl RefUnwindSafe for RejoinRewindConfirmationReply
impl Send for RejoinRewindConfirmationReply
impl Sync for RejoinRewindConfirmationReply
impl Unpin for RejoinRewindConfirmationReply
impl UnsafeUnpin for RejoinRewindConfirmationReply
impl UnwindSafe for RejoinRewindConfirmationReply
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