pub struct FailoverPromotionReply {
pub ok: bool,
pub holder_id: String,
pub generation: u64,
pub acquired_at_ms: u64,
pub expires_at_ms: u64,
pub term: 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§term: u64§timeline: u64§applied_lsn: u64§next_step: StringImplementations§
Trait Implementations§
Source§impl Clone for FailoverPromotionReply
impl Clone for FailoverPromotionReply
Source§impl Debug for FailoverPromotionReply
impl Debug for FailoverPromotionReply
impl Eq for FailoverPromotionReply
Source§impl PartialEq for FailoverPromotionReply
impl PartialEq for FailoverPromotionReply
impl StructuralPartialEq for FailoverPromotionReply
Auto Trait Implementations§
impl Forget for FailoverPromotionReply
impl Freeze for FailoverPromotionReply
impl Move for FailoverPromotionReply
impl RefUnwindSafe for FailoverPromotionReply
impl Send for FailoverPromotionReplywhere
RawVecInner: Send,
impl Sync for FailoverPromotionReplywhere
RawVecInner: Sync,
impl Unpin for FailoverPromotionReply
impl UnsafeUnpin for FailoverPromotionReply
impl UnwindSafe for FailoverPromotionReplywhere
RawVecInner: UnwindSafe,
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