pub struct TransferReceipt { /* private fields */ }Expand description
Verified transfer completion metadata.
Implementations§
Source§impl TransferReceipt
impl TransferReceipt
Sourcepub fn with_digests(
self,
source: impl Into<String>,
destination: impl Into<String>,
) -> Result<Self, RequestError>
pub fn with_digests( self, source: impl Into<String>, destination: impl Into<String>, ) -> Result<Self, RequestError>
Adds verified source and destination SHA-256 digests.
Sourcepub fn source_sha256(&self) -> Option<&str>
pub fn source_sha256(&self) -> Option<&str>
Returns the source SHA-256 when recorded.
Sourcepub fn destination_sha256(&self) -> Option<&str>
pub fn destination_sha256(&self) -> Option<&str>
Returns the destination SHA-256 when recorded.
Trait Implementations§
Source§impl Clone for TransferReceipt
impl Clone for TransferReceipt
Source§fn clone(&self) -> TransferReceipt
fn clone(&self) -> TransferReceipt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransferReceipt
impl Debug for TransferReceipt
Source§impl<'de> Deserialize<'de> for TransferReceipt
impl<'de> Deserialize<'de> for TransferReceipt
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 PartialEq for TransferReceipt
impl PartialEq for TransferReceipt
Source§fn eq(&self, other: &TransferReceipt) -> bool
fn eq(&self, other: &TransferReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransferReceipt
impl Serialize for TransferReceipt
impl Eq for TransferReceipt
impl StructuralPartialEq for TransferReceipt
Auto Trait Implementations§
impl Freeze for TransferReceipt
impl RefUnwindSafe for TransferReceipt
impl Send for TransferReceipt
impl Sync for TransferReceipt
impl Unpin for TransferReceipt
impl UnsafeUnpin for TransferReceipt
impl UnwindSafe for TransferReceipt
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.