pub struct CatchUpRequest {
pub filter: Filter,
pub since: Option<String>,
pub max_messages: Option<usize>,
pub request_id: u32,
}Expand description
Type-safe catch-up request for historical messages
Fields§
§filter: Filter§since: Option<String>§max_messages: Option<usize>§request_id: u32Implementations§
Source§impl CatchUpRequest
impl CatchUpRequest
Sourcepub fn for_channel(
channel_id: Vec<u8>,
since: Option<String>,
max_messages: Option<usize>,
request_id: u32,
) -> Self
pub fn for_channel( channel_id: Vec<u8>, since: Option<String>, max_messages: Option<usize>, request_id: u32, ) -> Self
Convenience constructor for channel catch-up
Convenience constructor for author catch-up
Trait Implementations§
Source§impl Clone for CatchUpRequest
impl Clone for CatchUpRequest
Source§fn clone(&self) -> CatchUpRequest
fn clone(&self) -> CatchUpRequest
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 CatchUpRequest
impl Debug for CatchUpRequest
Source§impl<'de> Deserialize<'de> for CatchUpRequest
impl<'de> Deserialize<'de> for CatchUpRequest
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
Auto Trait Implementations§
impl Freeze for CatchUpRequest
impl RefUnwindSafe for CatchUpRequest
impl Send for CatchUpRequest
impl Sync for CatchUpRequest
impl Unpin for CatchUpRequest
impl UnwindSafe for CatchUpRequest
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