Struct jormungandr_lib::interfaces::VotePlan
source · pub struct VotePlan {
pub payload_type: VotePrivacy,
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,
}
Fields§
§payload_type: VotePrivacy
§vote_start: BlockDate
§vote_end: BlockDate
§committee_end: BlockDate
§proposals: Proposals
§committee_member_public_keys: Vec<MemberPublicKey>
§voting_token: TokenIdentifier
Trait Implementations§
source§impl<'de> Deserialize<'de> for VotePlan
impl<'de> Deserialize<'de> for VotePlan
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
source§impl PartialEq<VotePlan> for VotePlan
impl PartialEq<VotePlan> for VotePlan
impl Eq for VotePlan
impl StructuralEq for VotePlan
impl StructuralPartialEq for VotePlan
Auto Trait Implementations§
impl RefUnwindSafe for VotePlan
impl Send for VotePlan
impl Sync for VotePlan
impl Unpin for VotePlan
impl UnwindSafe for VotePlan
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