Struct dbc::types::Proof [−][src]
pub struct Proof {
pub pubkey: PublicKey,
pub source: ScriptEncodeData,
}
Fields
pubkey: PublicKey
source: ScriptEncodeData
Trait Implementations
Returns an object initialized with dumb data
Decode with the given std::io::Read
instance; must either
construct an instance or return implementation-specific error type. Read more
Tries to deserialize byte array into the current type using
StrictDecode::strict_decode
Read more
Encode with the given std::io::Write
instance; must return result
with either amount of bytes encoded – or implementation-specific
error type. Read more
Serializes data as a byte array using StrictEncode::strict_encode
function Read more
Auto Trait Implementations
impl RefUnwindSafe for Proof
impl UnwindSafe for Proof
Blanket Implementations
Mutably borrows from an owned value. Read more