Struct dock_runtime::common::CombineTypesAndLimits
source · pub struct CombineTypesAndLimits<T, L = ()>(_)
where
T: Types,
L: Limits;
Expand description
Combines two different types - first implementing Types
and second implementing Limits
to form a single type implementing both.
Trait Implementations§
source§impl<T, L> Clone for CombineTypesAndLimits<T, L>where
T: Clone + Types,
L: Clone + Limits,
impl<T, L> Clone for CombineTypesAndLimits<T, L>where T: Clone + Types, L: Clone + Limits,
source§fn clone(&self) -> CombineTypesAndLimits<T, L>
fn clone(&self) -> CombineTypesAndLimits<T, L>
Returns a copy 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<T, L> Default for CombineTypesAndLimits<T, L>where
T: Default + Types,
L: Default + Limits,
impl<T, L> Default for CombineTypesAndLimits<T, L>where T: Default + Types, L: Default + Limits,
source§fn default() -> CombineTypesAndLimits<T, L>
fn default() -> CombineTypesAndLimits<T, L>
Returns the “default value” for a type. Read more
source§impl<T, L> Limits for CombineTypesAndLimits<T, L>where
T: Types,
L: Limits,
impl<T, L> Limits for CombineTypesAndLimits<T, L>where T: Types, L: Limits,
§type MaxAccumulatorLabelSize = <L as Limits>::MaxAccumulatorLabelSize
type MaxAccumulatorLabelSize = <L as Limits>::MaxAccumulatorLabelSize
Maximum size of the label
§type MaxAccumulatorParamsSize = <L as Limits>::MaxAccumulatorParamsSize
type MaxAccumulatorParamsSize = <L as Limits>::MaxAccumulatorParamsSize
Maximum byte size of the parameters. This depends only on the chosen elliptic curve.
§type MaxAccumulatorPublicKeySize = <L as Limits>::MaxAccumulatorPublicKeySize
type MaxAccumulatorPublicKeySize = <L as Limits>::MaxAccumulatorPublicKeySize
Maximum byte size of the public key. This depends only on the chosen elliptic curve.
§type MaxAccumulatorAccumulatedSize = <L as Limits>::MaxAccumulatorAccumulatedSize
type MaxAccumulatorAccumulatedSize = <L as Limits>::MaxAccumulatorAccumulatedSize
Maximum byte size of the accumulated value which is just one group element (not the number of members)
§type MaxDidDocRefSize = <L as Limits>::MaxDidDocRefSize
type MaxDidDocRefSize = <L as Limits>::MaxDidDocRefSize
Maximum byte size of reference to off-chain DID Doc.
§type MaxDidServiceEndpointIdSize = <L as Limits>::MaxDidServiceEndpointIdSize
type MaxDidServiceEndpointIdSize = <L as Limits>::MaxDidServiceEndpointIdSize
Maximum byte size of service endpoint’s
id
field§type MaxDidServiceEndpointOrigins = <L as Limits>::MaxDidServiceEndpointOrigins
type MaxDidServiceEndpointOrigins = <L as Limits>::MaxDidServiceEndpointOrigins
Maximum number of service endpoint’s
origin
§type MaxDidServiceEndpointOriginSize = <L as Limits>::MaxDidServiceEndpointOriginSize
type MaxDidServiceEndpointOriginSize = <L as Limits>::MaxDidServiceEndpointOriginSize
Maximum byte size of service endpoint’s
origin
§type MaxStatusListCredentialSize = <L as Limits>::MaxStatusListCredentialSize
type MaxStatusListCredentialSize = <L as Limits>::MaxStatusListCredentialSize
StatusListCredential
s with size larger than this won’t be accepted.§type MinStatusListCredentialSize = <L as Limits>::MinStatusListCredentialSize
type MinStatusListCredentialSize = <L as Limits>::MinStatusListCredentialSize
StatusListCredential
s with size less than this won’t be accepted.§type MaxIriSize = <L as Limits>::MaxIriSize
type MaxIriSize = <L as Limits>::MaxIriSize
Max byte size of the
Iri
.§type MaxBlobSize = <L as Limits>::MaxBlobSize
type MaxBlobSize = <L as Limits>::MaxBlobSize
Max byte size of the
Blob
.§type MaxOffchainParamsLabelSize = <L as Limits>::MaxOffchainParamsLabelSize
type MaxOffchainParamsLabelSize = <L as Limits>::MaxOffchainParamsLabelSize
Max byte size of the offchain params label.
§type MaxOffchainParamsBytesSize = <L as Limits>::MaxOffchainParamsBytesSize
type MaxOffchainParamsBytesSize = <L as Limits>::MaxOffchainParamsBytesSize
Max byte size of the offchain params bytes.
§type MaxBBSPublicKeySize = <L as Limits>::MaxBBSPublicKeySize
type MaxBBSPublicKeySize = <L as Limits>::MaxBBSPublicKeySize
Maximum byte size of the
BBS
(fixed size) public key. This depends only on the chosen elliptic curve.§type MaxBBSPlusPublicKeySize = <L as Limits>::MaxBBSPlusPublicKeySize
type MaxBBSPlusPublicKeySize = <L as Limits>::MaxBBSPlusPublicKeySize
Maximum byte size of the
BBS+
(fixed size) public key. This depends only on the chosen elliptic curve.§type MaxPSPublicKeySize = <L as Limits>::MaxPSPublicKeySize
type MaxPSPublicKeySize = <L as Limits>::MaxPSPublicKeySize
Maximum byte size of the
PS
public key. This depends on the chosen elliptic curve and the number
of messages that can be signed.§type MaxBBDT16PublicKeySize = <L as Limits>::MaxBBDT16PublicKeySize
type MaxBBDT16PublicKeySize = <L as Limits>::MaxBBDT16PublicKeySize
Maximum byte size of the
BBDT16
(fixed size) public key. This depends only on the chosen elliptic curve.§type MaxMasterMembers = <L as Limits>::MaxMasterMembers
type MaxMasterMembers = <L as Limits>::MaxMasterMembers
Max amount of master members per a single
Membership
.§type MaxPolicyControllers = <L as Limits>::MaxPolicyControllers
type MaxPolicyControllers = <L as Limits>::MaxPolicyControllers
Max amount of the controller
DID
s per a single Policy
.type MaxIssuerPriceCurrencySymbolSize = <L as Limits>::MaxMasterMembers
§type MaxIssuersPerSchema = <L as Limits>::MaxIssuersPerSchema
type MaxIssuersPerSchema = <L as Limits>::MaxIssuersPerSchema
Max no of issuers that can issue for a particular schema
§type MaxVerifiersPerSchema = <L as Limits>::MaxVerifiersPerSchema
type MaxVerifiersPerSchema = <L as Limits>::MaxVerifiersPerSchema
Max no of verifiers that can verify (credential) for a particular schema
§type MaxIssuerPriceCurrencies = <L as Limits>::MaxIssuerPriceCurrencies
type MaxIssuerPriceCurrencies = <L as Limits>::MaxIssuerPriceCurrencies
Max no of currencies an issuer can set the price in for a particular schema
§type MaxTrustRegistryNameSize = <L as Limits>::MaxTrustRegistryNameSize
type MaxTrustRegistryNameSize = <L as Limits>::MaxTrustRegistryNameSize
Max size of the trust registry name.
§type MaxConvenerRegistries = <L as Limits>::MaxConvenerRegistries
type MaxConvenerRegistries = <L as Limits>::MaxConvenerRegistries
Max no of the trust registries per a single convener.
§type MaxDelegatedIssuers = <L as Limits>::MaxDelegatedIssuers
type MaxDelegatedIssuers = <L as Limits>::MaxDelegatedIssuers
Max no of delegated issuers a particular issuer can have
§type MaxSchemasPerIssuer = <L as Limits>::MaxSchemasPerIssuer
type MaxSchemasPerIssuer = <L as Limits>::MaxSchemasPerIssuer
Max no of schemas that a particular issuer can issue for
§type MaxSchemasPerVerifier = <L as Limits>::MaxSchemasPerVerifier
type MaxSchemasPerVerifier = <L as Limits>::MaxSchemasPerVerifier
Max no of schemas that a particular verifier can verify (credential) for
§type MaxSchemasPerRegistry = <L as Limits>::MaxSchemasPerRegistry
type MaxSchemasPerRegistry = <L as Limits>::MaxSchemasPerRegistry
Max no of schemas per registry.
§type MaxRegistriesPerIssuer = <L as Limits>::MaxRegistriesPerIssuer
type MaxRegistriesPerIssuer = <L as Limits>::MaxRegistriesPerIssuer
Max no of registries per a single issuer.
§type MaxRegistriesPerVerifier = <L as Limits>::MaxRegistriesPerVerifier
type MaxRegistriesPerVerifier = <L as Limits>::MaxRegistriesPerVerifier
Max no of registries per a single verifier.
§type MaxTrustRegistryGovFrameworkSize = <L as Limits>::MaxTrustRegistryGovFrameworkSize
type MaxTrustRegistryGovFrameworkSize = <L as Limits>::MaxTrustRegistryGovFrameworkSize
Max government framework size for the trust registry.
§type MaxParticipantsPerRegistry = <L as Limits>::MaxParticipantsPerRegistry
type MaxParticipantsPerRegistry = <L as Limits>::MaxParticipantsPerRegistry
Max no of participants per a single registry.
§type MaxRegistryParticipantOrgNameSize = <L as Limits>::MaxRegistryParticipantOrgNameSize
type MaxRegistryParticipantOrgNameSize = <L as Limits>::MaxRegistryParticipantOrgNameSize
Max size of the
TrustRegistry
participant’s org name.§type MaxRegistryParticipantLogoSize = <L as Limits>::MaxRegistryParticipantLogoSize
type MaxRegistryParticipantLogoSize = <L as Limits>::MaxRegistryParticipantLogoSize
Max size of the
TrustRegistry
participant’s logo.§type MaxRegistryParticipantDescriptionSize = <L as Limits>::MaxRegistryParticipantDescriptionSize
type MaxRegistryParticipantDescriptionSize = <L as Limits>::MaxRegistryParticipantDescriptionSize
Max size of the
TrustRegistry
participant’s description.source§impl<T, L> PartialEq<CombineTypesAndLimits<T, L>> for CombineTypesAndLimits<T, L>where
T: PartialEq<T> + Types,
L: PartialEq<L> + Limits,
impl<T, L> PartialEq<CombineTypesAndLimits<T, L>> for CombineTypesAndLimits<T, L>where T: PartialEq<T> + Types, L: PartialEq<L> + Limits,
source§fn eq(&self, other: &CombineTypesAndLimits<T, L>) -> bool
fn eq(&self, other: &CombineTypesAndLimits<T, L>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T, L> Types for CombineTypesAndLimits<T, L>where
T: Types,
L: Limits,
impl<T, L> Types for CombineTypesAndLimits<T, L>where T: Types, L: Limits,
type BlockNumber = <T as Types>::BlockNumber
type AccountId = <T as Types>::AccountId
impl<T, L> Eq for CombineTypesAndLimits<T, L>where T: Eq + Types, L: Eq + Limits,
impl<T, L> StructuralEq for CombineTypesAndLimits<T, L>where T: Types, L: Limits,
impl<T, L> StructuralPartialEq for CombineTypesAndLimits<T, L>where T: Types, L: Limits,
Auto Trait Implementations§
impl<T, L> RefUnwindSafe for CombineTypesAndLimits<T, L>where L: RefUnwindSafe, T: RefUnwindSafe,
impl<T, L> Send for CombineTypesAndLimits<T, L>where L: Send, T: Send,
impl<T, L> Sync for CombineTypesAndLimits<T, L>where L: Sync, T: Sync,
impl<T, L> Unpin for CombineTypesAndLimits<T, L>where L: Unpin, T: Unpin,
impl<T, L> UnwindSafe for CombineTypesAndLimits<T, L>where L: UnwindSafe, T: UnwindSafe,
Blanket Implementations§
source§impl<T> CanUpdate<()> for T
impl<T> CanUpdate<()> for T
source§fn can_remove(&self, _entity: &()) -> bool
fn can_remove(&self, _entity: &()) -> bool
Checks whether the existing entity can be removed.
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where Self: TryInto<T>,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.