pub struct ExactSvm<A>where
A: ExplicitSvmAsset,{
pub asset: A,
pub pay_to: SvmAddress,
pub amount: u64,
pub max_timeout_seconds_override: Option<u64>,
}Fields§
§asset: A§pay_to: SvmAddress§amount: u64§max_timeout_seconds_override: Option<u64>Implementations§
Source§impl<A> ExactSvm<A>where
A: ExplicitSvmAsset,
impl<A> ExactSvm<A>where
A: ExplicitSvmAsset,
Sourcepub fn builder() -> ExactSvmBuilder<A>
pub fn builder() -> ExactSvmBuilder<A>
Create an instance of ExactSvm using the builder syntax
Trait Implementations§
Source§impl<A> From<ExactSvm<A>> for Payment<ExactSvmScheme, SvmAddress>where
A: ExplicitSvmAsset,
impl<A> From<ExactSvm<A>> for Payment<ExactSvmScheme, SvmAddress>where
A: ExplicitSvmAsset,
Source§fn from(scheme: ExactSvm<A>) -> Payment<ExactSvmScheme, SvmAddress>
fn from(scheme: ExactSvm<A>) -> Payment<ExactSvmScheme, SvmAddress>
Converts to this type from the input type.
Source§impl<A> From<ExactSvm<A>> for PaymentRequirementswhere
A: ExplicitSvmAsset,
impl<A> From<ExactSvm<A>> for PaymentRequirementswhere
A: ExplicitSvmAsset,
Source§fn from(scheme: ExactSvm<A>) -> PaymentRequirements
fn from(scheme: ExactSvm<A>) -> PaymentRequirements
Converts to this type from the input type.
Auto Trait Implementations§
impl<A> Freeze for ExactSvm<A>where
A: Freeze,
impl<A> RefUnwindSafe for ExactSvm<A>where
A: RefUnwindSafe,
impl<A> Send for ExactSvm<A>where
A: Send,
impl<A> Sync for ExactSvm<A>where
A: Sync,
impl<A> Unpin for ExactSvm<A>where
A: Unpin,
impl<A> UnsafeUnpin for ExactSvm<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for ExactSvm<A>where
A: UnwindSafe,
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