Struct ink_storage_traits::ManualKey
source · pub struct ManualKey<const KEY: Key, ParentKey: StorageKey = ()>(_);
Expand description
Manual key type specifies the storage key.
Trait Implementations§
source§impl<T, const KEY: Key, ParentKey> AutoStorableHint<ManualKey<KEY, ParentKey>> for Twhere
T: StorableHint<ParentKey> + StorableHint<ResolverKey<<T as StorableHint<ParentKey>>::PreferredKey, ManualKey<KEY, ParentKey>>>,
ParentKey: StorageKey,
impl<T, const KEY: Key, ParentKey> AutoStorableHint<ManualKey<KEY, ParentKey>> for Twhere T: StorableHint<ParentKey> + StorableHint<ResolverKey<<T as StorableHint<ParentKey>>::PreferredKey, ManualKey<KEY, ParentKey>>>, ParentKey: StorageKey,
§type Type = <T as StorableHint<ResolverKey<<T as StorableHint<ParentKey>>::PreferredKey, ManualKey<KEY, ParentKey>>>>::Type
type Type = <T as StorableHint<ResolverKey<<T as StorableHint<ParentKey>>::PreferredKey, ManualKey<KEY, ParentKey>>>>::Type
Storable type with storage key inside.
source§impl<const KEY: Key, ParentKey: PartialEq + StorageKey> PartialEq<ManualKey<KEY, ParentKey>> for ManualKey<KEY, ParentKey>
impl<const KEY: Key, ParentKey: PartialEq + StorageKey> PartialEq<ManualKey<KEY, ParentKey>> for ManualKey<KEY, ParentKey>
source§impl<const KEY: Key, ParentKey: PartialOrd + StorageKey> PartialOrd<ManualKey<KEY, ParentKey>> for ManualKey<KEY, ParentKey>
impl<const KEY: Key, ParentKey: PartialOrd + StorageKey> PartialOrd<ManualKey<KEY, ParentKey>> for ManualKey<KEY, ParentKey>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more