pub struct GetDescriptorInfoResult {
pub descriptor: String,
pub checksum: Option<String>,
pub is_range: bool,
pub is_solvable: bool,
pub has_private_keys: bool,
}
Expand description
Models the result of “getdescriptorinfo”
Fields§
§descriptor: String
§checksum: Option<String>
§is_range: bool
§is_solvable: bool
§has_private_keys: bool
Trait Implementations§
source§impl Clone for GetDescriptorInfoResult
impl Clone for GetDescriptorInfoResult
source§fn clone(&self) -> GetDescriptorInfoResult
fn clone(&self) -> GetDescriptorInfoResult
Returns a copy 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 GetDescriptorInfoResult
impl Debug for GetDescriptorInfoResult
source§impl<'de> Deserialize<'de> for GetDescriptorInfoResult
impl<'de> Deserialize<'de> for GetDescriptorInfoResult
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
source§impl PartialEq for GetDescriptorInfoResult
impl PartialEq for GetDescriptorInfoResult
source§fn eq(&self, other: &GetDescriptorInfoResult) -> bool
fn eq(&self, other: &GetDescriptorInfoResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetDescriptorInfoResult
impl Serialize for GetDescriptorInfoResult
impl Eq for GetDescriptorInfoResult
impl StructuralPartialEq for GetDescriptorInfoResult
Auto Trait Implementations§
impl Freeze for GetDescriptorInfoResult
impl RefUnwindSafe for GetDescriptorInfoResult
impl Send for GetDescriptorInfoResult
impl Sync for GetDescriptorInfoResult
impl Unpin for GetDescriptorInfoResult
impl UnwindSafe for GetDescriptorInfoResult
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