pub struct StudioCreateDBCTransactionRequestBodyFee {
pub base_fee_mode: Option<StudioCreateDBCTransactionRequestBodyBaseFeeMode>,
pub fee_bps: f64,
pub total_duration: Option<f64>,
}Expand description
- Fee configuration parameters
- If not provided, the default fee will be 100 basis points (1%)
Fields§
§base_fee_mode: Option<StudioCreateDBCTransactionRequestBodyBaseFeeMode>Base fee mode for fee scheduler
fee_bps: f64Ending fee in basis points (100 or 200)
total_duration: Option<f64>Total duration for fee schedule
Trait Implementations§
Source§impl Clone for StudioCreateDBCTransactionRequestBodyFee
impl Clone for StudioCreateDBCTransactionRequestBodyFee
Source§fn clone(&self) -> StudioCreateDBCTransactionRequestBodyFee
fn clone(&self) -> StudioCreateDBCTransactionRequestBodyFee
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for StudioCreateDBCTransactionRequestBodyFee
impl<'de> Deserialize<'de> for StudioCreateDBCTransactionRequestBodyFee
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
Auto Trait Implementations§
impl Freeze for StudioCreateDBCTransactionRequestBodyFee
impl RefUnwindSafe for StudioCreateDBCTransactionRequestBodyFee
impl Send for StudioCreateDBCTransactionRequestBodyFee
impl Sync for StudioCreateDBCTransactionRequestBodyFee
impl Unpin for StudioCreateDBCTransactionRequestBodyFee
impl UnsafeUnpin for StudioCreateDBCTransactionRequestBodyFee
impl UnwindSafe for StudioCreateDBCTransactionRequestBodyFee
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