[][src]Struct transact::protos::events::Event

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

Fields

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

Methods

impl Event[src]

pub fn new() -> Event[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) -> &[Event_Attribute][src]

pub fn clear_attributes(&mut self)[src]

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

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

pub fn take_attributes(&mut self) -> RepeatedField<Event_Attribute>[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<Event> for Event[src]

impl FromNative<Event> for Event[src]

impl IntoNative<Event> for Event[src]

impl IntoProto<Event> for Event[src]

impl Default for Event[src]

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

impl Clone for Event[src]

impl PartialEq<Event> for Event[src]

impl Debug for Event[src]

impl Message for Event[src]

impl Clear for Event[src]

impl ProtobufValue for Event[src]

Auto Trait Implementations

impl Send for Event

impl Unpin for Event

impl Sync for Event

impl UnwindSafe for Event

impl RefUnwindSafe for Event

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