pub struct CipherExchangeAccount { /* private fields */ }Expand description
One CMD2902 request row bound to the account revision captured at send time.
Deliberately does not implement Debug because it owns cipher bytes.
Implementations§
Source§impl CipherExchangeAccount
impl CipherExchangeAccount
pub const fn account_id(&self) -> AccKey
pub const fn revision(&self) -> u64
pub fn trade_cipher(&self) -> &[u8] ⓘ
Auto Trait Implementations§
impl Freeze for CipherExchangeAccount
impl RefUnwindSafe for CipherExchangeAccount
impl Send for CipherExchangeAccount
impl Sync for CipherExchangeAccount
impl Unpin for CipherExchangeAccount
impl UnsafeUnpin for CipherExchangeAccount
impl UnwindSafe for CipherExchangeAccount
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more