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

pub struct CircuitProposal {
    pub proposal_type: CircuitProposal_ProposalType,
    pub circuit_id: String,
    pub circuit_hash: String,
    pub circuit_proposal: SingularPtrField<Circuit>,
    pub votes: RepeatedField<CircuitProposal_VoteRecord>,
    pub requester: Vec<u8>,
    pub requester_node_id: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

proposal_type: CircuitProposal_ProposalTypecircuit_id: Stringcircuit_hash: Stringcircuit_proposal: SingularPtrField<Circuit>votes: RepeatedField<CircuitProposal_VoteRecord>requester: Vec<u8>requester_node_id: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl CircuitProposal[src]

pub fn new() -> CircuitProposal[src]

pub fn get_proposal_type(&self) -> CircuitProposal_ProposalType[src]

pub fn clear_proposal_type(&mut self)[src]

pub fn set_proposal_type(&mut self, v: CircuitProposal_ProposalType)[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_circuit_proposal(&self) -> &Circuit[src]

pub fn clear_circuit_proposal(&mut self)[src]

pub fn has_circuit_proposal(&self) -> bool[src]

pub fn set_circuit_proposal(&mut self, v: Circuit)[src]

pub fn mut_circuit_proposal(&mut self) -> &mut Circuit[src]

pub fn take_circuit_proposal(&mut self) -> Circuit[src]

pub fn get_votes(&self) -> &[CircuitProposal_VoteRecord][src]

pub fn clear_votes(&mut self)[src]

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

pub fn mut_votes(&mut self) -> &mut RepeatedField<CircuitProposal_VoteRecord>[src]

pub fn take_votes(&mut self) -> RepeatedField<CircuitProposal_VoteRecord>[src]

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

pub fn clear_requester(&mut self)[src]

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

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

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

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

pub fn clear_requester_node_id(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for CircuitProposal[src]

impl Clone for CircuitProposal[src]

impl Debug for CircuitProposal[src]

impl Default for CircuitProposal[src]

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

impl Message for CircuitProposal[src]

impl PartialEq<CircuitProposal> for CircuitProposal[src]

impl ProtobufValue for CircuitProposal[src]

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