pub struct FeeDataContractRegistrationVersion {
pub base_contract_registration_fee: u64,
pub document_type_registration_fee: u64,
pub document_type_base_non_unique_index_registration_fee: u64,
pub document_type_base_unique_index_registration_fee: u64,
pub document_type_base_contested_index_registration_fee: u64,
pub token_registration_fee: u64,
pub token_uses_perpetual_distribution_fee: u64,
pub token_uses_pre_programmed_distribution_fee: u64,
pub search_keyword_fee: u64,
}Expand description
These are the fee costs for various actions excluding validation Re-Validation will happen on data contract update which is why we don’t bundle them together.
Fields§
§base_contract_registration_fee: u64§document_type_registration_fee: u64§document_type_base_non_unique_index_registration_fee: u64§document_type_base_unique_index_registration_fee: u64§document_type_base_contested_index_registration_fee: u64All contested indexes are unique, but if the index is contested you only apply this fee
token_registration_fee: u64§token_uses_perpetual_distribution_fee: u64§token_uses_pre_programmed_distribution_fee: u64§search_keyword_fee: u64Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for FeeDataContractRegistrationVersion
impl<'__de, __Context> BorrowDecode<'__de, __Context> for FeeDataContractRegistrationVersion
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 FeeDataContractRegistrationVersion
impl Clone for FeeDataContractRegistrationVersion
Source§fn clone(&self) -> FeeDataContractRegistrationVersion
fn clone(&self) -> FeeDataContractRegistrationVersion
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<__Context> Decode<__Context> for FeeDataContractRegistrationVersion
impl<__Context> Decode<__Context> for FeeDataContractRegistrationVersion
Source§impl Default for FeeDataContractRegistrationVersion
impl Default for FeeDataContractRegistrationVersion
Source§fn default() -> FeeDataContractRegistrationVersion
fn default() -> FeeDataContractRegistrationVersion
Returns the “default value” for a type. Read more
Source§impl PartialEq for FeeDataContractRegistrationVersion
impl PartialEq for FeeDataContractRegistrationVersion
Source§fn eq(&self, other: &FeeDataContractRegistrationVersion) -> bool
fn eq(&self, other: &FeeDataContractRegistrationVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FeeDataContractRegistrationVersion
impl StructuralPartialEq for FeeDataContractRegistrationVersion
Auto Trait Implementations§
impl Freeze for FeeDataContractRegistrationVersion
impl RefUnwindSafe for FeeDataContractRegistrationVersion
impl Send for FeeDataContractRegistrationVersion
impl Sync for FeeDataContractRegistrationVersion
impl Unpin for FeeDataContractRegistrationVersion
impl UnwindSafe for FeeDataContractRegistrationVersion
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.