Struct bitcoin_scripting::ScriptWitness
source · pub struct ScriptWitness {
pub stack: Vec<Vec<u8>>,
}
Expand description
Fields§
§stack: Vec<Vec<u8>>
| @note | | this encodes the data elements being | pushed, rather than encoding them as | a CScript that pushes them. |
Implementations§
Trait Implementations§
source§impl Clone for ScriptWitness
impl Clone for ScriptWitness
source§fn clone(&self) -> ScriptWitness
fn clone(&self) -> ScriptWitness
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 Default for ScriptWitness
impl Default for ScriptWitness
source§fn default() -> ScriptWitness
fn default() -> ScriptWitness
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScriptWitness
impl<'de> Deserialize<'de> for ScriptWitness
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 RefUnwindSafe for ScriptWitness
impl Send for ScriptWitness
impl Sync for ScriptWitness
impl Unpin for ScriptWitness
impl UnwindSafe for ScriptWitness
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more