pub enum SignTarget {
Transaction {
tx: Transaction,
inputs: Vec<Transaction>,
change_path: String,
},
AnyMessage(H256),
AnyString(String),
AnyData(JsonBytes),
}
Variants§
Trait Implementations§
Source§impl Clone for SignTarget
impl Clone for SignTarget
Source§fn clone(&self) -> SignTarget
fn clone(&self) -> SignTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SignTarget
impl Debug for SignTarget
Source§impl<'de> Deserialize<'de> for SignTarget
impl<'de> Deserialize<'de> for SignTarget
Source§fn 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
Auto Trait Implementations§
impl !Freeze for SignTarget
impl RefUnwindSafe for SignTarget
impl Send for SignTarget
impl Sync for SignTarget
impl Unpin for SignTarget
impl UnwindSafe for SignTarget
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