Struct dsnp_graph_sdk_ffi::AddKey
source · #[repr(C)]pub struct AddKey {
pub owner_dsnp_user_id: DsnpUserId,
pub prev_hash: PageHash,
pub payload: *mut u8,
pub payload_len: size_t,
}
Fields§
§owner_dsnp_user_id: DsnpUserId
owner of the social graph
prev_hash: PageHash
previous hash value is used to avoid updating a stale state
payload: *mut u8
social graph page data
payload_len: size_t
Auto Trait Implementations§
impl RefUnwindSafe for AddKey
impl !Send for AddKey
impl !Sync for AddKey
impl Unpin for AddKey
impl UnwindSafe for AddKey
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