pub struct HyperLiquidOptions {
pub testnet: bool,
pub vault_address: Option<String>,
pub default_leverage: u32,
}Expand description
HyperLiquid-specific options.
Fields§
§testnet: boolWhether to use testnet.
vault_address: Option<String>Vault address for vault trading (optional).
default_leverage: u32Default leverage multiplier.
Trait Implementations§
Source§impl Clone for HyperLiquidOptions
impl Clone for HyperLiquidOptions
Source§fn clone(&self) -> HyperLiquidOptions
fn clone(&self) -> HyperLiquidOptions
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 HyperLiquidOptions
impl Debug for HyperLiquidOptions
Auto Trait Implementations§
impl Freeze for HyperLiquidOptions
impl RefUnwindSafe for HyperLiquidOptions
impl Send for HyperLiquidOptions
impl Sync for HyperLiquidOptions
impl Unpin for HyperLiquidOptions
impl UnwindSafe for HyperLiquidOptions
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