#[repr(C)]pub struct cose_key {
pub kty: cose_kty_t,
pub algo: cose_algo_t,
pub crv: cose_curve_t,
pub kid: *mut uint8_t,
pub kid_len: size_t,
pub x: *mut uint8_t,
pub y: *mut uint8_t,
pub d: *mut uint8_t,
}
Fields§
§kty: cose_kty_t
§algo: cose_algo_t
§crv: cose_curve_t
§kid: *mut uint8_t
§kid_len: size_t
§x: *mut uint8_t
§y: *mut uint8_t
§d: *mut uint8_t
Trait Implementations§
Auto Trait Implementations§
impl Freeze for cose_key
impl RefUnwindSafe for cose_key
impl !Send for cose_key
impl !Sync for cose_key
impl Unpin for cose_key
impl UnwindSafe for cose_key
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes