pub struct MessageQuery {
pub after: Option<i64>,
pub before: Option<i64>,
pub limit: usize,
pub order: SortOrder,
pub visibility: Option<Visibility>,
pub run_id: Option<String>,
}Expand description
Cursor-based pagination parameters for messages.
Fields§
§after: Option<i64>Return messages with cursor strictly greater than this value.
before: Option<i64>Return messages with cursor strictly less than this value.
limit: usizeMaximum number of messages to return (clamped to 1..=200).
order: SortOrderSort order.
visibility: Option<Visibility>Filter by message visibility. None means return all messages.
run_id: Option<String>Filter by run ID. None means return all runs.
Trait Implementations§
Source§impl Clone for MessageQuery
impl Clone for MessageQuery
Source§fn clone(&self) -> MessageQuery
fn clone(&self) -> MessageQuery
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 MessageQuery
impl Debug for MessageQuery
Auto Trait Implementations§
impl Freeze for MessageQuery
impl RefUnwindSafe for MessageQuery
impl Send for MessageQuery
impl Sync for MessageQuery
impl Unpin for MessageQuery
impl UnsafeUnpin for MessageQuery
impl UnwindSafe for MessageQuery
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