#[repr(C)]pub struct XmtpFfiKeyPackageStatus {
pub installation_id: *mut c_char,
pub valid: i32,
pub not_before: u64,
pub not_after: u64,
pub validation_error: *mut c_char,
}Expand description
Key package status for an installation.
Fields§
§installation_id: *mut c_charInstallation ID as hex string (owned).
valid: i321 if valid, 0 if validation error.
not_before: u64not_before timestamp (0 if unavailable).
not_after: u64not_after timestamp (0 if unavailable).
validation_error: *mut c_charValidation error message (null if no error, owned).
Trait Implementations§
Source§impl Clone for XmtpFfiKeyPackageStatus
impl Clone for XmtpFfiKeyPackageStatus
Source§fn clone(&self) -> XmtpFfiKeyPackageStatus
fn clone(&self) -> XmtpFfiKeyPackageStatus
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 XmtpFfiKeyPackageStatus
Source§impl Debug for XmtpFfiKeyPackageStatus
impl Debug for XmtpFfiKeyPackageStatus
Source§impl Default for XmtpFfiKeyPackageStatus
impl Default for XmtpFfiKeyPackageStatus
impl Eq for XmtpFfiKeyPackageStatus
Source§impl PartialEq for XmtpFfiKeyPackageStatus
impl PartialEq for XmtpFfiKeyPackageStatus
Source§fn eq(&self, other: &XmtpFfiKeyPackageStatus) -> bool
fn eq(&self, other: &XmtpFfiKeyPackageStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for XmtpFfiKeyPackageStatus
Auto Trait Implementations§
impl !Send for XmtpFfiKeyPackageStatus
impl !Sync for XmtpFfiKeyPackageStatus
impl Freeze for XmtpFfiKeyPackageStatus
impl RefUnwindSafe for XmtpFfiKeyPackageStatus
impl Unpin for XmtpFfiKeyPackageStatus
impl UnsafeUnpin for XmtpFfiKeyPackageStatus
impl UnwindSafe for XmtpFfiKeyPackageStatus
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