pub struct ReEncryptionKey {
pub rk: Scalar,
}Expand description
A re-encryption key from Alice to Bob.
Fields§
§rk: Scalarrk = alice_sk * bob_sk^-1
Trait Implementations§
Source§impl Clone for ReEncryptionKey
impl Clone for ReEncryptionKey
Source§fn clone(&self) -> ReEncryptionKey
fn clone(&self) -> ReEncryptionKey
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 moreAuto Trait Implementations§
impl Freeze for ReEncryptionKey
impl RefUnwindSafe for ReEncryptionKey
impl Send for ReEncryptionKey
impl Sync for ReEncryptionKey
impl Unpin for ReEncryptionKey
impl UnsafeUnpin for ReEncryptionKey
impl UnwindSafe for ReEncryptionKey
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