pub struct DPPContractVersions {
pub max_serialized_size: u32,
pub contract_serialization_version: FeatureVersionBounds,
pub contract_structure_version: FeatureVersion,
pub created_data_contract_structure: FeatureVersion,
pub config: FeatureVersionBounds,
pub methods: DataContractMethodVersions,
pub document_type_versions: DocumentTypeVersions,
pub token_versions: TokenVersions,
}Fields§
§max_serialized_size: u32The maximum that we can store a data contract in the state. There is a possibility that a client sends a state transition serialized in a specific version and that the system re-serializes it to the current version, and in so doing increases it’s size.
contract_serialization_version: FeatureVersionBoundsThis is how we serialize and deserialize a contract
contract_structure_version: FeatureVersionThis is the structure of the Contract as it is defined for code paths
created_data_contract_structure: FeatureVersion§config: FeatureVersionBounds§methods: DataContractMethodVersions§document_type_versions: DocumentTypeVersions§token_versions: TokenVersionsTrait Implementations§
Source§impl Clone for DPPContractVersions
impl Clone for DPPContractVersions
Source§fn clone(&self) -> DPPContractVersions
fn clone(&self) -> DPPContractVersions
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 DPPContractVersions
impl Debug for DPPContractVersions
Source§impl Default for DPPContractVersions
impl Default for DPPContractVersions
Source§fn default() -> DPPContractVersions
fn default() -> DPPContractVersions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DPPContractVersions
impl RefUnwindSafe for DPPContractVersions
impl Send for DPPContractVersions
impl Sync for DPPContractVersions
impl Unpin for DPPContractVersions
impl UnwindSafe for DPPContractVersions
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.