pub trait Limits: Clone + Eq {
Show 37 associated items type MaxAccumulatorLabelSize: Size; type MaxAccumulatorParamsSize: Size; type MaxAccumulatorPublicKeySize: Size; type MaxAccumulatorAccumulatedSize: Size; type MaxDidDocRefSize: Size; type MaxDidServiceEndpointIdSize: Size; type MaxDidServiceEndpointOrigins: Size; type MaxDidServiceEndpointOriginSize: Size; type MaxStatusListCredentialSize: Size; type MinStatusListCredentialSize: Size; type MaxIriSize: Size; type MaxBlobSize: Size; type MaxOffchainParamsLabelSize: Size; type MaxOffchainParamsBytesSize: Size; type MaxBBSPublicKeySize: Size; type MaxBBSPlusPublicKeySize: Size; type MaxBBDT16PublicKeySize: Size; type MaxPSPublicKeySize: Size; type MaxMasterMembers: Size; type MaxPolicyControllers: Size; type MaxIssuerPriceCurrencySymbolSize: Size; type MaxIssuersPerSchema: Size; type MaxVerifiersPerSchema: Size; type MaxIssuerPriceCurrencies: Size; type MaxTrustRegistryNameSize: Size; type MaxConvenerRegistries: Size; type MaxDelegatedIssuers: Size; type MaxSchemasPerIssuer: Size; type MaxSchemasPerVerifier: Size; type MaxRegistriesPerIssuer: Size; type MaxRegistriesPerVerifier: Size; type MaxTrustRegistryGovFrameworkSize: Size; type MaxSchemasPerRegistry: Size; type MaxParticipantsPerRegistry: Size; type MaxRegistryParticipantOrgNameSize: Size; type MaxRegistryParticipantDescriptionSize: Size; type MaxRegistryParticipantLogoSize: Size;
}
Expand description

All size limits for the dock-core encodable data structures.

Required Associated Types§

source

type MaxAccumulatorLabelSize: Size

Maximum size of the label

source

type MaxAccumulatorParamsSize: Size

Maximum byte size of the parameters. This depends only on the chosen elliptic curve.

source

type MaxAccumulatorPublicKeySize: Size

Maximum byte size of the public key. This depends only on the chosen elliptic curve.

source

type MaxAccumulatorAccumulatedSize: Size

Maximum byte size of the accumulated value which is just one group element (not the number of members)

source

type MaxDidDocRefSize: Size

Maximum byte size of reference to off-chain DID Doc.

source

type MaxDidServiceEndpointIdSize: Size

Maximum byte size of service endpoint’s id field

source

type MaxDidServiceEndpointOrigins: Size

Maximum number of service endpoint’s origin

source

type MaxDidServiceEndpointOriginSize: Size

Maximum byte size of service endpoint’s origin

source

type MaxStatusListCredentialSize: Size

StatusListCredentials with size larger than this won’t be accepted.

source

type MinStatusListCredentialSize: Size

StatusListCredentials with size less than this won’t be accepted.

source

type MaxIriSize: Size

Max byte size of the Iri.

source

type MaxBlobSize: Size

Max byte size of the Blob.

source

type MaxOffchainParamsLabelSize: Size

Max byte size of the offchain params label.

source

type MaxOffchainParamsBytesSize: Size

Max byte size of the offchain params bytes.

source

type MaxBBSPublicKeySize: Size

Maximum byte size of the BBS (fixed size) public key. This depends only on the chosen elliptic curve.

source

type MaxBBSPlusPublicKeySize: Size

Maximum byte size of the BBS+ (fixed size) public key. This depends only on the chosen elliptic curve.

source

type MaxBBDT16PublicKeySize: Size

Maximum byte size of the BBDT16 (fixed size) public key. This depends only on the chosen elliptic curve.

source

type MaxPSPublicKeySize: Size

Maximum byte size of the PS public key. This depends on the chosen elliptic curve and the number of messages that can be signed.

source

type MaxMasterMembers: Size

Max amount of master members per a single Membership.

source

type MaxPolicyControllers: Size

Max amount of the controller DIDs per a single Policy.

source

type MaxIssuerPriceCurrencySymbolSize: Size

source

type MaxIssuersPerSchema: Size

Max no of issuers that can issue for a particular schema

source

type MaxVerifiersPerSchema: Size

Max no of verifiers that can verify (credential) for a particular schema

source

type MaxIssuerPriceCurrencies: Size

Max no of currencies an issuer can set the price in for a particular schema

source

type MaxTrustRegistryNameSize: Size

