pub struct TimeLock {
pub owner: Pubkey,
pub payer: Pubkey,
pub release_slot: u64,
}Expand description
Time lock used by withdraw and spend-limit order accounts.
Fields§
§owner: Pubkey§payer: Pubkey§release_slot: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for TimeLock
impl<'de> Deserialize<'de> for TimeLock
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
Auto Trait Implementations§
impl Freeze for TimeLock
impl RefUnwindSafe for TimeLock
impl Send for TimeLock
impl Sync for TimeLock
impl Unpin for TimeLock
impl UnsafeUnpin for TimeLock
impl UnwindSafe for TimeLock
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