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

pub struct EventSubscription {
    pub event_type: String,
    pub filters: RepeatedField<EventFilter>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

event_type: Stringfilters: RepeatedField<EventFilter>unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl EventSubscription[src]

pub fn new() -> EventSubscription[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_filters(&self) -> &[EventFilter][src]

pub fn clear_filters(&mut self)[src]

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

pub fn mut_filters(&mut self) -> &mut RepeatedField<EventFilter>[src]

pub fn take_filters(&mut self) -> RepeatedField<EventFilter>[src]

Trait Implementations

impl Default for EventSubscription[src]

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

impl Clone for EventSubscription[src]

impl PartialEq<EventSubscription> for EventSubscription[src]

impl Debug for EventSubscription[src]

impl Message for EventSubscription[src]

impl Clear for EventSubscription[src]

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