Max size of the trust registry name.

source

type MaxConvenerRegistries: Size

Max no of the trust registries per a single convener.

source

type MaxDelegatedIssuers: Size

Max no of delegated issuers a particular issuer can have

source

type MaxSchemasPerIssuer: Size

Max no of schemas that a particular issuer can issue for

source

type MaxSchemasPerVerifier: Size

Max no of schemas that a particular verifier can verify (credential) for

source

type MaxRegistriesPerIssuer: Size

Max no of registries per a single issuer.

source

type MaxRegistriesPerVerifier: Size

Max no of registries per a single verifier.

source

type MaxTrustRegistryGovFrameworkSize: Size

Max government framework size for the trust registry.

source

type MaxSchemasPerRegistry: Size

Max no of schemas per registry.

source

type MaxParticipantsPerRegistry: Size

Max no of participants per a single registry.

source

type MaxRegistryParticipantOrgNameSize: Size

Max size of the TrustRegistry participant’s org name.

source

type MaxRegistryParticipantDescriptionSize: Size

Max size of the TrustRegistry participant’s description.

source

type MaxRegistryParticipantLogoSize: Size

Max size of the TrustRegistry participant’s logo.

Implementations on Foreign Types§

source§

impl Limits for ()

Limits without any limits.

§

type MaxAccumulatorLabelSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxAccumulatorParamsSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxAccumulatorPublicKeySize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxAccumulatorAccumulatedSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxDidDocRefSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxDidServiceEndpointIdSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxDidServiceEndpointOrigins = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxDidServiceEndpointOriginSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxStatusListCredentialSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MinStatusListCredentialSize = ConstU32<0>

§

type MaxIriSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxBlobSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxOffchainParamsLabelSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxOffchainParamsBytesSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxBBSPublicKeySize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxBBSPlusPublicKeySize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxBBDT16PublicKeySize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxPSPublicKeySize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxMasterMembers = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxPolicyControllers = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxIssuerPriceCurrencySymbolSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxIssuersPerSchema = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxVerifiersPerSchema = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxIssuerPriceCurrencies = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxTrustRegistryNameSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxConvenerRegistries = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxDelegatedIssuers = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxSchemasPerIssuer = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxSchemasPerVerifier = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxTrustRegistryGovFrameworkSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxRegistriesPerIssuer = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxRegistriesPerVerifier = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxSchemasPerRegistry = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxParticipantsPerRegistry = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxRegistryParticipantOrgNameSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxRegistryParticipantDescriptionSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

§

