pub struct EncodedMessagePage<M: Serialize> {
pub messages: Vec<M>,
pub has_more: bool,
pub next_cursor: Option<i64>,
pub prev_cursor: Option<i64>,
}Fields§
§messages: Vec<M>§has_more: bool§next_cursor: Option<i64>§prev_cursor: Option<i64>Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for EncodedMessagePage<M>
impl<M> RefUnwindSafe for EncodedMessagePage<M>where
M: RefUnwindSafe,
impl<M> Send for EncodedMessagePage<M>where
M: Send,
impl<M> Sync for EncodedMessagePage<M>where
M: Sync,
impl<M> Unpin for EncodedMessagePage<M>where
M: Unpin,
impl<M> UnwindSafe for EncodedMessagePage<M>where
M: UnwindSafe,
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