pub struct WalStreamOpen {
pub since_lsn: u64,
pub max_count: usize,
pub replica_id: Option<String>,
pub await_data: bool,
pub await_timeout_ms: u64,
}Fields§
§since_lsn: u64§max_count: usize§replica_id: Option<String>§await_data: bool§await_timeout_ms: u64Implementations§
Source§impl WalStreamOpen
impl WalStreamOpen
pub fn encode_json(&self) -> Vec<u8> ⓘ
pub fn decode_json(bytes: &[u8]) -> Result<Self, ReplicationPayloadError>
Trait Implementations§
Source§impl Clone for WalStreamOpen
impl Clone for WalStreamOpen
Source§fn clone(&self) -> WalStreamOpen
fn clone(&self) -> WalStreamOpen
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 WalStreamOpen
impl Debug for WalStreamOpen
impl Eq for WalStreamOpen
Source§impl PartialEq for WalStreamOpen
impl PartialEq for WalStreamOpen
Source§fn eq(&self, other: &WalStreamOpen) -> bool
fn eq(&self, other: &WalStreamOpen) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WalStreamOpen
Auto Trait Implementations§
impl Freeze for WalStreamOpen
impl RefUnwindSafe for WalStreamOpen
impl Send for WalStreamOpen
impl Sync for WalStreamOpen
impl Unpin for WalStreamOpen
impl UnsafeUnpin for WalStreamOpen
impl UnwindSafe for WalStreamOpen
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