#[repr(C)]pub struct XmtpFfiPreferenceUpdate {
pub kind: XmtpFfiPreferenceUpdateKind,
pub consent: XmtpFfiConsentRecord,
pub hmac_key: *mut u8,
pub hmac_key_len: i32,
}Expand description
A preference update exposed to C.
Fields§
§kind: XmtpFfiPreferenceUpdateKind§consent: XmtpFfiConsentRecordFor Consent: the consent record. For HmacKey: zeroed.
hmac_key: *mut u8For HmacKey: the key bytes. For Consent: null/0.
hmac_key_len: i32Trait Implementations§
Source§impl Clone for XmtpFfiPreferenceUpdate
impl Clone for XmtpFfiPreferenceUpdate
Source§fn clone(&self) -> XmtpFfiPreferenceUpdate
fn clone(&self) -> XmtpFfiPreferenceUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XmtpFfiPreferenceUpdate
Source§impl Debug for XmtpFfiPreferenceUpdate
impl Debug for XmtpFfiPreferenceUpdate
Source§impl Default for XmtpFfiPreferenceUpdate
impl Default for XmtpFfiPreferenceUpdate
impl Eq for XmtpFfiPreferenceUpdate
Source§impl PartialEq for XmtpFfiPreferenceUpdate
impl PartialEq for XmtpFfiPreferenceUpdate
Source§fn eq(&self, other: &XmtpFfiPreferenceUpdate) -> bool
fn eq(&self, other: &XmtpFfiPreferenceUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for XmtpFfiPreferenceUpdate
Auto Trait Implementations§
impl !Send for XmtpFfiPreferenceUpdate
impl !Sync for XmtpFfiPreferenceUpdate
impl Freeze for XmtpFfiPreferenceUpdate
impl RefUnwindSafe for XmtpFfiPreferenceUpdate
impl Unpin for XmtpFfiPreferenceUpdate
impl UnsafeUnpin for XmtpFfiPreferenceUpdate
impl UnwindSafe for XmtpFfiPreferenceUpdate
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