[][src]Struct catalyst_protocol_sdk_rust::Transaction::PublicEntry

pub struct PublicEntry {
    pub base: SingularPtrField<BaseEntry>,
    pub amount: Vec<u8>,
    pub data: Vec<u8>,
    pub timestamp: SingularPtrField<Timestamp>,
    pub signature: SingularPtrField<Signature>,
    pub gas_price: Vec<u8>,
    pub gas_limit: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

base: SingularPtrField<BaseEntry>amount: Vec<u8>data: Vec<u8>timestamp: SingularPtrField<Timestamp>signature: SingularPtrField<Signature>gas_price: Vec<u8>gas_limit: u64unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl PublicEntry[src]

pub fn new() -> PublicEntry[src]

pub fn get_base(&self) -> &BaseEntry[src]

pub fn clear_base(&mut self)[src]

pub fn has_base(&self) -> bool[src]

pub fn set_base(&mut self, v: BaseEntry)[src]

pub fn mut_base(&mut self) -> &mut BaseEntry[src]

pub fn take_base(&mut self) -> BaseEntry[src]

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

pub fn clear_amount(&mut self)[src]

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

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

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

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

pub fn clear_data(&mut self)[src]

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

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

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

pub fn get_timestamp(&self) -> &Timestamp[src]

pub fn clear_timestamp(&mut self)[src]

pub fn has_timestamp(&self) -> bool[src]

pub fn set_timestamp(&mut self, v: Timestamp)[src]

pub fn mut_timestamp(&mut self) -> &mut Timestamp[src]

pub fn take_timestamp(&mut self) -> Timestamp[src]

pub fn get_signature(&self) -> &Signature[src]

pub fn clear_signature(&mut self)[src]

pub fn has_signature(&self) -> bool[src]

pub fn set_signature(&mut self, v: Signature)[src]

pub fn mut_signature(&mut self) -> &mut Signature[src]

pub fn take_signature(&mut self) -> Signature[src]

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

pub fn clear_gas_price(&mut self)[src]

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

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

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

pub fn get_gas_limit(&self) -> u64[src]

pub fn clear_gas_limit(&mut self)[src]

pub fn set_gas_limit(&mut self, v: u64)[src]

Trait Implementations

impl Clear for PublicEntry[src]

impl Clone for PublicEntry[src]

impl Debug for PublicEntry[src]

impl Default for PublicEntry[src]

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

impl Message for PublicEntry[src]

impl PartialEq<PublicEntry> for PublicEntry[src]

impl ProtobufValue for PublicEntry[src]

impl StructuralPartialEq for PublicEntry[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.