pub struct FeeContextV1 {
pub gross: String,
pub fee: String,
pub net: String,
pub asset: String,
pub placement: FeePlacement,
}Fields§
§gross: String§fee: String§net: String§asset: String"native" or a mint address.
placement: FeePlacementTrait Implementations§
Source§impl Clone for FeeContextV1
impl Clone for FeeContextV1
Source§impl Debug for FeeContextV1
impl Debug for FeeContextV1
Source§impl<'de> Deserialize<'de> for FeeContextV1
impl<'de> Deserialize<'de> for FeeContextV1
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 FeeContextV1
Source§impl PartialEq for FeeContextV1
impl PartialEq for FeeContextV1
Source§impl Serialize for FeeContextV1
impl Serialize for FeeContextV1
impl StructuralPartialEq for FeeContextV1
Auto Trait Implementations§
impl Freeze for FeeContextV1
impl RefUnwindSafe for FeeContextV1
impl Send for FeeContextV1
impl Sync for FeeContextV1
impl Unpin for FeeContextV1
impl UnsafeUnpin for FeeContextV1
impl UnwindSafe for FeeContextV1
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