pub struct CatchUpOptions {
pub min_trust: Option<f64>,
pub max: Option<u32>,
}Expand description
The options argument of catch_up.
Fields§
§min_trust: Option<f64>Chats you trust at least this much, in [0, 1]. Defaults to 0.1.
max: Option<u32>Most messages to return, 1 to 500. Defaults to 100.
Trait Implementations§
Source§impl Clone for CatchUpOptions
impl Clone for CatchUpOptions
impl Copy for CatchUpOptions
Source§impl Debug for CatchUpOptions
impl Debug for CatchUpOptions
Auto Trait Implementations§
impl Freeze for CatchUpOptions
impl RefUnwindSafe for CatchUpOptions
impl Send for CatchUpOptions
impl Sync for CatchUpOptions
impl Unpin for CatchUpOptions
impl UnsafeUnpin for CatchUpOptions
impl UnwindSafe for CatchUpOptions
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