pub struct BtcArgument {
pub names: Vec<String>,
pub description: String,
pub oneline_description: String,
pub also_positional: bool,
pub type_str: Option<Vec<String>>,
pub required: bool,
pub hidden: bool,
pub type_: String,
}
Expand description
Bitcoin method argument specification
Fields§
§names: Vec<String>
Names of the argument
description: String
Description of the argument
oneline_description: String
One-line description of the argument
also_positional: bool
Whether the argument can also be passed positionally
type_str: Option<Vec<String>>
Type string representation
required: bool
Whether the argument is required
Whether the argument is hidden from documentation
type_: String
Type of the argument
Trait Implementations§
Source§impl Clone for BtcArgument
impl Clone for BtcArgument
Source§fn clone(&self) -> BtcArgument
fn clone(&self) -> BtcArgument
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 BtcArgument
impl Debug for BtcArgument
Source§impl<'de> Deserialize<'de> for BtcArgument
impl<'de> Deserialize<'de> for BtcArgument
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 BtcArgument
impl RefUnwindSafe for BtcArgument
impl Send for BtcArgument
impl Sync for BtcArgument
impl Unpin for BtcArgument
impl UnwindSafe for BtcArgument
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