Struct race_api::types::SecretIdent
source · pub struct SecretIdent {
pub from_addr: String,
pub to_addr: Option<String>,
pub random_id: RandomId,
pub index: usize,
}Fields§
§from_addr: String§to_addr: Option<String>§random_id: RandomId§index: usizeImplementations§
source§impl SecretIdent
impl SecretIdent
Trait Implementations§
source§impl BorshDeserialize for SecretIdentwhere
String: BorshDeserialize,
Option<String>: BorshDeserialize,
RandomId: BorshDeserialize,
usize: BorshDeserialize,
impl BorshDeserialize for SecretIdentwhere String: BorshDeserialize, Option<String>: BorshDeserialize, RandomId: BorshDeserialize, usize: BorshDeserialize,
source§impl BorshSerialize for SecretIdentwhere
String: BorshSerialize,
Option<String>: BorshSerialize,
RandomId: BorshSerialize,
usize: BorshSerialize,
impl BorshSerialize for SecretIdentwhere String: BorshSerialize, Option<String>: BorshSerialize, RandomId: BorshSerialize, usize: BorshSerialize,
source§impl Clone for SecretIdent
impl Clone for SecretIdent
source§fn clone(&self) -> SecretIdent
fn clone(&self) -> SecretIdent
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 SecretIdent
impl Debug for SecretIdent
source§impl Hash for SecretIdent
impl Hash for SecretIdent
source§impl Ord for SecretIdent
impl Ord for SecretIdent
source§fn cmp(&self, other: &SecretIdent) -> Ordering
fn cmp(&self, other: &SecretIdent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SecretIdent
impl PartialEq for SecretIdent
source§fn eq(&self, other: &SecretIdent) -> bool
fn eq(&self, other: &SecretIdent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for SecretIdent
impl PartialOrd for SecretIdent
source§fn partial_cmp(&self, other: &SecretIdent) -> Option<Ordering>
fn partial_cmp(&self, other: &SecretIdent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for SecretIdent
impl StructuralEq for SecretIdent
impl StructuralPartialEq for SecretIdent
Auto Trait Implementations§
impl RefUnwindSafe for SecretIdent
impl Send for SecretIdent
impl Sync for SecretIdent
impl Unpin for SecretIdent
impl UnwindSafe for SecretIdent
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