[][src]Struct splinter::protos::admin::CircuitProposalVote

pub struct CircuitProposalVote {
    pub circuit_id: String,
    pub circuit_hash: String,
    pub vote: CircuitProposalVote_Vote,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

circuit_id: Stringcircuit_hash: Stringvote: CircuitProposalVote_Voteunknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl CircuitProposalVote[src]

pub fn new() -> CircuitProposalVote[src]

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

pub fn clear_circuit_id(&mut self)[src]

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

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

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

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

pub fn clear_circuit_hash(&mut self)[src]

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

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

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

pub fn get_vote(&self) -> CircuitProposalVote_Vote[src]

pub fn clear_vote(&mut self)[src]

pub fn set_vote(&mut self, v: CircuitProposalVote_Vote)[src]

Trait Implementations

impl Clear for CircuitProposalVote[src]

impl Clone for CircuitProposalVote[src]

impl Debug for CircuitProposalVote[src]

impl Default for CircuitProposalVote[src]

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

impl Message for CircuitProposalVote[src]

impl PartialEq<CircuitProposalVote> for CircuitProposalVote[src]

impl ProtobufValue for CircuitProposalVote[src]

impl StructuralPartialEq for CircuitProposalVote[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>,