pub struct MessageListOptions {
pub limit: Option<i32>,
pub iterator: Option<String>,
pub channel: Option<String>,
pub before: Option<String>,
pub after: Option<String>,
pub with_content: Option<bool>,
pub tag: Option<String>,
pub event_types: Option<Vec<String>>,
}
Fields§
§limit: Option<i32>
Limit the number of returned items
iterator: Option<String>
The iterator returned from a prior invocation
channel: Option<String>
Filter response based on the channel
before: Option<String>
Only include items created before a certain date
RFC3339 date string.
after: Option<String>
Only include items created after a certain date
RFC3339 date string.
with_content: Option<bool>
When true
message payloads are included in the response
tag: Option<String>
Filter messages matching the provided tag
event_types: Option<Vec<String>>
Filter response based on the event type
Trait Implementations§
Source§impl Default for MessageListOptions
impl Default for MessageListOptions
Source§fn default() -> MessageListOptions
fn default() -> MessageListOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageListOptions
impl RefUnwindSafe for MessageListOptions
impl Send for MessageListOptions
impl Sync for MessageListOptions
impl Unpin for MessageListOptions
impl UnwindSafe for MessageListOptions
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