Enum cml_chain_wasm::byron::ByronAddrType
source · pub enum ByronAddrType {
PublicKey = 0,
Script = 1,
Redeem = 2,
}Variants§
Trait Implementations§
source§impl Clone for ByronAddrType
impl Clone for ByronAddrType
source§fn clone(&self) -> ByronAddrType
fn clone(&self) -> ByronAddrType
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 Debug for ByronAddrType
impl Debug for ByronAddrType
source§impl<'de> Deserialize<'de> for ByronAddrType
impl<'de> Deserialize<'de> for ByronAddrType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ByronAddrType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ByronAddrType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromWasmAbi for ByronAddrType
impl FromWasmAbi for ByronAddrType
source§impl Hash for ByronAddrType
impl Hash for ByronAddrType
source§impl IntoWasmAbi for ByronAddrType
impl IntoWasmAbi for ByronAddrType
source§impl JsonSchema for ByronAddrType
impl JsonSchema for ByronAddrType
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl OptionFromWasmAbi for ByronAddrType
impl OptionFromWasmAbi for ByronAddrType
source§impl OptionIntoWasmAbi for ByronAddrType
impl OptionIntoWasmAbi for ByronAddrType
source§fn none() -> <ByronAddrType as IntoWasmAbi>::Abi
fn none() -> <ByronAddrType as IntoWasmAbi>::Abi
Returns an ABI instance indicating “none”, which JS will interpret as
the
None branch of this option. Read moresource§impl Ord for ByronAddrType
impl Ord for ByronAddrType
source§fn cmp(&self, other: &ByronAddrType) -> Ordering
fn cmp(&self, other: &ByronAddrType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ByronAddrType
impl PartialEq for ByronAddrType
source§fn eq(&self, other: &ByronAddrType) -> bool
fn eq(&self, other: &ByronAddrType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ByronAddrType
impl PartialOrd for ByronAddrType
source§fn partial_cmp(&self, other: &ByronAddrType) -> Option<Ordering>
fn partial_cmp(&self, other: &ByronAddrType) -> Option<Ordering>
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 ByronAddrType
impl Serialize for ByronAddrType
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
impl Copy for ByronAddrType
impl Eq for ByronAddrType
impl StructuralPartialEq for ByronAddrType
Auto Trait Implementations§
impl Freeze for ByronAddrType
impl RefUnwindSafe for ByronAddrType
impl Send for ByronAddrType
impl Sync for ByronAddrType
impl Unpin for ByronAddrType
impl UnwindSafe for ByronAddrType
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<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.