pub enum OutputType {
CoinOutput,
ContractOutput,
ChangeOutput,
VariableOutput,
ContractCreated,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OutputType
impl Clone for OutputType
Source§fn clone(&self) -> OutputType
fn clone(&self) -> OutputType
Returns a duplicate 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 OutputType
impl Debug for OutputType
Source§impl Default for OutputType
impl Default for OutputType
Source§fn default() -> OutputType
fn default() -> OutputType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputType
impl<'de> Deserialize<'de> for OutputType
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 FromStr for OutputType
impl FromStr for OutputType
Source§impl Hex for OutputType
impl Hex for OutputType
fn encode_hex(&self) -> String
fn decode_hex(hex: &str) -> Result<Self>
fn encode_hex_with_quotes(&self) -> String
Source§impl PartialEq for OutputType
impl PartialEq for OutputType
Source§impl Serialize for OutputType
impl Serialize for OutputType
impl Copy for OutputType
impl Eq for OutputType
impl StructuralPartialEq for OutputType
Auto Trait Implementations§
impl Freeze for OutputType
impl RefUnwindSafe for OutputType
impl Send for OutputType
impl Sync for OutputType
impl Unpin for OutputType
impl UnwindSafe for OutputType
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