pub struct PreSwap {
pub pre_mint_secrets: PreMintSecrets,
pub swap_request: SwapRequest,
pub derived_secret_count: u32,
pub fee: Amount,
}
Expand description
Preswap information
Fields§
§pre_mint_secrets: PreMintSecrets
Preswap mint secrets
swap_request: SwapRequest
Swap request
derived_secret_count: u32
Amount to increment keyset counter by
fee: Amount
Fee amount
Trait Implementations§
Source§impl Serialize for PreSwap
impl Serialize for PreSwap
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 Eq for PreSwap
impl StructuralPartialEq for PreSwap
Auto Trait Implementations§
impl Freeze for PreSwap
impl RefUnwindSafe for PreSwap
impl Send for PreSwap
impl Sync for PreSwap
impl Unpin for PreSwap
impl UnwindSafe for PreSwap
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