pub enum SignTarget {
Transaction {
tx: Transaction,
inputs: Vec<Transaction>,
change_path: String,
},
AnyMessage(H256),
AnyString(String),
AnyData(JsonBytes),
}Variants
Transaction
AnyMessage(H256)
AnyString(String)
AnyData(JsonBytes)
Trait Implementations
sourceimpl Clone for SignTarget
impl Clone for SignTarget
sourcefn clone(&self) -> SignTarget
fn clone(&self) -> SignTarget
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SignTarget
impl Debug for SignTarget
sourceimpl<'de> Deserialize<'de> for SignTarget
impl<'de> Deserialize<'de> for SignTarget
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for SignTarget
impl Serialize for SignTarget
Auto Trait Implementations
impl RefUnwindSafe for SignTarget
impl Send for SignTarget
impl Sync for SignTarget
impl Unpin for SignTarget
impl UnwindSafe for SignTarget
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more