pub struct IntentFeesV1 {
pub asset: IntentFeeAssetV1,
pub gross: String,
pub total: String,
pub creator: String,
pub platform: String,
pub placement: FeePlacement,
pub platform_destination: String,
pub creator_destination: Option<String>,
pub fee_adjustment: Option<FeeAdjustmentV1>,
}Fields§
§asset: IntentFeeAssetV1§gross: String§total: String§creator: String§platform: String§placement: FeePlacement§platform_destination: String§creator_destination: Option<String>§fee_adjustment: Option<FeeAdjustmentV1>Set when a cap or an override changed the platform leg. Additive: an intent without it hashes exactly as before the field existed.
Trait Implementations§
Source§impl Clone for IntentFeesV1
impl Clone for IntentFeesV1
Source§impl Debug for IntentFeesV1
impl Debug for IntentFeesV1
Source§impl<'de> Deserialize<'de> for IntentFeesV1
impl<'de> Deserialize<'de> for IntentFeesV1
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
impl Eq for IntentFeesV1
Source§impl PartialEq for IntentFeesV1
impl PartialEq for IntentFeesV1
Source§impl Serialize for IntentFeesV1
impl Serialize for IntentFeesV1
impl StructuralPartialEq for IntentFeesV1
Auto Trait Implementations§
impl Freeze for IntentFeesV1
impl RefUnwindSafe for IntentFeesV1
impl Send for IntentFeesV1
impl Sync for IntentFeesV1
impl Unpin for IntentFeesV1
impl UnsafeUnpin for IntentFeesV1
impl UnwindSafe for IntentFeesV1
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