#[repr(C)]pub struct XmtpFfiListConversationsOptions {
pub conversation_type: i32,
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: *const i32,
pub consent_states_count: i32,
pub order_by: i32,
pub include_duplicate_dms: i32,
}Expand description
Options for listing conversations.
Fields§
§conversation_type: i32Conversation type filter: -1 = all, 0 = DM, 1 = Group.
limit: i64Maximum number of conversations to return. 0 = no limit.
created_after_ns: i64Only include conversations created after this timestamp (ns). 0 = no filter.
created_before_ns: i64Only include conversations created before this timestamp (ns). 0 = no filter.
last_activity_after_ns: i64Only include conversations with last activity after this timestamp (ns). 0 = no filter.
last_activity_before_ns: i64Only include conversations with last activity before this timestamp (ns). 0 = no filter.
consent_states: *const i32Consent state filter (parallel array with consent_states_count).
Values: 0 = Unknown, 1 = Allowed, 2 = Denied.
consent_states_count: i32Number of consent states in the filter. 0 = no filter.
order_by: i32Order by: 0 = CreatedAt (default), 1 = LastActivity.
include_duplicate_dms: i32Whether to include duplicate DMs. 0 = no (default), 1 = yes.
Trait Implementations§
Source§impl Clone for XmtpFfiListConversationsOptions
impl Clone for XmtpFfiListConversationsOptions
Source§fn clone(&self) -> XmtpFfiListConversationsOptions
fn clone(&self) -> XmtpFfiListConversationsOptions
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 PartialEq for XmtpFfiListConversationsOptions
impl PartialEq for XmtpFfiListConversationsOptions
Source§fn eq(&self, other: &XmtpFfiListConversationsOptions) -> bool
fn eq(&self, other: &XmtpFfiListConversationsOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for XmtpFfiListConversationsOptions
impl Eq for XmtpFfiListConversationsOptions
impl StructuralPartialEq for XmtpFfiListConversationsOptions
Auto Trait Implementations§
impl Freeze for XmtpFfiListConversationsOptions
impl RefUnwindSafe for XmtpFfiListConversationsOptions
impl !Send for XmtpFfiListConversationsOptions
impl !Sync for XmtpFfiListConversationsOptions
impl Unpin for XmtpFfiListConversationsOptions
impl UnsafeUnpin for XmtpFfiListConversationsOptions
impl UnwindSafe for XmtpFfiListConversationsOptions
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