pub struct PaymentInfo {
pub amount: String,
pub network: String,
pub token: String,
}Expand description
Details about a payment that was made.
Fields§
§amount: StringHuman-readable amount (e.g. “$0.01”).
network: StringNetwork/chain name (e.g. “Base”, “Tempo”).
token: StringToken symbol (e.g. “USDC”).
Trait Implementations§
Source§impl Clone for PaymentInfo
impl Clone for PaymentInfo
Source§fn clone(&self) -> PaymentInfo
fn clone(&self) -> PaymentInfo
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 moreAuto Trait Implementations§
impl Freeze for PaymentInfo
impl RefUnwindSafe for PaymentInfo
impl Send for PaymentInfo
impl Sync for PaymentInfo
impl Unpin for PaymentInfo
impl UnsafeUnpin for PaymentInfo
impl UnwindSafe for PaymentInfo
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