pub enum CreateType {
None,
CREATE,
CREATE2,
}Expand description
The type of the create-like instruction.
Variants§
Implementations§
Source§impl CreateType
impl CreateType
pub fn from_address_scheme(address: &CreateContractAddressType) -> CreateType
Trait Implementations§
Source§impl Clone for CreateType
impl Clone for CreateType
impl Copy for CreateType
Source§impl Debug for CreateType
impl Debug for CreateType
Source§impl Decodable for CreateType
impl Decodable for CreateType
Source§impl Default for CreateType
impl Default for CreateType
Source§impl Encodable for CreateType
impl Encodable for CreateType
Source§fn rlp_append(&self, s: &mut RlpStream)
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
impl Eq for CreateType
Source§impl PartialEq for CreateType
impl PartialEq for CreateType
Source§impl Serialize for CreateType
impl Serialize for CreateType
impl StructuralPartialEq for CreateType
Auto Trait Implementations§
impl Forget for CreateType
impl Freeze for CreateType
impl Move for CreateType
impl RefUnwindSafe for CreateType
impl Send for CreateType
impl Sync for CreateType
impl Unpin for CreateType
impl UnsafeUnpin 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