pub enum RootCommands {
Show 42 variants
PrintPlottingInfo {
launcher_id: Option<Bytes32>,
},
GetBlockchainState,
GetBlock {
header_hash: Bytes32,
},
GetBlockCountMetrics,
GetBlocks {
start: u32,
end: u32,
exclude_header_hash: bool,
exclude_reorged: bool,
},
GetAllBlocks {
start: u32,
end: u32,
},
GetBlockRecord {
header_hash: Bytes32,
},
GetBlockRecordByHeight {
height: u32,
},
GetBlockRecords {
start: u32,
end: u32,
},
GetUnfinishedBlocks,
GetNetworkSpace {
older_block_header_hash: Bytes32,
newer_block_header_hash: Bytes32,
},
GetNetworkSpaceaByHeight {
start: u32,
end: u32,
},
GetAdditionsAndRemovals {
header_hash: Bytes32,
},
GetInitialFreezePeriod,
GetNetworkInfo,
GetSignagePointOrEOS {
sp_hash: Option<Bytes32>,
challenge_hash: Option<Bytes32>,
},
GetCoinRecords {
puzzle_hashes: Vec<Bytes32>,
include_spent_coins: Option<bool>,
start_height: Option<u32>,
end_height: Option<u32>,
},
GetCoinRecordByName {
name: Bytes32,
},
GetCoinRecordsByNames {
names: Vec<Bytes32>,
include_spent_coins: bool,
start_height: u32,
end_height: u32,
},
GetCoinRecordsByParentIds {
parent_ids: Vec<Bytes32>,
include_spent_coins: bool,
start_height: u32,
end_height: u32,
},
GetCoinRecordsByhint {
hint: Bytes32,
include_spent_coins: bool,
start_height: u32,
end_height: u32,
},
GetPuzzleAndSolution {
coin_id: Bytes32,
height: u32,
},
GetCoinSpend {
coin_id: Bytes32,
height: u32,
},
GetAllMempoolTxIds,
GetAllMempoolItems,
GetMempoolItemByTxID {
tx_id: String,
},
GetMempoolItemByName {
coin_name: Bytes32,
},
GetFeeEstimate {
cost: Option<u64>,
spend_bundle: Option<String>,
spend_type: Option<String>,
target_times: Vec<u64>,
},
GetSingletonByLauncherId {
launcher_id: Bytes32,
},
GetAdditionsAndRemovalsWithHints {
header_hash: Bytes32,
},
GetCoinRecordsByHints {
hints: Vec<Bytes32>,
include_spent_coins: bool,
start_height: u32,
end_height: u32,
},
GetCoinRecordsByHintsPaginated {
hints: Vec<Bytes32>,
include_spent_coins: Option<bool>,
start_height: Option<u32>,
end_height: Option<u32>,
page_size: u32,
last_id: Option<Bytes32>,
},
GetCoinRecordsByPuzzleHashesPaginated {
puzzle_hashes: Vec<Bytes32>,
include_spent_coins: Option<bool>,
start_height: Option<u32>,
end_height: Option<u32>,
page_size: u32,
last_id: Option<Bytes32>,
},
GetHintsByCoinIds {
coin_ids: Vec<Bytes32>,
},
GetPuzzleAndSoultionsByNames {
names: Vec<Bytes32>,
include_spent_coins: Option<bool>,
start_height: Option<u32>,
end_height: Option<u32>,
},
MovePlotNFT {
target_pool: String,
launcher_id: Bytes32,
target_address: Bytes32,
mnemonic: String,
fee: Option<u64>,
},
MovePlotNFTWithOwnerKey {
target_pool: String,
launcher_id: Bytes32,
target_address: Bytes32,
owner_key: String,
},
GetPlotnftState {
launcher_id: Bytes32,
},
CreatePoolLoginLink {
target_pool: String,
launcher_id: Bytes32,
auth_key: Bytes32,
},
CreateWallet {
action: WalletAction,
},
Curry {
program: String,
args: String,
output: Option<ProgramOutput>,
},
Run {
program: String,
args: String,
output: Option<ProgramOutput>,
},
}Variants§
PrintPlottingInfo
GetBlockchainState
GetBlock
GetBlockCountMetrics
GetBlocks
GetAllBlocks
GetBlockRecord
GetBlockRecordByHeight
GetBlockRecords
GetUnfinishedBlocks
GetNetworkSpace
GetNetworkSpaceaByHeight
GetAdditionsAndRemovals
GetInitialFreezePeriod
GetNetworkInfo
GetSignagePointOrEOS
GetCoinRecords
Fields
GetCoinRecordByName
GetCoinRecordsByNames
GetCoinRecordsByParentIds
GetCoinRecordsByhint
GetPuzzleAndSolution
GetCoinSpend
GetAllMempoolTxIds
GetAllMempoolItems
GetMempoolItemByTxID
GetMempoolItemByName
GetFeeEstimate
Fields
GetSingletonByLauncherId
GetAdditionsAndRemovalsWithHints
GetCoinRecordsByHints
GetCoinRecordsByHintsPaginated
Fields
GetCoinRecordsByPuzzleHashesPaginated
Fields
GetHintsByCoinIds
GetPuzzleAndSoultionsByNames
Fields
MovePlotNFT
Fields
MovePlotNFTWithOwnerKey
GetPlotnftState
CreatePoolLoginLink
CreateWallet
Fields
§
action: WalletActionCurry
Run
Trait Implementations§
Source§impl Debug for RootCommands
impl Debug for RootCommands
Source§impl FromArgMatches for RootCommands
impl FromArgMatches for RootCommands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for RootCommands
impl Subcommand for RootCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for RootCommands
impl RefUnwindSafe for RootCommands
impl Send for RootCommands
impl Sync for RootCommands
impl Unpin for RootCommands
impl UnwindSafe for RootCommands
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
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.