#[non_exhaustive]pub struct LairApiResExportSeedByTag {
pub msg_id: Arc<str>,
pub nonce: [u8; 24],
pub cipher: Arc<[u8]>,
}
Expand description
A “crypto_box” encryption response.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.msg_id: Arc<str>
Msg id to relate request / response.
nonce: [u8; 24]
The generated nonce.
cipher: Arc<[u8]>
The encrypted bytes.
Trait Implementations§
source§impl AsLairCodec for LairApiResExportSeedByTag
impl AsLairCodec for LairApiResExportSeedByTag
source§fn into_api_enum(self) -> LairApiEnum
fn into_api_enum(self) -> LairApiEnum
Convert this individual lair serialization object
into a combined API enum instance variant.
source§impl AsLairResponse for LairApiResExportSeedByTag
impl AsLairResponse for LairApiResExportSeedByTag
§type Request = LairApiReqExportSeedByTag
type Request = LairApiReqExportSeedByTag
The “Request” type associated with this response type.
source§impl Debug for LairApiResExportSeedByTag
impl Debug for LairApiResExportSeedByTag
source§impl<'de> Deserialize<'de> for LairApiResExportSeedByTag
impl<'de> Deserialize<'de> for LairApiResExportSeedByTag
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
Auto Trait Implementations§
impl RefUnwindSafe for LairApiResExportSeedByTag
impl Send for LairApiResExportSeedByTag
impl Sync for LairApiResExportSeedByTag
impl Unpin for LairApiResExportSeedByTag
impl UnwindSafe for LairApiResExportSeedByTag
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