pub struct BtcMethod {
pub name: String,
pub description: String,
pub examples: String,
pub argument_names: Vec<String>,
pub arguments: Vec<BtcArgument>,
pub results: Vec<BtcResult>,
}Expand description
Bitcoin method definition
Fields§
§name: StringName of the method
description: StringDescription of the method
examples: StringExample usage of the method
argument_names: Vec<String>Names of the arguments
arguments: Vec<BtcArgument>Arguments for the method
results: Vec<BtcResult>Results returned by the method
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BtcMethod
impl<'de> Deserialize<'de> for BtcMethod
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BtcMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BtcMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BtcMethod
impl Serialize for BtcMethod
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BtcMethod
impl RefUnwindSafe for BtcMethod
impl Send for BtcMethod
impl Sync for BtcMethod
impl Unpin for BtcMethod
impl UnwindSafe for BtcMethod
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