Struct catenis_api_client::api::BlockchainTransaction
source · pub struct BlockchainTransaction {
pub txid: String,
pub type_: TransactionType,
pub batch_doc: Option<BatchDocRef>,
pub origin_device: Option<OriginDeviceInfo>,
}
Expand description
Information about the blockchain transaction used to record a message.
Fields
txid: String
Blockchain transaction ID.
type_: TransactionType
Catenis message transaction type.
batch_doc: Option<BatchDocRef>
Off-chain message batch document reference.
Note: only returned for off-chain messages.
origin_device: Option<OriginDeviceInfo>
Origin device info.
Note: not returned for off-chain messages.
Trait Implementations
sourceimpl Clone for BlockchainTransaction
impl Clone for BlockchainTransaction
sourcefn clone(&self) -> BlockchainTransaction
fn clone(&self) -> BlockchainTransaction
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 moresourceimpl Debug for BlockchainTransaction
impl Debug for BlockchainTransaction
sourceimpl<'de> Deserialize<'de> for BlockchainTransaction
impl<'de> Deserialize<'de> for BlockchainTransaction
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 PartialEq<BlockchainTransaction> for BlockchainTransaction
impl PartialEq<BlockchainTransaction> for BlockchainTransaction
sourcefn eq(&self, other: &BlockchainTransaction) -> bool
fn eq(&self, other: &BlockchainTransaction) -> bool
impl Eq for BlockchainTransaction
impl StructuralEq for BlockchainTransaction
impl StructuralPartialEq for BlockchainTransaction
Auto Trait Implementations
impl RefUnwindSafe for BlockchainTransaction
impl Send for BlockchainTransaction
impl Sync for BlockchainTransaction
impl Unpin for BlockchainTransaction
impl UnwindSafe for BlockchainTransaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.