[][src]Struct transact::protos::command::AddReceiptData

pub struct AddReceiptData {
    pub receipt_data: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

receipt_data: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl AddReceiptData[src]

pub fn new() -> AddReceiptData[src]

pub fn get_receipt_data(&self) -> &[u8][src]

pub fn clear_receipt_data(&mut self)[src]

pub fn set_receipt_data(&mut self, v: Vec<u8>)[src]

pub fn mut_receipt_data(&mut self) -> &mut Vec<u8>[src]

pub fn take_receipt_data(&mut self) -> Vec<u8>[src]

Trait Implementations

impl FromProto<AddReceiptData> for AddReceiptData[src]

impl FromNative<AddReceiptData> for AddReceiptData[src]

impl IntoNative<AddReceiptData> for AddReceiptData[src]

impl IntoProto<AddReceiptData> for AddReceiptData[src]

impl Default for AddReceiptData[src]

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

impl Clone for AddReceiptData[src]

impl PartialEq<AddReceiptData> for AddReceiptData[src]

impl Debug for AddReceiptData[src]

impl Message for AddReceiptData[src]

impl Clear for AddReceiptData[src]

impl ProtobufValue for AddReceiptData[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Send + Sync + Clone

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> Same<T> for T

type Output = T

Should always be Self