pub enum FeeBasisV1 {
None,
Input {
amount_arg: String,
asset: FeeAssetV1,
},
Fixed,
}Variants§
None
Input
A percentage of an input amount argument. The revision’s fee policy supplies the rate and destinations.
Fixed
A fixed amount chosen by the revision’s fee policy.
Trait Implementations§
Source§impl Clone for FeeBasisV1
impl Clone for FeeBasisV1
Source§impl Debug for FeeBasisV1
impl Debug for FeeBasisV1
Source§impl<'de> Deserialize<'de> for FeeBasisV1
impl<'de> Deserialize<'de> for FeeBasisV1
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 FeeBasisV1
Source§impl PartialEq for FeeBasisV1
impl PartialEq for FeeBasisV1
Source§impl Serialize for FeeBasisV1
impl Serialize for FeeBasisV1
impl StructuralPartialEq for FeeBasisV1
Auto Trait Implementations§
impl Freeze for FeeBasisV1
impl RefUnwindSafe for FeeBasisV1
impl Send for FeeBasisV1
impl Sync for FeeBasisV1
impl Unpin for FeeBasisV1
impl UnsafeUnpin for FeeBasisV1
impl UnwindSafe for FeeBasisV1
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