#[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 · 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 XmtpFfiKeyPackageStatus
impl Debug for XmtpFfiKeyPackageStatus
Source§impl Default for XmtpFfiKeyPackageStatus
impl Default for XmtpFfiKeyPackageStatus
Source§impl PartialEq for XmtpFfiKeyPackageStatus
impl PartialEq for XmtpFfiKeyPackageStatus
impl Copy for XmtpFfiKeyPackageStatus
impl Eq for XmtpFfiKeyPackageStatus
impl StructuralPartialEq for XmtpFfiKeyPackageStatus
Auto Trait Implementations§
impl Freeze for XmtpFfiKeyPackageStatus
impl RefUnwindSafe for XmtpFfiKeyPackageStatus
impl !Send for XmtpFfiKeyPackageStatus
impl !Sync 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