[][src]Struct sawtooth_sdk::messages::network::GossipBatchByBatchIdRequest

pub struct GossipBatchByBatchIdRequest {
    pub id: String,
    pub nonce: String,
    pub time_to_live: u32,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

id: Stringnonce: Stringtime_to_live: u32unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl GossipBatchByBatchIdRequest[src]

pub fn new() -> GossipBatchByBatchIdRequest[src]

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

pub fn clear_id(&mut self)[src]

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

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

pub fn take_id(&mut self) -> 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_time_to_live(&self) -> u32[src]

pub fn clear_time_to_live(&mut self)[src]

pub fn set_time_to_live(&mut self, v: u32)[src]

Trait Implementations

impl Clone for GossipBatchByBatchIdRequest[src]

impl Default for GossipBatchByBatchIdRequest[src]

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

impl PartialEq<GossipBatchByBatchIdRequest> for GossipBatchByBatchIdRequest[src]

impl Debug for GossipBatchByBatchIdRequest[src]

impl Message for GossipBatchByBatchIdRequest[src]

impl Clear for GossipBatchByBatchIdRequest[src]

impl ProtobufValue for GossipBatchByBatchIdRequest[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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