Struct ledger_mob_apdu::random::RandomResp
source · pub struct RandomResp {
pub value: [u8; 32],
}
Fields§
§value: [u8; 32]
Random value
Trait Implementations§
source§impl Clone for RandomResp
impl Clone for RandomResp
source§fn clone(&self) -> RandomResp
fn clone(&self) -> RandomResp
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 RandomResp
impl Debug for RandomResp
source§impl<'dec> Decode<'dec> for RandomResp
impl<'dec> Decode<'dec> for RandomResp
source§impl Encode for RandomResp
impl Encode for RandomResp
source§impl PartialEq<RandomResp> for RandomResp
impl PartialEq<RandomResp> for RandomResp
source§fn eq(&self, other: &RandomResp) -> bool
fn eq(&self, other: &RandomResp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RandomResp
Auto Trait Implementations§
impl RefUnwindSafe for RandomResp
impl Send for RandomResp
impl Sync for RandomResp
impl Unpin for RandomResp
impl UnwindSafe for RandomResp
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
§impl<'a, T> DecodeExt<'a> for Twhere
T: Decode<'a>,
impl<'a, T> DecodeExt<'a> for Twhere T: Decode<'a>,
§fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output>
fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output>
Helper to iterate over decodable objects in a sized buffer. Read more