pub struct GetDescriptorInfoResponse {
pub checksum: String,
pub descriptor: String,
pub hasprivatekeys: bool,
pub isrange: bool,
pub issolvable: bool,
pub multipath_expansion: Option<Value>,
}Expand description
Response for the GetDescriptorInfo RPC method
Fields§
§checksum: StringThe checksum for the input descriptor
descriptor: StringThe descriptor in canonical form, without private keys. For a multipath descriptor, only the first will be returned.
hasprivatekeys: boolWhether the input descriptor contained at least one private key
isrange: boolWhether the descriptor is ranged
issolvable: boolWhether the descriptor is solvable
multipath_expansion: Option<Value>All descriptors produced by expanding multipath derivation elements. Only if the provided descriptor specifies multipath derivation elements.
Trait Implementations§
Source§impl Clone for GetDescriptorInfoResponse
impl Clone for GetDescriptorInfoResponse
Source§fn clone(&self) -> GetDescriptorInfoResponse
fn clone(&self) -> GetDescriptorInfoResponse
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 GetDescriptorInfoResponse
impl Debug for GetDescriptorInfoResponse
Source§impl<'de> Deserialize<'de> for GetDescriptorInfoResponse
impl<'de> Deserialize<'de> for GetDescriptorInfoResponse
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
impl StructuralPartialEq for GetDescriptorInfoResponse
Auto Trait Implementations§
impl Freeze for GetDescriptorInfoResponse
impl RefUnwindSafe for GetDescriptorInfoResponse
impl Send for GetDescriptorInfoResponse
impl Sync for GetDescriptorInfoResponse
impl Unpin for GetDescriptorInfoResponse
impl UnwindSafe for GetDescriptorInfoResponse
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