Enum cfx_rpc_eth_types::CreateType
source · pub enum CreateType {
None,
CREATE,
CREATE2,
}
Expand description
The type of the create-like instruction.
Variants§
Trait Implementations§
source§impl Clone for CreateType
impl Clone for CreateType
source§fn clone(&self) -> CreateType
fn clone(&self) -> CreateType
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 CreateType
impl Debug for CreateType
source§impl From<CreateType> for CreateType
impl From<CreateType> for CreateType
source§fn from(cfx_create_type: CreateType) -> CreateType
fn from(cfx_create_type: CreateType) -> CreateType
Converts to this type from the input type.
source§impl Serialize for CreateType
impl Serialize for CreateType
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
Auto Trait Implementations§
impl RefUnwindSafe for CreateType
impl Send for CreateType
impl Sync for CreateType
impl Unpin for CreateType
impl UnwindSafe for CreateType
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