pub struct VotingValidationVersions {
pub allow_other_contenders_time_mainnet_ms: u64,
pub allow_other_contenders_time_testing_ms: u64,
pub votes_allowed_per_masternode: u16,
}Fields§
§allow_other_contenders_time_mainnet_ms: u64How long do we allow other contenders to join a contest after the first contender
allow_other_contenders_time_testing_ms: u64How long do we allow other contenders to join a contest after the first contender in a testing environment
votes_allowed_per_masternode: u16How many votes do we allow from the same masternode?
Trait Implementations§
Source§impl Clone for VotingValidationVersions
impl Clone for VotingValidationVersions
Source§fn clone(&self) -> VotingValidationVersions
fn clone(&self) -> VotingValidationVersions
Returns a duplicate 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 VotingValidationVersions
impl Debug for VotingValidationVersions
Source§impl Default for VotingValidationVersions
impl Default for VotingValidationVersions
Source§fn default() -> VotingValidationVersions
fn default() -> VotingValidationVersions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VotingValidationVersions
impl RefUnwindSafe for VotingValidationVersions
impl Send for VotingValidationVersions
impl Sync for VotingValidationVersions
impl Unpin for VotingValidationVersions
impl UnwindSafe for VotingValidationVersions
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.