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 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 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<ExperimentalDecryptProps, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExperimentalDecryptProps, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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