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

pub struct AddEvent {
    pub event_type: String,
    pub attributes: RepeatedField<BytesEntry>,
    pub data: Vec<u8>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

event_type: Stringattributes: RepeatedField<BytesEntry>data: Vec<u8>unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl AddEvent[src]

pub fn new() -> AddEvent[src]

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

pub fn clear_event_type(&mut self)[src]

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

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

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

pub fn get_attributes(&self) -> &[BytesEntry][src]

pub fn clear_attributes(&mut self)[src]

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

pub fn mut_attributes(&mut self) -> &mut RepeatedField<BytesEntry>[src]

pub fn take_attributes(&mut self) -> RepeatedField<BytesEntry>[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]

Trait Implementations

impl FromProto<AddEvent> for AddEvent[src]

impl FromNative<AddEvent> for AddEvent[src]

impl IntoNative<AddEvent> for AddEvent[src]

impl IntoProto<AddEvent> for AddEvent[src]

impl Default for AddEvent[src]

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

impl Clone for AddEvent[src]

impl PartialEq<AddEvent> for AddEvent[src]

impl Debug for AddEvent[src]

impl Message for AddEvent[src]

impl Clear for AddEvent[src]

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