pub enum InputType {
InputCoin,
InputContract,
InputMessage,
}Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InputType
impl<'de> Deserialize<'de> for InputType
Source§fn deserialize<D>(deserializer: D) -> StdResult<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> StdResult<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hex for InputType
impl Hex for InputType
fn encode_hex(&self) -> String
fn decode_hex(hex: &str) -> Result<Self>
fn encode_hex_with_quotes(&self) -> String
impl Copy for InputType
impl Eq for InputType
impl StructuralPartialEq for InputType
Auto Trait Implementations§
impl Freeze for InputType
impl RefUnwindSafe for InputType
impl Send for InputType
impl Sync for InputType
impl Unpin for InputType
impl UnwindSafe for InputType
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