pub struct SigScript(_);
Trait Implementations§
source§impl<'de> Deserialize<'de> for SigScript
impl<'de> Deserialize<'de> for SigScript
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SigScript, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<SigScript, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ScriptBytes> for SigScript
impl From<ScriptBytes> for SigScript
source§fn from(v: ScriptBytes) -> SigScript
fn from(v: ScriptBytes) -> SigScript
Converts to this type from the input type.
source§impl From<SigScript> for ScriptBytes
impl From<SigScript> for ScriptBytes
source§fn from(wrapped: SigScript) -> ScriptBytes
fn from(wrapped: SigScript) -> ScriptBytes
Converts to this type from the input type.
source§impl Ord for SigScript
impl Ord for SigScript
source§impl PartialEq<SigScript> for SigScript
impl PartialEq<SigScript> for SigScript
source§impl PartialOrd<SigScript> for SigScript
impl PartialOrd<SigScript> for SigScript
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for SigScript
impl Serialize for SigScript
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl StrictDecode for SigScript
impl StrictDecode for SigScript
fn strict_decode(reader: &mut impl TypedRead) -> Result<SigScript, DecodeError>
source§impl StrictEncode for SigScript
impl StrictEncode for SigScript
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where W: TypedWrite,
source§impl StrictTuple for SigScript
impl StrictTuple for SigScript
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for SigScript
impl StrictType for SigScript
const STRICT_LIB_NAME: &'static str = LIB_NAME_BITCOIN
fn strict_name() -> Option<TypeName>
source§impl Wrapper for SigScript
impl Wrapper for SigScript
§type Inner = ScriptBytes
type Inner = ScriptBytes
Inner type wrapped by the current newtype
source§fn from_inner(inner: <SigScript as Wrapper>::Inner) -> SigScript
fn from_inner(inner: <SigScript as Wrapper>::Inner) -> SigScript
Instantiates wrapper type with the inner data
source§fn as_inner(&self) -> &<SigScript as Wrapper>::Inner
fn as_inner(&self) -> &<SigScript as Wrapper>::Inner
Returns reference to the inner representation for the wrapper type
source§impl WrapperMut for SigScript
impl WrapperMut for SigScript
impl Eq for SigScript
impl StrictProduct for SigScript
impl StructuralEq for SigScript
impl StructuralPartialEq for SigScript
Auto Trait Implementations§
impl RefUnwindSafe for SigScript
impl Send for SigScript
impl Sync for SigScript
impl Unpin for SigScript
impl UnwindSafe for SigScript
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.