pub struct CatchUpConfig {
pub since: Option<u64>,
pub limit: Option<u32>,
}Expand description
Configuration for catching up on historical messages
Fields§
§since: Option<u64>How far back to catch up (in messages or time)
limit: Option<u32>Maximum number of messages to catch up
Trait Implementations§
Source§impl Clone for CatchUpConfig
impl Clone for CatchUpConfig
Source§fn clone(&self) -> CatchUpConfig
fn clone(&self) -> CatchUpConfig
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 CatchUpConfig
impl Debug for CatchUpConfig
Source§impl<'de> Deserialize<'de> for CatchUpConfig
impl<'de> Deserialize<'de> for CatchUpConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CatchUpConfig
impl PartialEq for CatchUpConfig
Source§impl Serialize for CatchUpConfig
impl Serialize for CatchUpConfig
impl StructuralPartialEq for CatchUpConfig
Auto Trait Implementations§
impl Freeze for CatchUpConfig
impl RefUnwindSafe for CatchUpConfig
impl Send for CatchUpConfig
impl Sync for CatchUpConfig
impl Unpin for CatchUpConfig
impl UnwindSafe for CatchUpConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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