pub struct FailoverPromotionReply {
pub ok: bool,
pub holder_id: String,
pub generation: u64,
pub acquired_at_ms: u64,
pub expires_at_ms: u64,
pub timeline: u64,
pub applied_lsn: u64,
pub next_step: String,
}Fields§
§ok: bool§holder_id: String§generation: u64§acquired_at_ms: u64§expires_at_ms: u64§timeline: u64§applied_lsn: u64§next_step: StringImplementations§
Trait Implementations§
Source§impl Clone for FailoverPromotionReply
impl Clone for FailoverPromotionReply
Source§fn clone(&self) -> FailoverPromotionReply
fn clone(&self) -> FailoverPromotionReply
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 FailoverPromotionReply
impl Debug for FailoverPromotionReply
impl Eq for FailoverPromotionReply
Source§impl PartialEq for FailoverPromotionReply
impl PartialEq for FailoverPromotionReply
Source§fn eq(&self, other: &FailoverPromotionReply) -> bool
fn eq(&self, other: &FailoverPromotionReply) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FailoverPromotionReply
Auto Trait Implementations§
impl Freeze for FailoverPromotionReply
impl RefUnwindSafe for FailoverPromotionReply
impl Send for FailoverPromotionReply
impl Sync for FailoverPromotionReply
impl Unpin for FailoverPromotionReply
impl UnsafeUnpin for FailoverPromotionReply
impl UnwindSafe for FailoverPromotionReply
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