pub struct PrivateDocumentRecipient<'a> {
pub identity_id: [u8; 32],
pub public_key: &'a PublicKey,
}Expand description
Whom an entry is for: the identity, written in the body so that an entry cannot be replayed to another identity holding the same key, and the key it is encrypted to. For DashPay, the recipient’s DashPay decryption key.
Fields§
§identity_id: [u8; 32]§public_key: &'a PublicKeyTrait Implementations§
Source§impl<'a> Clone for PrivateDocumentRecipient<'a>
impl<'a> Clone for PrivateDocumentRecipient<'a>
impl<'a> Copy for PrivateDocumentRecipient<'a>
Auto Trait Implementations§
impl<'a> Freeze for PrivateDocumentRecipient<'a>
impl<'a> RefUnwindSafe for PrivateDocumentRecipient<'a>
impl<'a> Send for PrivateDocumentRecipient<'a>
impl<'a> Sync for PrivateDocumentRecipient<'a>
impl<'a> Unpin for PrivateDocumentRecipient<'a>
impl<'a> UnsafeUnpin for PrivateDocumentRecipient<'a>
impl<'a> UnwindSafe for PrivateDocumentRecipient<'a>
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