Struct vit_servicing_station_tests_f10::common::data::generator::voting::parameters::vote_plan::SingleVotePlanParameters
source · pub struct SingleVotePlanParameters {
vote_plan: VotePlanDef,
vote_encryption_key: Option<String>,
}
Fields§
§vote_plan: VotePlanDef
§vote_encryption_key: Option<String>
Implementations§
source§impl SingleVotePlanParameters
impl SingleVotePlanParameters
pub fn proposals(&self) -> Vec<ProposalDef>
pub fn alias(&self) -> String
pub fn vote_plan(&self) -> VotePlanDef
pub fn vote_encryption_key(&self) -> Option<String>
pub fn set_vote_encryption_key(&mut self, vote_encryption_key: String)
Trait Implementations§
source§impl From<VotePlanDef> for SingleVotePlanParameters
impl From<VotePlanDef> for SingleVotePlanParameters
source§fn from(vote_plan: VotePlanDef) -> Self
fn from(vote_plan: VotePlanDef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SingleVotePlanParameters
impl Send for SingleVotePlanParameters
impl Sync for SingleVotePlanParameters
impl Unpin for SingleVotePlanParameters
impl UnwindSafe for SingleVotePlanParameters
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