Struct ate::crypto::public_encrypted_secure_data::MultiEncryptedSecureData [−][src]
pub struct MultiEncryptedSecureData<T> where
T: Serialize + DeserializeOwned, { /* fields omitted */ }Implementations
pub fn new(
encrypt_key: &PublicEncryptKey,
meta: String,
data: T
) -> Result<MultiEncryptedSecureData<T>, Error>
pub fn new_ext(
encrypt_key: &PublicEncryptKey,
shared_key: EncryptKey,
meta: String,
data: T
) -> Result<MultiEncryptedSecureData<T>, Error>
pub fn add(
&mut self,
encrypt_key: &PublicEncryptKey,
meta: String,
referrer: &PrivateEncryptKey
) -> Result<bool, Error>
Trait Implementations
impl<'de, T> Deserialize<'de> for MultiEncryptedSecureData<T> where
T: Serialize + DeserializeOwned,
impl<'de, T> Deserialize<'de> for MultiEncryptedSecureData<T> where
T: Serialize + DeserializeOwned,
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
Auto Trait Implementations
impl<T> RefUnwindSafe for MultiEncryptedSecureData<T> where
T: RefUnwindSafe,
impl<T> Send for MultiEncryptedSecureData<T> where
T: Send,
impl<T> Sync for MultiEncryptedSecureData<T> where
T: Sync,
impl<T> Unpin for MultiEncryptedSecureData<T> where
T: Unpin,
impl<T> UnwindSafe for MultiEncryptedSecureData<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
