pub struct MeltOperationData {
pub quote_id: String,
pub amount: Amount,
pub fee_reserve: Amount,
pub counter_start: Option<u32>,
pub counter_end: Option<u32>,
pub change_amount: Option<Amount>,
pub change_blinded_messages: Option<Vec<BlindedMessage>>,
}Expand description
Operation-specific data for Melt operations
Fields§
§quote_id: StringQuote ID
amount: AmountAmount to melt
fee_reserve: AmountFee reserve
counter_start: Option<u32>Derivation counter start
counter_end: Option<u32>Derivation counter end
change_amount: Option<Amount>Change amount (if any)
change_blinded_messages: Option<Vec<BlindedMessage>>Blinded messages for change recovery
Stored so that if a crash occurs after the mint accepts the melt, we can use these to query the mint for change signatures and reconstruct proofs.
Trait Implementations§
Source§impl Clone for MeltOperationData
impl Clone for MeltOperationData
Source§fn clone(&self) -> MeltOperationData
fn clone(&self) -> MeltOperationData
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 moreSource§impl Debug for MeltOperationData
impl Debug for MeltOperationData
Source§impl<'de> Deserialize<'de> for MeltOperationData
impl<'de> Deserialize<'de> for MeltOperationData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MeltOperationData
impl PartialEq for MeltOperationData
Source§impl Serialize for MeltOperationData
impl Serialize for MeltOperationData
impl Eq for MeltOperationData
impl StructuralPartialEq for MeltOperationData
Auto Trait Implementations§
impl Freeze for MeltOperationData
impl RefUnwindSafe for MeltOperationData
impl Send for MeltOperationData
impl Sync for MeltOperationData
impl Unpin for MeltOperationData
impl UnsafeUnpin for MeltOperationData
impl UnwindSafe for MeltOperationData
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