pub struct DPPVotingVersions {
pub default_vote_poll_time_duration_mainnet_ms: u64,
pub default_vote_poll_time_duration_test_network_ms: u64,
pub contested_document_vote_poll_stored_info_version: FeatureVersion,
pub yes_no_vote_poll_stored_info_version: OptionalFeatureVersion,
pub yes_no_vote_poll_id: OptionalFeatureVersion,
pub yes_no_vote_poll_parameters: OptionalFeatureVersion,
pub yes_no_vote_poll_decision: OptionalFeatureVersion,
}Fields§
§default_vote_poll_time_duration_mainnet_ms: u64§default_vote_poll_time_duration_test_network_ms: u64§contested_document_vote_poll_stored_info_version: FeatureVersion§yes_no_vote_poll_stored_info_version: OptionalFeatureVersionThe stored info of a yes/no poll. None (not active) before protocol version 15.
yes_no_vote_poll_id: OptionalFeatureVersionHow a yes/no poll’s id is derived (YesNoVotePoll::unique_id). The id keys the poll’s
stored trees and its end date index entry, and names its prefunded balance. None (not
active) before protocol version 15.
yes_no_vote_poll_parameters: OptionalFeatureVersionThe rules a yes/no poll’s parameters must meet (YesNoVotePoll::validate_parameters).
None (not active) before protocol version 15.
yes_no_vote_poll_decision: OptionalFeatureVersionHow a yes/no poll is decided: its required voting power and whether it passes
(YesNoVotePoll::required_voting_power and YesNoVotePoll::passes). None (not
active) before protocol version 15.
Trait Implementations§
Source§impl Clone for DPPVotingVersions
impl Clone for DPPVotingVersions
Source§fn clone(&self) -> DPPVotingVersions
fn clone(&self) -> DPPVotingVersions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DPPVotingVersions
impl Debug for DPPVotingVersions
Source§impl Default for DPPVotingVersions
impl Default for DPPVotingVersions
Source§fn default() -> DPPVotingVersions
fn default() -> DPPVotingVersions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DPPVotingVersions
impl RefUnwindSafe for DPPVotingVersions
impl Send for DPPVotingVersions
impl Sync for DPPVotingVersions
impl Unpin for DPPVotingVersions
impl UnsafeUnpin for DPPVotingVersions
impl UnwindSafe for DPPVotingVersions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> IntoPlatformVersioned<U> for Twhere
U: FromPlatformVersioned<T>,
impl<T, U> IntoPlatformVersioned<U> for Twhere
U: FromPlatformVersioned<T>,
Source§fn into_platform_versioned(self, platform_version: &PlatformVersion) -> U
fn into_platform_versioned(self, platform_version: &PlatformVersion) -> U
Performs the conversion.
Source§impl<T, U> TryIntoPlatformVersioned<U> for Twhere
U: TryFromPlatformVersioned<T>,
impl<T, U> TryIntoPlatformVersioned<U> for Twhere
U: TryFromPlatformVersioned<T>,
Source§type Error = <U as TryFromPlatformVersioned<T>>::Error
type Error = <U as TryFromPlatformVersioned<T>>::Error
The type returned in the event of a conversion error.
Source§fn try_into_platform_versioned(
self,
platform_version: &PlatformVersion,
) -> Result<U, <U as TryFromPlatformVersioned<T>>::Error>
fn try_into_platform_versioned( self, platform_version: &PlatformVersion, ) -> Result<U, <U as TryFromPlatformVersioned<T>>::Error>
Performs the conversion.