type MaxRegistryParticipantLogoSize = ConstU32<dock_core::::common::limits::NoLimit::{constant#0}>

Implementors§

source§

impl Limits for Runtime

§

type MaxPolicyControllers = ConstU32<15>

§

type MaxDidDocRefSize = ConstU32<1024>

§

type MaxDidServiceEndpointIdSize = ConstU32<1024>

§

type MaxDidServiceEndpointOriginSize = ConstU32<1025>

§

type MaxDidServiceEndpointOrigins = ConstU32<64>

§

type MinStatusListCredentialSize = ConstU32<500>

§

type MaxStatusListCredentialSize = ConstU32<40000>

§

type MaxPSPublicKeySize = ConstU32<65536>

§

type MaxBBSPublicKeySize = ConstU32<256>

§

type MaxBBSPlusPublicKeySize = ConstU32<256>

§

type MaxBBDT16PublicKeySize = ConstU32<256>

§

type MaxOffchainParamsLabelSize = ConstU32<128>

§

type MaxOffchainParamsBytesSize = ConstU32<65536>

§

type MaxAccumulatorLabelSize = ConstU32<128>

§

type MaxAccumulatorParamsSize = ConstU32<512>

§

type MaxAccumulatorPublicKeySize = ConstU32<256>

§

type MaxAccumulatorAccumulatedSize = ConstU32<128>

§

type MaxBlobSize = ConstU32<8192>

§

type MaxIriSize = ConstU32<1024>

§

type MaxMasterMembers = ConstU32<25>

§

type MaxIssuerPriceCurrencySymbolSize = ConstU32<10>

§

type MaxIssuersPerSchema = ConstU32<100>

§

type MaxVerifiersPerSchema = ConstU32<2000>

§

type MaxIssuerPriceCurrencies = ConstU32<25>

§

type MaxTrustRegistryNameSize = ConstU32<50>

§

type MaxConvenerRegistries = ConstU32<1000>

§

type MaxDelegatedIssuers = ConstU32<10>

§

type MaxRegistriesPerIssuer = ConstU32<250>

§

type MaxRegistriesPerVerifier = ConstU32<250>

§

type MaxSchemasPerRegistry = ConstU32<1000>

§

type MaxSchemasPerIssuer = ConstU32<1000>

§

type MaxSchemasPerVerifier = ConstU32<1000>

§

type MaxTrustRegistryGovFrameworkSize = ConstU32<1000>

§

type MaxParticipantsPerRegistry = ConstU32<10000>

§

type MaxRegistryParticipantOrgNameSize = ConstU32<100>

§

type MaxRegistryParticipantLogoSize = ConstU32<250>

§

type MaxRegistryParticipantDescriptionSize = ConstU32<500>

source§

impl<T, L> Limits for CombineTypesAndLimits<T, L>where T: Types, L: Limits,

§

type MaxAccumulatorLabelSize = <L as Limits>::MaxAccumulatorLabelSize

§

type MaxAccumulatorParamsSize = <L as Limits>::MaxAccumulatorParamsSize

§

type MaxAccumulatorPublicKeySize = <L as Limits>::MaxAccumulatorPublicKeySize

§

type MaxAccumulatorAccumulatedSize = <L as Limits>::MaxAccumulatorAccumulatedSize

§

type MaxDidDocRefSize = <L as Limits>::MaxDidDocRefSize

§

type MaxDidServiceEndpointIdSize = <L as Limits>::MaxDidServiceEndpointIdSize

§

type MaxDidServiceEndpointOrigins = <L as Limits>::MaxDidServiceEndpointOrigins

§

type MaxDidServiceEndpointOriginSize = <L as Limits>::MaxDidServiceEndpointOriginSize

§

type MaxStatusListCredentialSize = <L as Limits>::MaxStatusListCredentialSize

§

type MinStatusListCredentialSize = <L as Limits>::MinStatusListCredentialSize

§

type MaxIriSize = <L as Limits>::MaxIriSize

§

type MaxBlobSize = <L as Limits>::MaxBlobSize

§

type MaxOffchainParamsLabelSize = <L as Limits>::MaxOffchainParamsLabelSize

§

type MaxOffchainParamsBytesSize = <L as Limits>::MaxOffchainParamsBytesSize

§

type MaxBBSPublicKeySize = <L as Limits>::MaxBBSPublicKeySize

§

type MaxBBSPlusPublicKeySize = <L as Limits>::MaxBBSPlusPublicKeySize

§

type MaxPSPublicKeySize = <L as Limits>::MaxPSPublicKeySize

§

type MaxBBDT16PublicKeySize = <L as Limits>::MaxBBDT16PublicKeySize

§

type MaxMasterMembers = <L as Limits>::MaxMasterMembers

§

type MaxPolicyControllers = <L as Limits>::MaxPolicyControllers

§

type MaxIssuerPriceCurrencySymbolSize = <L as Limits>::MaxMasterMembers

§

type MaxIssuersPerSchema = <L as Limits>::MaxIssuersPerSchema

§

type MaxVerifiersPerSchema = <L as Limits>::MaxVerifiersPerSchema

§

type MaxIssuerPriceCurrencies = <L as Limits>::MaxIssuerPriceCurrencies

§

type MaxTrustRegistryNameSize = <L as Limits>::MaxTrustRegistryNameSize

§

type MaxConvenerRegistries = <L as Limits>::MaxConvenerRegistries

§

type MaxDelegatedIssuers = <L as Limits>::MaxDelegatedIssuers

§

type MaxSchemasPerIssuer = <L as Limits>::MaxSchemasPerIssuer

§

type MaxSchemasPerVerifier = <L as Limits>::MaxSchemasPerVerifier

§

type MaxSchemasPerRegistry = <L as Limits>::MaxSchemasPerRegistry

§

type MaxRegistriesPerIssuer = <L as Limits>::MaxRegistriesPerIssuer

§

type MaxRegistriesPerVerifier = <L as Limits>::MaxRegistriesPerVerifier

§

type MaxTrustRegistryGovFrameworkSize = <L as Limits>::MaxTrustRegistryGovFrameworkSize

§

type MaxParticipantsPerRegistry = <L as Limits>::MaxParticipantsPerRegistry

§

type MaxRegistryParticipantOrgNameSize = <L as Limits>::MaxRegistryParticipantOrgNameSize

§

type MaxRegistryParticipantLogoSize = <L as Limits>::MaxRegistryParticipantLogoSize

§

type MaxRegistryParticipantDescriptionSize = <L as Limits>::MaxRegistryParticipantDescriptionSize