pub struct DescriptorInfo {
pub descriptor: String,
pub key_type: MiniscriptKeyType,
pub address: Option<String>,
pub script_pubkey: Option<HexBytes>,
pub unsigned_script_sig: Option<HexBytes>,
pub witness_script: Option<HexBytes>,
pub max_satisfaction_weight: Option<u64>,
pub policy: Option<String>,
}Fields§
§descriptor: String§key_type: MiniscriptKeyType§address: Option<String>§script_pubkey: Option<HexBytes>§unsigned_script_sig: Option<HexBytes>§witness_script: Option<HexBytes>§max_satisfaction_weight: Option<u64>§policy: Option<String>Trait Implementations§
Source§impl Clone for DescriptorInfo
impl Clone for DescriptorInfo
Source§fn clone(&self) -> DescriptorInfo
fn clone(&self) -> DescriptorInfo
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 DescriptorInfo
impl Debug for DescriptorInfo
Source§impl<'de> Deserialize<'de> for DescriptorInfo
impl<'de> Deserialize<'de> for DescriptorInfo
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 DescriptorInfo
impl PartialEq for DescriptorInfo
Source§impl Serialize for DescriptorInfo
impl Serialize for DescriptorInfo
impl Eq for DescriptorInfo
impl StructuralPartialEq for DescriptorInfo
Auto Trait Implementations§
impl Freeze for DescriptorInfo
impl RefUnwindSafe for DescriptorInfo
impl Send for DescriptorInfo
impl Sync for DescriptorInfo
impl Unpin for DescriptorInfo
impl UnwindSafe for DescriptorInfo
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