Struct hersir::config::VotePlanTemplate
source · pub struct VotePlanTemplate {
pub committees: Vec<CommitteeTemplate>,
pub vote_start: BlockDate,
pub vote_end: BlockDate,
pub committee_end: BlockDate,
pub proposals: Proposals,
pub committee_member_public_keys: Vec<MemberPublicKey>,
pub voting_token: TokenIdentifier,
pub vote_plan_key: VotePlanKey,
pub private: Option<PrivateParameters>,
}
Fields§
§committees: Vec<CommitteeTemplate>
§vote_start: BlockDate
§vote_end: BlockDate
§committee_end: BlockDate
§proposals: Proposals
§committee_member_public_keys: Vec<MemberPublicKey>
§voting_token: TokenIdentifier
§vote_plan_key: VotePlanKey
§private: Option<PrivateParameters>
Trait Implementations§
source§impl Clone for VotePlanTemplate
impl Clone for VotePlanTemplate
source§fn clone(&self) -> VotePlanTemplate
fn clone(&self) -> VotePlanTemplate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VotePlanTemplate
impl Debug for VotePlanTemplate
source§impl<'de> Deserialize<'de> for VotePlanTemplate
impl<'de> Deserialize<'de> for VotePlanTemplate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for VotePlanTemplate
impl Send for VotePlanTemplate
impl Sync for VotePlanTemplate
impl Unpin for VotePlanTemplate
impl UnwindSafe for VotePlanTemplate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request