pub struct TransactionInfoResponse { /* private fields */ }Implementations§
Source§impl TransactionInfoResponse
impl TransactionInfoResponse
pub fn new( id: Id, status: ApplicationStatus, data: TransactionDataInfo, fee: Amount, timestamp: u64, public_key: PublicKey, tx_type: u8, version: u8, chain_id: u8, height: u32, proofs: Vec<Proof>, ) -> TransactionInfoResponse
pub fn id(&self) -> Id
pub fn status(&self) -> ApplicationStatus
pub fn data(&self) -> TransactionDataInfo
pub fn fee(&self) -> Amount
pub fn timestamp(&self) -> u64
pub fn public_key(&self) -> PublicKey
pub fn height(&self) -> u32
pub fn tx_type(&self) -> u8
pub fn version(&self) -> u8
pub fn chain_id(&self) -> u8
pub fn proofs(&self) -> Vec<Proof>
Trait Implementations§
Source§impl Clone for TransactionInfoResponse
impl Clone for TransactionInfoResponse
Source§fn clone(&self) -> TransactionInfoResponse
fn clone(&self) -> TransactionInfoResponse
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 Debug for TransactionInfoResponse
impl Debug for TransactionInfoResponse
Source§impl PartialEq for TransactionInfoResponse
impl PartialEq for TransactionInfoResponse
Source§impl TryFrom<&Value> for TransactionInfoResponse
impl TryFrom<&Value> for TransactionInfoResponse
impl Eq for TransactionInfoResponse
impl StructuralPartialEq for TransactionInfoResponse
Auto Trait Implementations§
impl Freeze for TransactionInfoResponse
impl RefUnwindSafe for TransactionInfoResponse
impl Send for TransactionInfoResponse
impl Sync for TransactionInfoResponse
impl Unpin for TransactionInfoResponse
impl UnwindSafe for TransactionInfoResponse
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§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.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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request