pub struct LockedCiphertext {
pub locks: Vec<Lock>,
pub owner: CipherOwner,
pub ciphertext: Ciphertext,
}Expand description
The representation of a ciphertext with locks applied. If all the required locks are applied, then it’s ready.
Fields§
§locks: Vec<Lock>§owner: CipherOwner§ciphertext: CiphertextImplementations§
Source§impl LockedCiphertext
impl LockedCiphertext
pub fn new(text: Ciphertext) -> Self
pub fn ciphertext(&self) -> &Ciphertext
Trait Implementations§
Source§impl BorshDeserialize for LockedCiphertext
impl BorshDeserialize for LockedCiphertext
Source§impl BorshSerialize for LockedCiphertext
impl BorshSerialize for LockedCiphertext
Source§impl Clone for LockedCiphertext
impl Clone for LockedCiphertext
Source§fn clone(&self) -> LockedCiphertext
fn clone(&self) -> LockedCiphertext
Returns a duplicate of the value. Read more
1.0.0 · 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 LockedCiphertext
impl Debug for LockedCiphertext
Source§impl Default for LockedCiphertext
impl Default for LockedCiphertext
Source§fn default() -> LockedCiphertext
fn default() -> LockedCiphertext
Returns the “default value” for a type. Read more
Source§impl PartialEq for LockedCiphertext
impl PartialEq for LockedCiphertext
impl Eq for LockedCiphertext
impl StructuralPartialEq for LockedCiphertext
Auto Trait Implementations§
impl Freeze for LockedCiphertext
impl RefUnwindSafe for LockedCiphertext
impl Send for LockedCiphertext
impl Sync for LockedCiphertext
impl Unpin for LockedCiphertext
impl UnwindSafe for LockedCiphertext
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