pub struct VoteResolutionFundFees {
pub contested_document_vote_resolution_fund_required_amount: u64,
pub contested_document_vote_resolution_unlock_fund_required_amount: u64,
pub contested_document_single_vote_cost: u64,
}Fields§
§contested_document_vote_resolution_fund_required_amount: u64This is the amount that will be deducted from an identity and used to pay for voting
contested_document_vote_resolution_unlock_fund_required_amount: u64This is the amount that will be deducted from an identity and used to pay for voting if we are currently locked
contested_document_single_vote_cost: u64This is the amount that a single vote will cost
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for VoteResolutionFundFees
impl<'__de, __Context> BorrowDecode<'__de, __Context> for VoteResolutionFundFees
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for VoteResolutionFundFees
impl Clone for VoteResolutionFundFees
Source§fn clone(&self) -> VoteResolutionFundFees
fn clone(&self) -> VoteResolutionFundFees
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 VoteResolutionFundFees
impl Debug for VoteResolutionFundFees
Source§impl<__Context> Decode<__Context> for VoteResolutionFundFees
impl<__Context> Decode<__Context> for VoteResolutionFundFees
Source§impl Default for VoteResolutionFundFees
impl Default for VoteResolutionFundFees
Source§fn default() -> VoteResolutionFundFees
fn default() -> VoteResolutionFundFees
Returns the “default value” for a type. Read more
Source§impl Encode for VoteResolutionFundFees
impl Encode for VoteResolutionFundFees
Source§impl PartialEq for VoteResolutionFundFees
impl PartialEq for VoteResolutionFundFees
impl Eq for VoteResolutionFundFees
impl StructuralPartialEq for VoteResolutionFundFees
Auto Trait Implementations§
impl Freeze for VoteResolutionFundFees
impl RefUnwindSafe for VoteResolutionFundFees
impl Send for VoteResolutionFundFees
impl Sync for VoteResolutionFundFees
impl Unpin for VoteResolutionFundFees
impl UnwindSafe for VoteResolutionFundFees
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.