pub struct DepositInput {
pub input_from_party: Box<Party>,
pub into_account: Box<Party>,
pub of_token: Box<Token>,
pub that_deposits: i32,
}Expand description
DepositInput : Deposit funds into an account in a contract
Fields§
§input_from_party: Box<Party>§into_account: Box<Party>§of_token: Box<Token>§that_deposits: i32Implementations§
Source§impl DepositInput
impl DepositInput
Trait Implementations§
Source§impl Clone for DepositInput
impl Clone for DepositInput
Source§fn clone(&self) -> DepositInput
fn clone(&self) -> DepositInput
Returns a duplicate 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 DepositInput
impl Debug for DepositInput
Source§impl<'de> Deserialize<'de> for DepositInput
impl<'de> Deserialize<'de> for DepositInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DepositInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DepositInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DepositInput
impl PartialEq for DepositInput
Source§impl Serialize for DepositInput
impl Serialize for DepositInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DepositInput
Auto Trait Implementations§
impl Freeze for DepositInput
impl RefUnwindSafe for DepositInput
impl Send for DepositInput
impl Sync for DepositInput
impl Unpin for DepositInput
impl UnwindSafe for DepositInput
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