pub struct ListConversationsOptions {
pub conversation_type: Option<ConversationType>,
pub limit: i64,
pub created_after_ns: i64,
pub created_before_ns: i64,
pub last_activity_after_ns: i64,
pub last_activity_before_ns: i64,
pub consent_states: Vec<ConsentState>,
pub order_by: ConversationOrderBy,
pub include_duplicate_dms: bool,
}Expand description
Options for listing conversations.
Fields§
§conversation_type: Option<ConversationType>Filter by conversation type. None = all.
limit: i64Maximum number of conversations.
created_after_ns: i64Only conversations created after this timestamp (ns).
created_before_ns: i64Only conversations created before this timestamp (ns).
last_activity_after_ns: i64Only conversations with last activity after this timestamp (ns).
last_activity_before_ns: i64Only conversations with last activity before this timestamp (ns).
consent_states: Vec<ConsentState>Filter by consent states. Empty = all.
order_by: ConversationOrderBySort order for results.
include_duplicate_dms: boolWhether to include duplicate DMs.
Trait Implementations§
Source§impl Clone for ListConversationsOptions
impl Clone for ListConversationsOptions
Source§fn clone(&self) -> ListConversationsOptions
fn clone(&self) -> ListConversationsOptions
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 ListConversationsOptions
impl Debug for ListConversationsOptions
Source§impl Default for ListConversationsOptions
impl Default for ListConversationsOptions
Source§fn default() -> ListConversationsOptions
fn default() -> ListConversationsOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListConversationsOptions
impl RefUnwindSafe for ListConversationsOptions
impl Send for ListConversationsOptions
impl Sync for ListConversationsOptions
impl Unpin for ListConversationsOptions
impl UnsafeUnpin for ListConversationsOptions
impl UnwindSafe for ListConversationsOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more