pub struct Plan<A> {
pub network: Network,
pub action: A,
pub nonce: u64,
pub key: Signers,
pub effect: Effect,
pub free_at: Option<u64>,
}Expand description
Exactly what is signed, and what to check once it lands.
Fields§
§network: Network§action: A§nonce: u64What it is signed with; the action carries it too.
key: Signers§effect: Effect§free_at: Option<u64>When what it moved is free again, milliseconds: a delegation’s lock ends, or a withdrawal reaches spot.
Trait Implementations§
impl<A: Eq> Eq for Plan<A>
impl<A: PartialEq> StructuralPartialEq for Plan<A>
Auto Trait Implementations§
impl<A> Freeze for Plan<A>where
A: Freeze,
impl<A> RefUnwindSafe for Plan<A>where
A: RefUnwindSafe,
impl<A> Send for Plan<A>where
A: Send,
impl<A> Sync for Plan<A>where
A: Sync,
impl<A> Unpin for Plan<A>where
A: Unpin,
impl<A> UnsafeUnpin for Plan<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for Plan<A>where
A: UnwindSafe,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.