pub struct DecodescriptResponse {
pub asm: String,
pub desc: String,
pub type: String,
pub address: Option<String>,
pub p2sh: Option<String>,
pub segwit: Option<Value>,
}Expand description
Decode a hex-encoded script.
Fields§
§asm: String§desc: String§type: String§address: Option<String>§p2sh: Option<String>§segwit: Option<Value>Trait Implementations§
Source§impl Debug for DecodescriptResponse
impl Debug for DecodescriptResponse
Source§impl<'de> Deserialize<'de> for DecodescriptResponse
impl<'de> Deserialize<'de> for DecodescriptResponse
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 DecodescriptResponse
impl RefUnwindSafe for DecodescriptResponse
impl Send for DecodescriptResponse
impl Sync for DecodescriptResponse
impl Unpin for DecodescriptResponse
impl UnwindSafe for DecodescriptResponse
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