pub struct DelegationStatus {
pub main_account: Option<PublicKey>,
pub remote: PublicKey,
pub height: Option<u64>,
pub state: DelegationState,
}Expand description
届いた委任1件の様子
Fields§
§main_account: Option<PublicKey>メインアカウント。リンクから辿れなかったときは、要求を送った人
remote: PublicKey要求に入っていたリモートの鍵
height: Option<u64>要求が入っていたブロックの高さ
state: DelegationStateTrait Implementations§
Source§impl Clone for DelegationStatus
impl Clone for DelegationStatus
Source§fn clone(&self) -> DelegationStatus
fn clone(&self) -> DelegationStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DelegationStatus
impl Debug for DelegationStatus
impl Eq for DelegationStatus
Source§impl PartialEq for DelegationStatus
impl PartialEq for DelegationStatus
impl StructuralPartialEq for DelegationStatus
Auto Trait Implementations§
impl Freeze for DelegationStatus
impl RefUnwindSafe for DelegationStatus
impl Send for DelegationStatus
impl Sync for DelegationStatus
impl Unpin for DelegationStatus
impl UnsafeUnpin for DelegationStatus
impl UnwindSafe for DelegationStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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