pub struct Lockup {
pub unix_timestamp: UnixTimestamp,
pub epoch: Epoch,
pub custodian: Pubkey,
}Fields§
§unix_timestamp: UnixTimestampUnixTimestamp at which this stake will allow withdrawal, unless the transaction is signed by the custodian
epoch: Epochepoch height at which this stake will allow withdrawal, unless the transaction is signed by the custodian
custodian: Pubkeycustodian signature on a transaction exempts the operation from lockup constraints
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Lockup
impl<'de> Deserialize<'de> for Lockup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Lockup
impl Eq for Lockup
impl StructuralPartialEq for Lockup
Auto Trait Implementations§
impl Freeze for Lockup
impl RefUnwindSafe for Lockup
impl Send for Lockup
impl Sync for Lockup
impl Unpin for Lockup
impl UnwindSafe for Lockup
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