#[non_exhaustive]#[repr(i32)]pub enum XmtpFfiGroupPermissionsPreset {
XMTP_FFI_GROUP_PERMISSIONS_PRESET_ALL_MEMBERS = 0,
XMTP_FFI_GROUP_PERMISSIONS_PRESET_ADMIN_ONLY = 1,
XMTP_FFI_GROUP_PERMISSIONS_PRESET_CUSTOM = 2,
}Expand description
Group permissions preset.
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_GROUP_PERMISSIONS_PRESET_ALL_MEMBERS = 0
XMTP_FFI_GROUP_PERMISSIONS_PRESET_ADMIN_ONLY = 1
XMTP_FFI_GROUP_PERMISSIONS_PRESET_CUSTOM = 2
Trait Implementations§
Source§impl Clone for XmtpFfiGroupPermissionsPreset
impl Clone for XmtpFfiGroupPermissionsPreset
Source§fn clone(&self) -> XmtpFfiGroupPermissionsPreset
fn clone(&self) -> XmtpFfiGroupPermissionsPreset
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 Hash for XmtpFfiGroupPermissionsPreset
impl Hash for XmtpFfiGroupPermissionsPreset
Source§impl PartialEq for XmtpFfiGroupPermissionsPreset
impl PartialEq for XmtpFfiGroupPermissionsPreset
Source§fn eq(&self, other: &XmtpFfiGroupPermissionsPreset) -> bool
fn eq(&self, other: &XmtpFfiGroupPermissionsPreset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for XmtpFfiGroupPermissionsPreset
impl Eq for XmtpFfiGroupPermissionsPreset
impl StructuralPartialEq for XmtpFfiGroupPermissionsPreset
Auto Trait Implementations§
impl Freeze for XmtpFfiGroupPermissionsPreset
impl RefUnwindSafe for XmtpFfiGroupPermissionsPreset
impl Send for XmtpFfiGroupPermissionsPreset
impl Sync for XmtpFfiGroupPermissionsPreset
impl Unpin for XmtpFfiGroupPermissionsPreset
impl UnsafeUnpin for XmtpFfiGroupPermissionsPreset
impl UnwindSafe for XmtpFfiGroupPermissionsPreset
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