pub enum PerpKind {
Show 16 variants
RegisterAsset2,
RegisterAsset,
SetOracle,
SetFundingMultipliers,
SetFundingInterestRates,
SetFundingClamps,
HaltTrading,
InsertMarginTable,
SetMarginTableIds,
SetFeeRecipient,
SetOpenInterestCaps,
SetSubDeployers,
SetMarginModes,
SetDeployerFees,
SetPerpAnnotation,
DisableDex,
}Expand description
A perpDeploy variant, by the key it travels under: what a
sub-deployer grant names.
Variants§
RegisterAsset2
registerAsset2.
RegisterAsset
registerAsset.
SetOracle
setOracle.
SetFundingMultipliers
setFundingMultipliers.
SetFundingInterestRates
setFundingInterestRates.
SetFundingClamps
setFundingClamps.
HaltTrading
haltTrading.
InsertMarginTable
insertMarginTable.
SetMarginTableIds
setMarginTableIds.
SetFeeRecipient
setFeeRecipient.
SetOpenInterestCaps
setOpenInterestCaps.
SetSubDeployers
setSubDeployers.
SetMarginModes
setMarginModes.
SetDeployerFees
setDeployerFees.
SetPerpAnnotation
setPerpAnnotation.
DisableDex
disableDex.
Implementations§
Trait Implementations§
impl Copy for PerpKind
impl Eq for PerpKind
impl StructuralPartialEq for PerpKind
Auto Trait Implementations§
impl Forget for PerpKind
impl Freeze for PerpKind
impl Move for PerpKind
impl RefUnwindSafe for PerpKind
impl Send for PerpKind
impl Sync for PerpKind
impl Unpin for PerpKind
impl UnsafeUnpin for PerpKind
impl UnwindSafe for PerpKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.