[]Struct private_currency::EncryptedData

pub struct EncryptedData { /* fields omitted */ }

Encrypted information embedded into transfers.

Implementation note

Using byte slices for nonce and encrypted_data is a simplification; they both have known constant byte size, so it could make sense to be more type-safe.

Methods

impl EncryptedData

Creates a new instance with given parameters.

Cryptographic nonce for the box routine from libsodium.

Data encrypted with the box routine from libsodium.

Trait Implementations

impl Clone for EncryptedData

Performs copy-assignment from source. Read more

impl PartialEq<EncryptedData> for EncryptedData

impl Debug for EncryptedData

impl ExonumJson for EncryptedData

impl ExonumJsonDeserialize for EncryptedData

impl Serialize for EncryptedData

impl<'de> Deserialize<'de> for EncryptedData

impl<'a> Field<'a> for EncryptedData

impl CryptoHash for EncryptedData

impl StorageValue for EncryptedData

Auto Trait Implementations

impl Send for EncryptedData

impl Sync for EncryptedData

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<'a, T> Field for T where
    T: SegmentField<'a>, 
[src]

impl<T> CryptoHash for T where
    T: Message
[src]

impl<T> UniqueHash for T where
    T: CryptoHash
[src]

impl<T> Erased for T

impl<T> Erased for T

impl<T> SerializeContent for T where
    T: Serialize
[src]

impl<T> Same for T

Should always be Self