[][src]Struct splinter::protos::circuit::AdminDirectMessage

pub struct AdminDirectMessage {
    pub circuit: String,
    pub sender: String,
    pub recipient: String,
    pub payload: Vec<u8>,
    pub correlation_id: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

circuit: Stringsender: Stringrecipient: Stringpayload: Vec<u8>correlation_id: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl AdminDirectMessage[src]

pub fn new() -> AdminDirectMessage[src]

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

pub fn clear_circuit(&mut self)[src]

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

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

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

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

pub fn clear_sender(&mut self)[src]

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

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

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

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

pub fn clear_recipient(&mut self)[src]

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

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

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

pub fn get_payload(&self) -> &[u8][src]

pub fn clear_payload(&mut self)[src]

pub fn set_payload(&mut self, v: Vec<u8>)[src]

pub fn mut_payload(&mut self) -> &mut Vec<u8>[src]

pub fn take_payload(&mut self) -> Vec<u8>[src]

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

pub fn clear_correlation_id(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for AdminDirectMessage[src]

impl Clone for AdminDirectMessage[src]

impl Debug for AdminDirectMessage[src]

impl Default for AdminDirectMessage[src]

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

impl Handler<CircuitMessageType, AdminDirectMessage> for AdminDirectMessageHandler[src]

impl Message for AdminDirectMessage[src]

impl PartialEq<AdminDirectMessage> for AdminDirectMessage[src]

impl ProtobufValue for AdminDirectMessage[src]

impl StructuralPartialEq for AdminDirectMessage[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync

impl<T> From<T> for T[src]

impl<M> FromMessageBytes for M where
    M: Message
[src]

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

impl<T> IntoSql for T

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,