pub struct SenderKeyEncryptPlan {
pub next_state: SenderKeyState,
pub key_id: u32,
pub message_number: u32,
pub ciphertext: String,
}Expand description
Result of SenderKeyState::plan_encrypt — apply to commit.
Fields§
§next_state: SenderKeyStateThe state after this encryption.
key_id: u32Chain id the message was encrypted under.
message_number: u32Index of this message on the chain.
ciphertext: StringBase64 NIP-44 v2 ciphertext.
Trait Implementations§
Source§impl Clone for SenderKeyEncryptPlan
impl Clone for SenderKeyEncryptPlan
Source§fn clone(&self) -> SenderKeyEncryptPlan
fn clone(&self) -> SenderKeyEncryptPlan
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 moreSource§impl Debug for SenderKeyEncryptPlan
impl Debug for SenderKeyEncryptPlan
impl Eq for SenderKeyEncryptPlan
Source§impl PartialEq for SenderKeyEncryptPlan
impl PartialEq for SenderKeyEncryptPlan
impl StructuralPartialEq for SenderKeyEncryptPlan
Auto Trait Implementations§
impl Freeze for SenderKeyEncryptPlan
impl RefUnwindSafe for SenderKeyEncryptPlan
impl Send for SenderKeyEncryptPlan
impl Sync for SenderKeyEncryptPlan
impl Unpin for SenderKeyEncryptPlan
impl UnsafeUnpin for SenderKeyEncryptPlan
impl UnwindSafe for SenderKeyEncryptPlan
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