pub struct ReplicationHello {
pub version: u8,
pub role: HelloRole,
pub auth_token: Option<String>,
pub since: Option<ShardWatermarks>,
}Fields§
§version: u8§role: HelloRole§auth_token: Option<String>§since: Option<ShardWatermarks>Trait Implementations§
Source§impl Clone for ReplicationHello
impl Clone for ReplicationHello
Source§fn clone(&self) -> ReplicationHello
fn clone(&self) -> ReplicationHello
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 ReplicationHello
impl Debug for ReplicationHello
Source§impl PartialEq for ReplicationHello
impl PartialEq for ReplicationHello
Source§fn eq(&self, other: &ReplicationHello) -> bool
fn eq(&self, other: &ReplicationHello) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReplicationHello
impl StructuralPartialEq for ReplicationHello
Auto Trait Implementations§
impl Freeze for ReplicationHello
impl RefUnwindSafe for ReplicationHello
impl Send for ReplicationHello
impl Sync for ReplicationHello
impl Unpin for ReplicationHello
impl UnsafeUnpin for ReplicationHello
impl UnwindSafe for ReplicationHello
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