pub struct PreparedTransaction<'a, T> {
pub transaction: T,
pub signing_pub_key: Cow<'a, str>,
}
Fields§
§transaction: T
§signing_pub_key: Cow<'a, str>
Hex representation of the public key that corresponds to the private key used to sign this transaction. If an empty string, indicates a multi-signature is present in the Signers field instead.
Implementations§
Trait Implementations§
Source§impl<'a, T: Clone> Clone for PreparedTransaction<'a, T>
impl<'a, T: Clone> Clone for PreparedTransaction<'a, T>
Source§fn clone(&self) -> PreparedTransaction<'a, T>
fn clone(&self) -> PreparedTransaction<'a, T>
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<'a, T: Debug> Debug for PreparedTransaction<'a, T>
impl<'a, T: Debug> Debug for PreparedTransaction<'a, T>
Source§impl<'de, 'a, T> Deserialize<'de> for PreparedTransaction<'a, T>where
T: Deserialize<'de>,
impl<'de, 'a, T> Deserialize<'de> for PreparedTransaction<'a, T>where
T: Deserialize<'de>,
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
Source§impl<'a, T: PartialEq> PartialEq for PreparedTransaction<'a, T>
impl<'a, T: PartialEq> PartialEq for PreparedTransaction<'a, T>
Source§impl<'a, T> Serialize for PreparedTransaction<'a, T>where
T: Serialize,
impl<'a, T> Serialize for PreparedTransaction<'a, T>where
T: Serialize,
impl<'a, T: Eq> Eq for PreparedTransaction<'a, T>
impl<'a, T> StructuralPartialEq for PreparedTransaction<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for PreparedTransaction<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for PreparedTransaction<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PreparedTransaction<'a, T>where
T: Send,
impl<'a, T> Sync for PreparedTransaction<'a, T>where
T: Sync,
impl<'a, T> Unpin for PreparedTransaction<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for PreparedTransaction<'a, T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.