Enum clmm_common::command::CliCommand
source · [−]pub enum CliCommand {
Show 13 variants
MathTokenAMount,
MathLiquity,
MathDecodeDepositFixToken,
FarmingQuarryMineNew {
rewarder: Pubkey,
mint: Pubkey,
famine_ts: u64,
share: u64,
},
FarmingQuarryMineList,
FarmingQuarryMineInfo {
rewarder: Pubkey,
mint: Pubkey,
},
FarmingQuarryUpdateShare {
rewarder: Pubkey,
mint: Pubkey,
share: u64,
},
FarmingQuarrySetFamine {
rewarder: Pubkey,
mint: Pubkey,
ts: u64,
},
FarmingMineRewarderNew {
wrapper: Pubkey,
annual_rate: u64,
},
FarmingMineRewarderList,
FarmingMineRewarderInfo {
rewarder: Pubkey,
},
FarmingMineRewarderSetAnnualRate {
rewarder: Pubkey,
rate: u64,
},
FarmingMineRewarderSyncQuarryRewards {
rewarder: Pubkey,
mint: String,
},
}Variants
MathTokenAMount
MathLiquity
MathDecodeDepositFixToken
FarmingQuarryMineNew
FarmingQuarryMineList
FarmingQuarryMineInfo
FarmingQuarryUpdateShare
FarmingQuarrySetFamine
FarmingMineRewarderNew
FarmingMineRewarderList
FarmingMineRewarderInfo
Fields
rewarder: PubkeyFarmingMineRewarderSetAnnualRate
FarmingMineRewarderSyncQuarryRewards
Trait Implementations
sourceimpl Debug for CliCommand
impl Debug for CliCommand
sourceimpl PartialEq<CliCommand> for CliCommand
impl PartialEq<CliCommand> for CliCommand
sourcefn eq(&self, other: &CliCommand) -> bool
fn eq(&self, other: &CliCommand) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for CliCommand
Auto Trait Implementations
impl RefUnwindSafe for CliCommand
impl Send for CliCommand
impl Sync for CliCommand
impl Unpin for CliCommand
impl UnwindSafe for CliCommand
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more