#[non_exhaustive]#[repr(i32)]pub enum XmtpFfiConversationType {
XMTP_FFI_CONVERSATION_TYPE_DM = 0,
XMTP_FFI_CONVERSATION_TYPE_GROUP = 1,
XMTP_FFI_CONVERSATION_TYPE_SYNC = 2,
XMTP_FFI_CONVERSATION_TYPE_ONESHOT = 3,
}Expand description
Conversation type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
XMTP_FFI_CONVERSATION_TYPE_DM = 0
XMTP_FFI_CONVERSATION_TYPE_GROUP = 1
XMTP_FFI_CONVERSATION_TYPE_SYNC = 2
XMTP_FFI_CONVERSATION_TYPE_ONESHOT = 3
Trait Implementations§
Source§impl Clone for XmtpFfiConversationType
impl Clone for XmtpFfiConversationType
Source§fn clone(&self) -> XmtpFfiConversationType
fn clone(&self) -> XmtpFfiConversationType
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 XmtpFfiConversationType
impl Debug for XmtpFfiConversationType
Source§impl Hash for XmtpFfiConversationType
impl Hash for XmtpFfiConversationType
Source§impl PartialEq for XmtpFfiConversationType
impl PartialEq for XmtpFfiConversationType
impl Copy for XmtpFfiConversationType
impl Eq for XmtpFfiConversationType
impl StructuralPartialEq for XmtpFfiConversationType
Auto Trait Implementations§
impl Freeze for XmtpFfiConversationType
impl RefUnwindSafe for XmtpFfiConversationType
impl Send for XmtpFfiConversationType
impl Sync for XmtpFfiConversationType
impl Unpin for XmtpFfiConversationType
impl UnsafeUnpin for XmtpFfiConversationType
impl UnwindSafe for XmtpFfiConversationType
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