pub struct DPPTokenVersions {
pub identity_token_info_default_structure_version: FeatureVersion,
pub identity_token_status_default_structure_version: FeatureVersion,
pub token_contract_info_default_structure_version: FeatureVersion,
pub token_config_update_action_id_version: FeatureVersion,
pub token_set_price_action_id_version: FeatureVersion,
}Fields§
§identity_token_info_default_structure_version: FeatureVersion§identity_token_status_default_structure_version: FeatureVersion§token_contract_info_default_structure_version: FeatureVersion§token_config_update_action_id_version: FeatureVersionVersion for the token config update action_id calculation. v0: uses only the u8 discriminant of the config change item (vulnerable to value swap) v1: includes the full serialized config change item in the hash
token_set_price_action_id_version: FeatureVersionVersion for the set-price-for-direct-purchase action_id calculation. v0: uses only minimum_purchase_amount_and_price().1 (vulnerable to schedule swap) v1: includes the full serialized TokenPricingSchedule in the hash
Trait Implementations§
Source§impl Clone for DPPTokenVersions
impl Clone for DPPTokenVersions
Source§fn clone(&self) -> DPPTokenVersions
fn clone(&self) -> DPPTokenVersions
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 DPPTokenVersions
impl Debug for DPPTokenVersions
Source§impl Default for DPPTokenVersions
impl Default for DPPTokenVersions
Source§fn default() -> DPPTokenVersions
fn default() -> DPPTokenVersions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DPPTokenVersions
impl RefUnwindSafe for DPPTokenVersions
impl Send for DPPTokenVersions
impl Sync for DPPTokenVersions
impl Unpin for DPPTokenVersions
impl UnwindSafe for DPPTokenVersions
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.