pub struct EscrowEntry {
pub owner: Address,
pub shares: u128,
pub created_at_ns: TimestampNs,
pub expected_assets: u128,
}Expand description
Escrow entry for a single actor.
Tracks shares held in escrow for a pending withdrawal.
Fields§
§owner: Address§created_at_ns: TimestampNs§expected_assets: u128Implementations§
Trait Implementations§
Source§impl BorshDeserialize for EscrowEntry
impl BorshDeserialize for EscrowEntry
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for EscrowEntry
impl BorshSerialize for EscrowEntry
Source§impl Clone for EscrowEntry
impl Clone for EscrowEntry
Source§fn clone(&self) -> EscrowEntry
fn clone(&self) -> EscrowEntry
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 EscrowEntry
impl Debug for EscrowEntry
Source§impl<'de> Deserialize<'de> for EscrowEntry
impl<'de> Deserialize<'de> for EscrowEntry
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
Source§impl PartialEq for EscrowEntry
impl PartialEq for EscrowEntry
Source§impl Serialize for EscrowEntry
impl Serialize for EscrowEntry
impl Eq for EscrowEntry
impl StructuralPartialEq for EscrowEntry
Auto Trait Implementations§
impl Freeze for EscrowEntry
impl RefUnwindSafe for EscrowEntry
impl Send for EscrowEntry
impl Sync for EscrowEntry
impl Unpin for EscrowEntry
impl UnwindSafe for EscrowEntry
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