pub struct ExprPayable {
pub payable_token: payable,
pub args: ArgList,
}
Expand description
A payable
expression: payable(address(0x...))
.
Fields§
§payable_token: payable
§args: ArgList
Trait Implementations§
Source§impl Clone for ExprPayable
impl Clone for ExprPayable
Source§fn clone(&self) -> ExprPayable
fn clone(&self) -> ExprPayable
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 ExprPayable
impl Debug for ExprPayable
Source§impl From<ExprPayable> for ExprCall
impl From<ExprPayable> for ExprCall
Source§fn from(value: ExprPayable) -> Self
fn from(value: ExprPayable) -> Self
Converts to this type from the input type.
Source§impl Parse for ExprPayable
impl Parse for ExprPayable
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl Spanned for ExprPayable
impl Spanned for ExprPayable
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.Auto Trait Implementations§
impl Freeze for ExprPayable
impl RefUnwindSafe for ExprPayable
impl !Send for ExprPayable
impl !Sync for ExprPayable
impl Unpin for ExprPayable
impl UnwindSafe for ExprPayable
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