[][src]Struct transact::protos::transaction::TransactionHeader

pub struct TransactionHeader {
    pub batcher_public_key: String,
    pub dependencies: RepeatedField<String>,
    pub family_name: String,
    pub family_version: String,
    pub inputs: RepeatedField<String>,
    pub nonce: String,
    pub outputs: RepeatedField<String>,
    pub payload_sha512: String,
    pub signer_public_key: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

batcher_public_key: Stringdependencies: RepeatedField<String>family_name: Stringfamily_version: Stringinputs: RepeatedField<String>nonce: Stringoutputs: RepeatedField<String>payload_sha512: Stringsigner_public_key: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl TransactionHeader[src]

pub fn new() -> TransactionHeader[src]

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

pub fn clear_batcher_public_key(&mut self)[src]

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

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

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

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

pub fn clear_dependencies(&mut self)[src]

pub fn set_dependencies(&mut self, v: RepeatedField<String>)[src]

pub fn mut_dependencies(&mut self) -> &mut RepeatedField<String>[src]

pub fn take_dependencies(&mut self) -> RepeatedField<String>[src]

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

pub fn clear_family_name(&mut self)[src]

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

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

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

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

pub fn clear_family_version(&mut self)[src]

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

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

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

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

pub fn clear_inputs(&mut self)[src]

pub fn set_inputs(&mut self, v: RepeatedField<String>)[src]

pub fn mut_inputs(&mut self) -> &mut RepeatedField<String>[src]

pub fn take_inputs(&mut self) -> RepeatedField<String>[src]

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

pub fn clear_nonce(&mut self)[src]

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

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

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

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

pub fn clear_outputs(&mut self)[src]

pub fn set_outputs(&mut self, v: RepeatedField<String>)[src]

pub fn mut_outputs(&mut self) -> &mut RepeatedField<String>[src]

pub fn take_outputs(&mut self) -> RepeatedField<String>[src]

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

pub fn clear_payload_sha512(&mut self)[src]

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

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

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

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

pub fn clear_signer_public_key(&mut self)[src]

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

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

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

Trait Implementations

impl FromProto<TransactionHeader> for TransactionHeader[src]

impl FromNative<TransactionHeader> for TransactionHeader[src]

impl IntoNative<TransactionHeader> for TransactionHeader[src]

impl IntoProto<TransactionHeader> for TransactionHeader[src]

impl Default for TransactionHeader[src]

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

impl Clone for TransactionHeader[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<TransactionHeader> for TransactionHeader[src]

impl Debug for TransactionHeader[src]

impl Message for TransactionHeader[src]

fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>[src]

Write the message to the stream. Read more

fn write_length_delimited_to(
    &self,
    os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]

Write the message to the stream prepending the message with message length encoded as varint. Read more

fn write_length_delimited_to_vec(
    &self,
    vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]

Write the message to the vec, prepend the message with message length encoded as varint. Read more

fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]

Update this message object with fields read from given stream.

fn check_initialized(&self) -> Result<(), ProtobufError>[src]

Check if all required fields of this object are initialized.

fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>[src]

Write the message to the writer.

fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>[src]

Write the message to bytes vec.

fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]

Write the message to bytes vec.

fn write_length_delimited_to_writer(
    &self,
    w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]

Write the message to the writer, prepend the message with message length encoded as varint. Read more

fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]

Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more

fn type_id(&self) -> TypeId[src]

Get type id for downcasting.

impl Clear for TransactionHeader[src]

impl ProtobufValue for TransactionHeader[src]

fn as_any(&self) -> &(dyn Any + 'static)[src]

fn is_non_zero(&self) -> bool[src]

fn as_ref_copy(&self) -> ProtobufValueRef<'static>[src]

Auto Trait Implementations

Blanket Implementations

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.

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