pub struct ExperimentalDecryptProps {
pub cipher_text: Vec<u8>,
pub nonce: Vec<u8>,
/* private fields */
}Fields§
§cipher_text: Vec<u8>Ciphertext to decrypt.
nonce: Vec<u8>Nonce to use for decryption.
Implementations§
source§impl ExperimentalDecryptProps
impl ExperimentalDecryptProps
sourcepub fn builder() -> ExperimentalDecryptPropsBuilder<((), (), (), (), ())>
pub fn builder() -> ExperimentalDecryptPropsBuilder<((), (), (), (), ())>
Create a builder for building ExperimentalDecryptProps.
On the builder, call .cipher(...), .public_key(...), .cipher_text(...), .nonce(...), .padding(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of ExperimentalDecryptProps.
Trait Implementations§
source§impl Clone for ExperimentalDecryptProps
impl Clone for ExperimentalDecryptProps
source§fn clone(&self) -> ExperimentalDecryptProps
fn clone(&self) -> ExperimentalDecryptProps
Returns a copy 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 ExperimentalDecryptProps
impl Debug for ExperimentalDecryptProps
source§impl<'de> Deserialize<'de> for ExperimentalDecryptProps
impl<'de> Deserialize<'de> for ExperimentalDecryptProps
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ExperimentalDecryptProps
impl PartialEq for ExperimentalDecryptProps
source§impl Serialize for ExperimentalDecryptProps
impl Serialize for ExperimentalDecryptProps
impl Eq for ExperimentalDecryptProps
impl StructuralPartialEq for ExperimentalDecryptProps
Auto Trait Implementations§
impl Freeze for ExperimentalDecryptProps
impl RefUnwindSafe for ExperimentalDecryptProps
impl Send for ExperimentalDecryptProps
impl Sync for ExperimentalDecryptProps
impl Unpin for ExperimentalDecryptProps
impl UnwindSafe for ExperimentalDecryptProps
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)