[][src]Struct sawtooth_sdk::messages::state_context::TpEventAddRequest

pub struct TpEventAddRequest {
    pub context_id: String,
    pub event: SingularPtrField<Event>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context_id: Stringevent: SingularPtrField<Event>unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl TpEventAddRequest[src]

pub fn new() -> TpEventAddRequest[src]

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

pub fn clear_context_id(&mut self)[src]

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

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

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

pub fn get_event(&self) -> &Event[src]

pub fn clear_event(&mut self)[src]

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

pub fn set_event(&mut self, v: Event)[src]

pub fn mut_event(&mut self) -> &mut Event[src]

pub fn take_event(&mut self) -> Event[src]

Trait Implementations

impl Clone for TpEventAddRequest[src]

impl Default for TpEventAddRequest[src]

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

impl PartialEq<TpEventAddRequest> for TpEventAddRequest[src]

impl Debug for TpEventAddRequest[src]

impl Message for TpEventAddRequest[src]

impl Clear for TpEventAddRequest[src]

impl ProtobufValue for TpEventAddRequest[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]