Struct syn_solidity::ExprPayable
source · 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 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