[][src]Struct fabric_ledger_protos::common_messages::TransactionContext

pub struct TransactionContext {
    pub channel_id: String,
    pub transaction_id: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Generated files are compatible only with the same version of protobuf runtime.

Fields

channel_id: Stringtransaction_id: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl TransactionContext[src]

pub fn new() -> TransactionContext[src]

pub fn get_channel_id(&self) -> &str[src]

pub fn clear_channel_id(&mut self)[src]

pub fn set_channel_id(&mut self, v: String)[src]

pub fn mut_channel_id(&mut self) -> &mut String[src]

pub fn take_channel_id(&mut self) -> String[src]

pub fn get_transaction_id(&self) -> &str[src]

pub fn clear_transaction_id(&mut self)[src]

pub fn set_transaction_id(&mut self, v: String)[src]

pub fn mut_transaction_id(&mut self) -> &mut String[src]

pub fn take_transaction_id(&mut self) -> String[src]

Trait Implementations

impl Clear for TransactionContext[src]

impl Clone for TransactionContext[src]

impl Debug for TransactionContext[src]

impl Default for TransactionContext[src]

impl<'a> Default for &'a TransactionContext[src]

impl Message for TransactionContext[src]

impl PartialEq<TransactionContext> for TransactionContext[src]

impl ProtobufValue for TransactionContext[src]

impl StructuralPartialEq for TransactionContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.