#[non_exhaustive]#[repr(i32)]pub enum XmtpFfiConsentState {
XMTP_FFI_CONSENT_STATE_UNKNOWN = 0,
XMTP_FFI_CONSENT_STATE_ALLOWED = 1,
XMTP_FFI_CONSENT_STATE_DENIED = 2,
}Expand description
Consent state for an entity.
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_CONSENT_STATE_UNKNOWN = 0
XMTP_FFI_CONSENT_STATE_ALLOWED = 1
XMTP_FFI_CONSENT_STATE_DENIED = 2
Trait Implementations§
Source§impl Clone for XmtpFfiConsentState
impl Clone for XmtpFfiConsentState
Source§fn clone(&self) -> XmtpFfiConsentState
fn clone(&self) -> XmtpFfiConsentState
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 XmtpFfiConsentState
impl Debug for XmtpFfiConsentState
Source§impl Hash for XmtpFfiConsentState
impl Hash for XmtpFfiConsentState
Source§impl PartialEq for XmtpFfiConsentState
impl PartialEq for XmtpFfiConsentState
impl Copy for XmtpFfiConsentState
impl Eq for XmtpFfiConsentState
impl StructuralPartialEq for XmtpFfiConsentState
Auto Trait Implementations§
impl Freeze for XmtpFfiConsentState
impl RefUnwindSafe for XmtpFfiConsentState
impl Send for XmtpFfiConsentState
impl Sync for XmtpFfiConsentState
impl Unpin for XmtpFfiConsentState
impl UnsafeUnpin for XmtpFfiConsentState
impl UnwindSafe for XmtpFfiConsentState
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