pub struct ChangesStreamOptions {
pub since: Seq,
pub live: bool,
pub include_docs: bool,
pub doc_ids: Option<Vec<String>>,
pub limit: Option<u64>,
pub poll_interval: Duration,
}Expand description
Configuration for a changes stream.
Fields§
§since: Seq§live: bool§include_docs: bool§doc_ids: Option<Vec<String>>§limit: Option<u64>§poll_interval: DurationPolling interval for live mode when no broadcast channel is available.
Trait Implementations§
Source§impl Clone for ChangesStreamOptions
impl Clone for ChangesStreamOptions
Source§fn clone(&self) -> ChangesStreamOptions
fn clone(&self) -> ChangesStreamOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 ChangesStreamOptions
impl Debug for ChangesStreamOptions
Auto Trait Implementations§
impl Freeze for ChangesStreamOptions
impl RefUnwindSafe for ChangesStreamOptions
impl Send for ChangesStreamOptions
impl Sync for ChangesStreamOptions
impl Unpin for ChangesStreamOptions
impl UnwindSafe for ChangesStreamOptions
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