Struct jormungandr_lib::interfaces::VotePlanStatus
source · pub struct VotePlanStatus {
pub id: VotePlanId,
pub payload: PayloadType,
pub vote_start: BlockDate,
pub vote_end: BlockDate,
pub committee_end: BlockDate,
pub committee_member_keys: Vec<MemberPublicKey>,
pub proposals: Vec<VoteProposalStatus>,
pub voting_token: TokenIdentifier,
}
Fields§
§id: VotePlanId
§payload: PayloadType
§vote_start: BlockDate
§vote_end: BlockDate
§committee_end: BlockDate
§committee_member_keys: Vec<MemberPublicKey>
§proposals: Vec<VoteProposalStatus>
§voting_token: TokenIdentifier
Trait Implementations§
source§impl Clone for VotePlanStatus
impl Clone for VotePlanStatus
source§fn clone(&self) -> VotePlanStatus
fn clone(&self) -> VotePlanStatus
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 VotePlanStatus
impl Debug for VotePlanStatus
source§impl<'de> Deserialize<'de> for VotePlanStatus
impl<'de> Deserialize<'de> for VotePlanStatus
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 From<VotePlanStatus> for VotePlanStatus
impl From<VotePlanStatus> for VotePlanStatus
source§fn from(vote_plan_status: VotePlanStatus) -> VotePlanStatus
fn from(vote_plan_status: VotePlanStatus) -> VotePlanStatus
Converts to this type from the input type.
source§impl From<VotePlanStatus> for VotePlanStatus
impl From<VotePlanStatus> for VotePlanStatus
source§impl PartialEq<VotePlanStatus> for VotePlanStatus
impl PartialEq<VotePlanStatus> for VotePlanStatus
source§fn eq(&self, other: &VotePlanStatus) -> bool
fn eq(&self, other: &VotePlanStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VotePlanStatus
impl Serialize for VotePlanStatus
impl Eq for VotePlanStatus
impl StructuralEq for VotePlanStatus
impl StructuralPartialEq for VotePlanStatus
Auto Trait Implementations§
impl RefUnwindSafe for VotePlanStatus
impl Send for VotePlanStatus
impl Sync for VotePlanStatus
impl Unpin for VotePlanStatus
impl UnwindSafe for VotePlanStatus
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