pub struct MessageHistoryOptions {
pub mode: Option<MessageHistoryMode>,
pub query: Option<String>,
pub sender: Option<String>,
pub before_event_id: Option<String>,
pub limit: Option<u32>,
}Expand description
Filters for a non-consuming history read.
Fields§
§mode: Option<MessageHistoryMode>§query: Option<String>§sender: Option<String>Requires CCCC 0.4.50 or later; older daemons silently ignore this filter.
before_event_id: Option<String>§limit: Option<u32>Trait Implementations§
Source§impl Clone for MessageHistoryOptions
impl Clone for MessageHistoryOptions
Source§impl Debug for MessageHistoryOptions
impl Debug for MessageHistoryOptions
Auto Trait Implementations§
impl Forget for MessageHistoryOptions
impl Freeze for MessageHistoryOptions
impl Move for MessageHistoryOptions
impl RefUnwindSafe for MessageHistoryOptions
impl Send for MessageHistoryOptions
impl Sync for MessageHistoryOptions
impl Unpin for MessageHistoryOptions
impl UnsafeUnpin for MessageHistoryOptions
impl UnwindSafe for MessageHistoryOptions
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