From 0b4091ffb202b8ae4a8a1406ec5cb5af8a8e2781 Mon Sep 17 00:00:00 2001 From: paritytech-ci Date: Fri, 22 Mar 2024 17:01:09 +0000 Subject: [PATCH] Updated docs for master} and pushed to gh-pages --- ink/codegen/struct.DispatchInput.html | 85 +-------- ink/codegen/struct.DispatchOutput.html | 85 +-------- ink/codegen/struct.TraitMessagePayable.html | 85 +-------- ink/codegen/struct.TraitMessageSelector.html | 85 +-------- ink/codegen/utils/struct.IsSameType.html | 85 +-------- ink/enum.LangError.html | 91 +--------- ink/reflect/enum.DispatchError.html | 91 +--------- .../struct.ConstructorOutputValue.html | 87 +--------- .../struct.TraitDefinitionRegistry.html | 85 +-------- ink/storage/struct.Lazy.html | 88 +--------- ink/storage/struct.Mapping.html | 88 +--------- ink/storage/struct.StorageVec.html | 88 +--------- ink/storage/traits/struct.AutoKey.html | 92 +--------- ink/storage/traits/struct.ManualKey.html | 92 +--------- ink/storage/traits/struct.ResolverKey.html | 92 +--------- ink/storage/traits/trait.StorageLayout.html | 2 +- ink/struct.EnvAccess.html | 92 +--------- ink/struct.ValueReturned.html | 87 +--------- ink_e2e/enum.AccountKeyring.html | 22 ++- ink_e2e/enum.PolkadotConfig.html | 3 +- ink_e2e/events/struct.CodeStoredEvent.html | 58 ++++--- ink_e2e/events/struct.ContractEmitted.html | 58 ++++--- .../struct.ContractInstantiatedEvent.html | 58 ++++--- ink_e2e/events/struct.EventWithTopics.html | 3 +- ink_e2e/sr25519/enum.Error.html | 8 +- ink_e2e/sr25519/struct.Keypair.html | 3 +- ink_e2e/sr25519/struct.PublicKey.html | 3 +- ink_e2e/sr25519/struct.Signature.html | 3 +- ink_e2e/struct.CallBuilder.html | 3 +- ink_e2e/struct.CallDryRunResult.html | 3 +- ink_e2e/struct.CallResult.html | 7 +- ink_e2e/struct.Client.html | 25 ++- ink_e2e/struct.DefaultSandbox.html | 3 +- ink_e2e/struct.H256.html | 59 ++++--- ink_e2e/struct.InstantiateBuilder.html | 3 +- ink_e2e/struct.InstantiateDryRunResult.html | 3 +- ink_e2e/struct.InstantiationResult.html | 3 +- ink_e2e/struct.Keypair.html | 3 +- ink_e2e/struct.RpcClient.html | 8 +- ink_e2e/struct.SandboxClient.html | 3 +- ink_e2e/struct.TestNodeProcess.html | 3 +- ink_e2e/struct.TestNodeProcessBuilder.html | 3 +- ink_e2e/struct.UploadResult.html | 3 +- ink_e2e/trait.ChainBackend.html | 4 +- ink_e2e/trait.ContractsBackend.html | 2 +- ink_e2e/trait.E2EBackend.html | 4 +- ink_e2e/type.CallBuilderFinal.html | 2 +- ink_e2e/type.Error.html | 2 +- ink_env/call/state/enum.Salt.html | 85 +-------- ink_env/call/struct.Call.html | 89 +--------- ink_env/call/struct.CallBuilder.html | 89 +--------- ink_env/call/struct.CallParams.html | 85 +-------- ink_env/call/struct.CallV1.html | 89 +--------- ink_env/call/struct.CreateBuilder.html | 89 +--------- ink_env/call/struct.CreateParams.html | 85 +-------- ink_env/call/struct.DelegateCall.html | 89 +--------- ink_env/call/struct.ExecutionInput.html | 92 +--------- ink_env/call/struct.LimitParamsV1.html | 89 +--------- ink_env/call/struct.LimitParamsV2.html | 89 +--------- ink_env/call/struct.Selector.html | 94 +--------- ink_env/call/utils/struct.Argument.html | 89 +--------- ink_env/call/utils/struct.ArgumentList.html | 92 +--------- .../call/utils/struct.ArgumentListEnd.html | 92 +--------- ink_env/call/utils/struct.ReturnType.html | 92 +--------- ink_env/call/utils/struct.Set.html | 89 +--------- ink_env/call/utils/struct.Unset.html | 92 +--------- .../state/enum.IgnoreErrorCode.html | 85 +-------- .../state/struct.HandleErrorCode.html | 85 +-------- .../struct.ChainExtensionMethod.html | 85 +-------- ink_env/enum.DefaultEnvironment.html | 89 +--------- ink_env/enum.Error.html | 87 +--------- ink_env/enum.NoChainExtension.html | 85 +-------- ink_env/enum.ReturnErrorCode.html | 85 +-------- ink_env/hash/enum.Blake2x128.html | 89 +--------- ink_env/hash/enum.Blake2x256.html | 89 +--------- ink_env/hash/enum.Keccak256.html | 89 +--------- ink_env/hash/enum.Sha2x256.html | 89 +--------- ink_env/struct.CallFlags.html | 89 +--------- ink_env/struct.ReturnFlags.html | 89 +--------- ink_env/test/struct.CallData.html | 91 +--------- ink_env/test/struct.DefaultAccounts.html | 85 +-------- ink_env/test/struct.EmittedEvent.html | 89 +--------- ink_metadata/enum.LangError.html | 89 +--------- ink_metadata/layout/enum.CryptoHasher.html | 85 +-------- ink_metadata/layout/enum.Layout.html | 87 +--------- ink_metadata/layout/enum.MetadataError.html | 91 +--------- ink_metadata/layout/struct.ArrayLayout.html | 85 +-------- ink_metadata/layout/struct.Discriminant.html | 89 +--------- ink_metadata/layout/struct.EnumLayout.html | 85 +-------- ink_metadata/layout/struct.FieldLayout.html | 85 +-------- ink_metadata/layout/struct.HashLayout.html | 85 +-------- .../layout/struct.HashingStrategy.html | 85 +-------- ink_metadata/layout/struct.LayoutKey.html | 89 +--------- ink_metadata/layout/struct.LeafLayout.html | 87 +--------- ink_metadata/layout/struct.RootLayout.html | 89 +--------- ink_metadata/layout/struct.StructLayout.html | 85 +-------- .../layout/struct.ValidateLayout.html | 85 +-------- ink_metadata/struct.ConstructorSpec.html | 85 +-------- .../struct.ConstructorSpecBuilder.html | 85 +-------- ink_metadata/struct.ContractSpec.html | 85 +-------- ink_metadata/struct.ContractSpecBuilder.html | 85 +-------- ink_metadata/struct.EnvironmentSpec.html | 88 +--------- .../struct.EnvironmentSpecBuilder.html | 85 +-------- ink_metadata/struct.EventParamSpec.html | 85 +-------- .../struct.EventParamSpecBuilder.html | 85 +-------- ink_metadata/struct.EventSpec.html | 85 +-------- ink_metadata/struct.EventSpecBuilder.html | 85 +-------- ink_metadata/struct.InkProject.html | 85 +-------- ink_metadata/struct.MessageParamSpec.html | 85 +-------- .../struct.MessageParamSpecBuilder.html | 85 +-------- ink_metadata/struct.MessageSpec.html | 85 +-------- ink_metadata/struct.MessageSpecBuilder.html | 85 +-------- ink_metadata/struct.ReturnTypeSpec.html | 85 +-------- ink_metadata/struct.Selector.html | 88 +--------- ink_metadata/struct.TypeSpec.html | 88 +--------- ink_metadata/trait.TypeInfo.html | 82 +++++---- ink_primitives/enum.LangError.html | 89 +--------- ink_primitives/struct.AccountId.html | 162 +++++------------- ink_primitives/struct.Hash.html | 161 +++++------------ ink_primitives/struct.KeyComposer.html | 85 +-------- ink_sandbox/enum.DispatchError.html | 4 +- ink_sandbox/macro.create_sandbox.html | 2 +- ink_sandbox/macros/enum.RuntimeCall.html | 22 +-- ink_sandbox/macros/enum.RuntimeEvent.html | 10 +- .../macros/enum.RuntimeHoldReason.html | 10 +- ink_sandbox/macros/index.html | 2 +- ink_sandbox/macros/struct.DefaultSandbox.html | 12 +- .../macros/struct.DefaultSandboxRuntime.html | 20 ++- ink_sandbox/macros/struct.PalletInfo.html | 4 +- ink_sandbox/macros/struct.RuntimeOrigin.html | 23 +-- ink_sandbox/macros/type.Balances.html | 2 +- ink_sandbox/macros/type.Contracts.html | 2 +- ink_sandbox/macros/type.System.html | 2 +- ink_sandbox/macros/type.Timestamp.html | 2 +- ink_sandbox/struct.AccountId32.html | 2 +- ink_sandbox/struct.Weight.html | 2 +- ink_sandbox/trait.Extension.html | 2 +- ink_sandbox/trait.Sandbox.html | 2 +- ink_storage/struct.Lazy.html | 88 +--------- ink_storage/struct.Mapping.html | 88 +--------- ink_storage/struct.StorageVec.html | 88 +--------- ink_storage_traits/struct.AutoKey.html | 92 +--------- ink_storage_traits/struct.ManualKey.html | 92 +--------- ink_storage_traits/struct.ResolverKey.html | 92 +--------- search-index.js | 14 +- src/ink_e2e/subxt_client.rs.html | 24 ++- src/ink_e2e/xts.rs.html | 22 ++- src/ink_sandbox/macros.rs.html | 4 + trait.impl/core/clone/trait.Clone.js | 14 +- trait.impl/core/cmp/trait.Eq.js | 10 +- trait.impl/core/cmp/trait.Ord.js | 2 +- trait.impl/core/cmp/trait.PartialEq.js | 12 +- trait.impl/core/cmp/trait.PartialOrd.js | 6 +- trait.impl/core/convert/trait.AsMut.js | 2 +- trait.impl/core/convert/trait.AsRef.js | 2 +- trait.impl/core/convert/trait.From.js | 8 +- trait.impl/core/convert/trait.TryFrom.js | 2 +- trait.impl/core/default/trait.Default.js | 10 +- trait.impl/core/fmt/trait.Debug.js | 18 +- trait.impl/core/hash/trait.Hash.js | 2 +- trait.impl/core/marker/trait.Copy.js | 8 +- trait.impl/core/marker/trait.StructuralEq.js | 10 +- .../core/marker/trait.StructuralPartialEq.js | 10 +- .../traits/misc/trait.IsInherent.js | 3 + .../layout/trait.StorageLayout.js | 2 +- .../storage/trait.StorableHint.js | 2 +- .../storage/trait.StorageKey.js | 2 +- .../parity_scale_codec/codec/trait.Decode.js | 4 +- .../parity_scale_codec/codec/trait.Encode.js | 8 +- .../encode_like/trait.EncodeLike.js | 6 +- .../scale_decode/trait.DecodeAsFields.js | 4 +- trait.impl/scale_decode/trait.IntoVisitor.js | 2 +- .../scale_encode/trait.EncodeAsFields.js | 4 +- trait.impl/scale_encode/trait.EncodeAsType.js | 2 +- .../scale_info/registry/trait.IntoPortable.js | 2 +- trait.impl/scale_info/trait.TypeInfo.js | 8 +- trait.impl/schemars/trait.JsonSchema.js | 2 +- trait.impl/serde/de/trait.Deserialize.js | 2 +- trait.impl/serde/ser/trait.Serialize.js | 2 +- type.impl/core/result/enum.Result.js | 6 +- .../frame_system/pallet/struct.Pallet.js | 2 +- type.impl/frame_system/struct.EventRecord.js | 2 +- .../ink_env/call/utils/struct.ArgumentList.js | 2 +- .../pallet_balances/pallet/struct.Pallet.js | 2 +- .../pallet_contracts/pallet/struct.Pallet.js | 2 +- .../parachain/struct.RuntimeGenesisConfig.js | 3 - .../struct.RuntimeGenesisConfig.js | 3 - .../pallet_timestamp/pallet/struct.Pallet.js | 2 +- type.impl/scale_info/ty/path/struct.Path.js | 2 +- 189 files changed, 924 insertions(+), 8296 deletions(-) create mode 100644 trait.impl/frame_support/traits/misc/trait.IsInherent.js delete mode 100644 type.impl/pallet_contracts_mock_network/parachain/struct.RuntimeGenesisConfig.js delete mode 100644 type.impl/pallet_contracts_mock_network/relay_chain/struct.RuntimeGenesisConfig.js diff --git a/ink/codegen/struct.DispatchInput.html b/ink/codegen/struct.DispatchInput.html index 882ec15765..1220d40968 100644 --- a/ink/codegen/struct.DispatchInput.html +++ b/ink/codegen/struct.DispatchInput.html @@ -1,4 +1,4 @@ -DispatchInput in ink::codegen - Rust

Struct ink::codegen::DispatchInput

source ·
pub struct DispatchInput<T>(/* private fields */)
+DispatchInput in ink::codegen - Rust

Struct ink::codegen::DispatchInput

source ·
pub struct DispatchInput<T>(/* private fields */)
 where
     T: Decode + 'static;
Expand description

Used to check if T is allowed as ink! input parameter type.

Note

@@ -21,91 +21,12 @@

Example

T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file diff --git a/ink/codegen/struct.DispatchOutput.html b/ink/codegen/struct.DispatchOutput.html index 735d709ddb..d0c81f62d9 100644 --- a/ink/codegen/struct.DispatchOutput.html +++ b/ink/codegen/struct.DispatchOutput.html @@ -1,4 +1,4 @@ -DispatchOutput in ink::codegen - Rust

Struct ink::codegen::DispatchOutput

source ·
pub struct DispatchOutput<T>(/* private fields */)
+DispatchOutput in ink::codegen - Rust

Struct ink::codegen::DispatchOutput

source ·
pub struct DispatchOutput<T>(/* private fields */)
 where
     T: Encode + 'static;
Expand description

Used to check if T is allowed as ink! output parameter type.

Note

@@ -21,91 +21,12 @@

Example

T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file diff --git a/ink/codegen/struct.TraitMessagePayable.html b/ink/codegen/struct.TraitMessagePayable.html index 3599e1c8dc..e8423c8d79 100644 --- a/ink/codegen/struct.TraitMessagePayable.html +++ b/ink/codegen/struct.TraitMessagePayable.html @@ -1,4 +1,4 @@ -TraitMessagePayable in ink::codegen - Rust
pub struct TraitMessagePayable<const IS_PAYABLE: bool>;
Expand description

Used as payable property guard for ink! trait messages.

+TraitMessagePayable in ink::codegen - Rust
pub struct TraitMessagePayable<const IS_PAYABLE: bool>;
Expand description

Used as payable property guard for ink! trait messages.

Note

When an ink! trait message is annotated with #[ink(payable)] a compile time check is generated by ink! to guard that the @@ -7,91 +7,12 @@

Note

Auto Trait Implementations§

§

impl<const IS_PAYABLE: bool> RefUnwindSafe for TraitMessagePayable<IS_PAYABLE>

§

impl<const IS_PAYABLE: bool> Send for TraitMessagePayable<IS_PAYABLE>

§

impl<const IS_PAYABLE: bool> Sync for TraitMessagePayable<IS_PAYABLE>

§

impl<const IS_PAYABLE: bool> Unpin for TraitMessagePayable<IS_PAYABLE>

§

impl<const IS_PAYABLE: bool> UnwindSafe for TraitMessagePayable<IS_PAYABLE>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file diff --git a/ink/codegen/struct.TraitMessageSelector.html b/ink/codegen/struct.TraitMessageSelector.html index 53ab02665d..9da73f9b90 100644 --- a/ink/codegen/struct.TraitMessageSelector.html +++ b/ink/codegen/struct.TraitMessageSelector.html @@ -1,4 +1,4 @@ -TraitMessageSelector in ink::codegen - Rust
pub struct TraitMessageSelector<const SELECTOR_ID: u32>;
Expand description

Used as selector property guard for ink! trait messages.

+TraitMessageSelector in ink::codegen - Rust
pub struct TraitMessageSelector<const SELECTOR_ID: u32>;
Expand description

Used as selector property guard for ink! trait messages.

Note

When an ink! trait message is annotated with #[ink(selector = ..)] a compile time check is generated by ink! to guard that the @@ -7,91 +7,12 @@

Note

Auto Trait Implementations§

§

impl<const SELECTOR_ID: u32> RefUnwindSafe for TraitMessageSelector<SELECTOR_ID>

§

impl<const SELECTOR_ID: u32> Send for TraitMessageSelector<SELECTOR_ID>

§

impl<const SELECTOR_ID: u32> Sync for TraitMessageSelector<SELECTOR_ID>

§

impl<const SELECTOR_ID: u32> Unpin for TraitMessageSelector<SELECTOR_ID>

§

impl<const SELECTOR_ID: u32> UnwindSafe for TraitMessageSelector<SELECTOR_ID>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file diff --git a/ink/codegen/utils/struct.IsSameType.html b/ink/codegen/utils/struct.IsSameType.html index 5ac7fd5726..32d40e8591 100644 --- a/ink/codegen/utils/struct.IsSameType.html +++ b/ink/codegen/utils/struct.IsSameType.html @@ -1,4 +1,4 @@ -IsSameType in ink::codegen::utils - Rust

Struct ink::codegen::utils::IsSameType

source ·
pub struct IsSameType<T> { /* private fields */ }
Expand description

Can be used to check equality of types.

+IsSameType in ink::codegen::utils - Rust

Struct ink::codegen::utils::IsSameType

source ·
pub struct IsSameType<T> { /* private fields */ }
Expand description

Can be used to check equality of types.

Example

This code compiles:

@@ -15,91 +15,12 @@

Example

T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file diff --git a/ink/enum.LangError.html b/ink/enum.LangError.html index 4dff5c6981..a1727d6a0b 100644 --- a/ink/enum.LangError.html +++ b/ink/enum.LangError.html @@ -1,4 +1,4 @@ -LangError in ink - Rust

Enum ink::LangError

#[non_exhaustive]
#[repr(u32)]
pub enum LangError { +LangError in ink - Rust

Enum ink::LangError

#[non_exhaustive]
#[repr(u32)]
pub enum LangError { CouldNotReadInput = 1, }
Expand description

An error emitted by the smart contracting language.

This is different than errors from:

@@ -25,8 +25,7 @@ sufficient, and should not be overridden without very good reason.
§

impl TypeInfo for LangError

§

type Identity = LangError

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
§

impl Copy for LangError

§

impl EncodeLike for LangError

§

impl Eq for LangError

§

impl StructuralEq for LangError

§

impl StructuralPartialEq for LangError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( limit: u32, @@ -34,99 +33,21 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Clone,
source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> KeyedVec for Twhere - T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<P> Storable for Pwhere + T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<P> Storable for Pwhere P: Codec,

§

fn encode<T>(&self, dest: &mut T)where T: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn decode<I>(input: &mut I) -> Result<P, Error>where I: Input,

Attempt to deserialize the value from input.
§

fn encoded_size(&self) -> usize

The exact number of bytes this type consumes in the encoded form.
§

impl<P, Key> StorableHint<Key> for Pwhere P: Packed, Key: StorageKey,

§

type Type = P

Storable type with storage key inside.
§

type PreferredKey = AutoKey

The storage key that the type prefers. It can be overwritten by an auto-generated storage key.
§

impl<P> StorageKey for Pwhere - P: Packed,

§

const KEY: u32 = 0u32

Storage key of the type.
§

fn key(&self) -> u32

Returns the storage key.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + P: Packed,

§

const KEY: u32 = 0u32

Storage key of the type.
§

fn key(&self) -> u32

Returns the storage key.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<S> Codec for Swhere diff --git a/ink/reflect/enum.DispatchError.html b/ink/reflect/enum.DispatchError.html index 9816005365..fa7fa93637 100644 --- a/ink/reflect/enum.DispatchError.html +++ b/ink/reflect/enum.DispatchError.html @@ -1,4 +1,4 @@ -DispatchError in ink::reflect - Rust
pub enum DispatchError {
+DispatchError in ink::reflect - Rust
pub enum DispatchError {
     InvalidSelector,
     UnknownSelector,
     InvalidParameters,
@@ -10,99 +10,20 @@
 
§

InvalidParameters

Failed to decode the parameters for the selected dispatchable.

§

CouldNotReadInput

Failed to read execution input for the dispatchable.

§

PaidUnpayableMessage

Invalidly paid an unpayable dispatchable.

-

Trait Implementations§

source§

impl Clone for DispatchError

source§

fn clone(&self) -> DispatchError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DispatchError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DispatchError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<DispatchError> for Error

source§

fn from(error: DispatchError) -> Self

Converts to this type from the input type.
source§

impl PartialEq for DispatchError

source§

fn eq(&self, other: &DispatchError) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for DispatchError

source§

fn clone(&self) -> DispatchError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DispatchError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DispatchError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<DispatchError> for Error

source§

fn from(error: DispatchError) -> Self

Converts to this type from the input type.
source§

impl PartialEq for DispatchError

source§

fn eq(&self, other: &DispatchError) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for DispatchError

source§

impl Eq for DispatchError

source§

impl StructuralEq for DispatchError

source§

impl StructuralPartialEq for DispatchError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file diff --git a/ink/reflect/struct.ConstructorOutputValue.html b/ink/reflect/struct.ConstructorOutputValue.html index d8a3214724..bdbced76e3 100644 --- a/ink/reflect/struct.ConstructorOutputValue.html +++ b/ink/reflect/struct.ConstructorOutputValue.html @@ -1,11 +1,11 @@ -ConstructorOutputValue in ink::reflect - Rust
pub struct ConstructorOutputValue<T>(/* private fields */);
Expand description

Stores the actual value of the constructor return type.

+ConstructorOutputValue in ink::reflect - Rust
pub struct ConstructorOutputValue<T>(/* private fields */);
Expand description

Stores the actual value of the constructor return type.

Note

Currently the only allowed types are () and Result<(), E> where E is some unspecified error type. If the contract initializer returns Result::Err the utility method that is used to initialize an ink! smart contract will revert the state of the contract instantiation.

-

Implementations§

source§

impl<T> ConstructorOutputValue<T>

source

pub fn new(val: T) -> Self

Trait Implementations§

source§

impl<C> ConstructorOutput<C> for ConstructorOutputValue<C>

§

type Error = &'static ()

The error type of the constructor return type. Read more
source§

fn as_result(&self) -> Result<&C, &Self::Error>

Converts the return value into a Result instance. Read more
source§

const IS_RESULT: bool = false

Is true if Self is Result<C, E>.
source§

impl<C, E> ConstructorOutput<C> for ConstructorOutputValue<Result<C, E>>

source§

const IS_RESULT: bool = true

Is true if Self is Result<C, E>.
§

type Error = E

The error type of the constructor return type. Read more
source§

fn as_result(&self) -> Result<&C, &Self::Error>

Converts the return value into a Result instance. Read more

Auto Trait Implementations§

Implementations§

source§

impl<T> ConstructorOutputValue<T>

source

pub fn new(val: T) -> Self

Trait Implementations§

source§

impl<C> ConstructorOutput<C> for ConstructorOutputValue<C>

§

type Error = &'static ()

The error type of the constructor return type. Read more
source§

fn as_result(&self) -> Result<&C, &Self::Error>

Converts the return value into a Result instance. Read more
source§

const IS_RESULT: bool = false

Is true if Self is Result<C, E>.
source§

impl<C, E> ConstructorOutput<C> for ConstructorOutputValue<Result<C, E>>

source§

const IS_RESULT: bool = true

Is true if Self is Result<C, E>.
§

type Error = E

The error type of the constructor return type. Read more
source§

fn as_result(&self) -> Result<&C, &Self::Error>

Converts the return value into a Result instance. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for ConstructorOutputValue<T>where T: RefUnwindSafe,

§

impl<T> Send for ConstructorOutputValue<T>where T: Send,

§

impl<T> Sync for ConstructorOutputValue<T>where T: Sync,

§

impl<T> Unpin for ConstructorOutputValue<T>where @@ -13,91 +13,12 @@

Note

T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file diff --git a/ink/reflect/struct.TraitDefinitionRegistry.html b/ink/reflect/struct.TraitDefinitionRegistry.html index beead814e7..c081241dbf 100644 --- a/ink/reflect/struct.TraitDefinitionRegistry.html +++ b/ink/reflect/struct.TraitDefinitionRegistry.html @@ -1,4 +1,4 @@ -TraitDefinitionRegistry in ink::reflect - Rust
pub struct TraitDefinitionRegistry<E> { /* private fields */ }
Expand description

Type that is guaranteed by ink! to implement all ink! trait definitions.

+TraitDefinitionRegistry in ink::reflect - Rust
pub struct TraitDefinitionRegistry<E> { /* private fields */ }
Expand description

Type that is guaranteed by ink! to implement all ink! trait definitions.

This guarantee is used by ink! itself and can be used by ink! smart contract authors to query static information about known ink! trait definitions.

Codegen

@@ -31,91 +31,12 @@

Usage

E: Environment,
§

type Env = E

The environment type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file diff --git a/ink/storage/struct.Lazy.html b/ink/storage/struct.Lazy.html index 3a62b9796c..5a12f19871 100644 --- a/ink/storage/struct.Lazy.html +++ b/ink/storage/struct.Lazy.html @@ -1,4 +1,4 @@ -Lazy in ink::storage - Rust

Struct ink::storage::Lazy

pub struct Lazy<V, KeyType = AutoKey>where
+Lazy in ink::storage - Rust

Struct ink::storage::Lazy

pub struct Lazy<V, KeyType = AutoKey>where
     KeyType: StorageKey,{ /* private fields */ }
Expand description

A simple wrapper around a type to store it in a separate storage cell under its own storage key. If you want to update the value, first you need to get it, update the value, and then call @@ -84,92 +84,14 @@

Panics
V: TypeInfo + 'static,
§

type Identity = Lazy<V, KeyType>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.

Auto Trait Implementations§

§

impl<V, KeyType> RefUnwindSafe for Lazy<V, KeyType>

§

impl<V, KeyType> Send for Lazy<V, KeyType>

§

impl<V, KeyType> Sync for Lazy<V, KeyType>

§

impl<V, KeyType> Unpin for Lazy<V, KeyType>

§

impl<V, KeyType> UnwindSafe for Lazy<V, KeyType>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink/storage/struct.Mapping.html b/ink/storage/struct.Mapping.html index ce42b753de..bd7a7b555a 100644 --- a/ink/storage/struct.Mapping.html +++ b/ink/storage/struct.Mapping.html @@ -1,4 +1,4 @@ -Mapping in ink::storage - Rust

Struct ink::storage::Mapping

pub struct Mapping<K, V, KeyType = AutoKey>where
+Mapping in ink::storage - Rust

Struct ink::storage::Mapping

pub struct Mapping<K, V, KeyType = AutoKey>where
     V: Packed,
     KeyType: StorageKey,{ /* private fields */ }
Expand description

A mapping of key-value pairs directly into contract storage.

Important

@@ -134,92 +134,14 @@
Warning
K: TypeInfo + 'static,
§

type Identity = Mapping<K, V, KeyType>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.

Auto Trait Implementations§

§

impl<K, V, KeyType> RefUnwindSafe for Mapping<K, V, KeyType>

§

impl<K, V, KeyType> Send for Mapping<K, V, KeyType>

§

impl<K, V, KeyType> Sync for Mapping<K, V, KeyType>

§

impl<K, V, KeyType> Unpin for Mapping<K, V, KeyType>

§

impl<K, V, KeyType> UnwindSafe for Mapping<K, V, KeyType>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink/storage/struct.StorageVec.html b/ink/storage/struct.StorageVec.html index 720fee1294..35c138a3c2 100644 --- a/ink/storage/struct.StorageVec.html +++ b/ink/storage/struct.StorageVec.html @@ -1,4 +1,4 @@ -StorageVec in ink::storage - Rust

Struct ink::storage::StorageVec

pub struct StorageVec<V, KeyType = AutoKey>where
+StorageVec in ink::storage - Rust

Struct ink::storage::StorageVec

pub struct StorageVec<V, KeyType = AutoKey>where
     V: Packed,
     KeyType: StorageKey,{ /* private fields */ }
Expand description

A vector of values (elements) directly on contract storage.

Important

@@ -171,92 +171,14 @@
Panics
Mapping<u32, V, KeyType>: TypeInfo + 'static,
§

type Identity = StorageVec<V, KeyType>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.

Auto Trait Implementations§

§

impl<V, KeyType = AutoKey> !RefUnwindSafe for StorageVec<V, KeyType>

§

impl<V, KeyType> Send for StorageVec<V, KeyType>

§

impl<V, KeyType = AutoKey> !Sync for StorageVec<V, KeyType>

§

impl<V, KeyType> Unpin for StorageVec<V, KeyType>

§

impl<V, KeyType> UnwindSafe for StorageVec<V, KeyType>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink/storage/traits/struct.AutoKey.html b/ink/storage/traits/struct.AutoKey.html index 703f47d003..116268479c 100644 --- a/ink/storage/traits/struct.AutoKey.html +++ b/ink/storage/traits/struct.AutoKey.html @@ -1,4 +1,4 @@ -AutoKey in ink::storage::traits - Rust

Struct ink::storage::traits::AutoKey

pub struct AutoKey;
Expand description

Auto key type means that the storage key should be calculated automatically.

+AutoKey in ink::storage::traits - Rust

Struct ink::storage::traits::AutoKey

pub struct AutoKey;
Expand description

Auto key type means that the storage key should be calculated automatically.

Trait Implementations§

§

impl Clone for AutoKey

§

fn clone(&self) -> AutoKey

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for AutoKey

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for AutoKey

§

fn default() -> AutoKey

Returns the “default value” for a type. Read more
§

impl PartialEq for AutoKey

§

fn eq(&self, other: &AutoKey) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl PartialOrd for AutoKey

§

fn partial_cmp(&self, other: &AutoKey) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= @@ -6,94 +6,16 @@ operator. Read more
§

impl StorageKey for AutoKey

§

const KEY: u32 = 0u32

Storage key of the type.
§

fn key(&self) -> u32

Returns the storage key.
§

impl TypeInfo for AutoKey

§

type Identity = AutoKey

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
§

impl Copy for AutoKey

§

impl Eq for AutoKey

§

impl StructuralEq for AutoKey

§

impl StructuralPartialEq for AutoKey

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink/storage/traits/struct.ManualKey.html b/ink/storage/traits/struct.ManualKey.html index b9f6c07560..11e183c683 100644 --- a/ink/storage/traits/struct.ManualKey.html +++ b/ink/storage/traits/struct.ManualKey.html @@ -1,4 +1,4 @@ -ManualKey in ink::storage::traits - Rust

Struct ink::storage::traits::ManualKey

pub struct ManualKey<const KEY: u32, ParentKey = ()>(/* private fields */)
+ManualKey in ink::storage::traits - Rust

Struct ink::storage::traits::ManualKey

pub struct ManualKey<const KEY: u32, ParentKey = ()>(/* private fields */)
 where
     ParentKey: StorageKey;
Expand description

Manual key type specifies the storage key.

Trait Implementations§

§

impl<T, const KEY: u32, ParentKey> AutoStorableHint<ManualKey<KEY, ParentKey>> for Twhere @@ -23,94 +23,16 @@ ParentKey: StorageKey,

Auto Trait Implementations§

§

impl<const KEY: u32, ParentKey> RefUnwindSafe for ManualKey<KEY, ParentKey>

§

impl<const KEY: u32, ParentKey> Send for ManualKey<KEY, ParentKey>

§

impl<const KEY: u32, ParentKey> Sync for ManualKey<KEY, ParentKey>

§

impl<const KEY: u32, ParentKey> Unpin for ManualKey<KEY, ParentKey>

§

impl<const KEY: u32, ParentKey> UnwindSafe for ManualKey<KEY, ParentKey>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink/storage/traits/struct.ResolverKey.html b/ink/storage/traits/struct.ResolverKey.html index 01d47fd17d..4cd21dd6e4 100644 --- a/ink/storage/traits/struct.ResolverKey.html +++ b/ink/storage/traits/struct.ResolverKey.html @@ -1,4 +1,4 @@ -ResolverKey in ink::storage::traits - Rust

Struct ink::storage::traits::ResolverKey

pub struct ResolverKey<L, R>(/* private fields */);
Expand description

Resolver key type selects between preferred key and autogenerated key. +ResolverKey in ink::storage::traits - Rust

Struct ink::storage::traits::ResolverKey

pub struct ResolverKey<L, R>(/* private fields */);
Expand description

Resolver key type selects between preferred key and autogenerated key. If the L type is AutoKey it returns auto-generated R else L.

Trait Implementations§

§

impl<L, R> Clone for ResolverKey<L, R>where L: Clone, @@ -28,94 +28,16 @@ R: Eq,

§

impl<L, R> StructuralEq for ResolverKey<L, R>

§

impl<L, R> StructuralPartialEq for ResolverKey<L, R>

Auto Trait Implementations§

§

impl<L, R> RefUnwindSafe for ResolverKey<L, R>

§

impl<L, R> Send for ResolverKey<L, R>

§

impl<L, R> Sync for ResolverKey<L, R>

§

impl<L, R> Unpin for ResolverKey<L, R>

§

impl<L, R> UnwindSafe for ResolverKey<L, R>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink/storage/traits/trait.StorageLayout.html b/ink/storage/traits/trait.StorageLayout.html index b374fdbf4d..15023464ff 100644 --- a/ink/storage/traits/trait.StorageLayout.html +++ b/ink/storage/traits/trait.StorageLayout.html @@ -77,4 +77,4 @@ V: StorageLayout + TypeInfo + 'static, KeyType: StorageKey + TypeInfo + 'static,
§

impl<V, KeyType> StorageLayout for StorageVec<V, KeyType>where V: Packed + StorageLayout + TypeInfo + 'static, - KeyType: StorageKey + TypeInfo + 'static,

\ No newline at end of file + KeyType: StorageKey + TypeInfo + 'static, \ No newline at end of file diff --git a/ink/struct.EnvAccess.html b/ink/struct.EnvAccess.html index 4b52a86caf..64b5c61794 100644 --- a/ink/struct.EnvAccess.html +++ b/ink/struct.EnvAccess.html @@ -1,4 +1,4 @@ -EnvAccess in ink - Rust

Struct ink::EnvAccess

source ·
pub struct EnvAccess<'a, E> { /* private fields */ }
Expand description

Trait Implementations§

source§

impl<'a, E: Clone> Clone for EnvAccess<'a, E>

source§

fn clone(&self) -> EnvAccess<'a, E>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, E> Debug for EnvAccess<'a, E>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, E> Default for EnvAccess<'a, E>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'a, E: Copy> Copy for EnvAccess<'a, E>

Auto Trait Implementations§

§

impl<'a, E> RefUnwindSafe for EnvAccess<'a, E>

§

impl<'a, E> Send for EnvAccess<'a, E>

§

impl<'a, E> Sync for EnvAccess<'a, E>

§

impl<'a, E> Unpin for EnvAccess<'a, E>

§

impl<'a, E> UnwindSafe for EnvAccess<'a, E>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink/struct.ValueReturned.html b/ink/struct.ValueReturned.html index e4f7e3bf1e..46f8bf7f15 100644 --- a/ink/struct.ValueReturned.html +++ b/ink/struct.ValueReturned.html @@ -1,93 +1,14 @@ -ValueReturned in ink - Rust

Struct ink::ValueReturned

source ·
pub struct ValueReturned;
Expand description

Represents some abstract value that is returned by a function. +ValueReturned in ink - Rust

Struct ink::ValueReturned

source ·
pub struct ValueReturned;
Expand description

Represents some abstract value that is returned by a function. Currently acts as a placeholder.

-

Trait Implementations§

source§

impl<T, E> Output<false, false, T, E> for ValueReturned

§

type ReturnType = T

source§

impl<T, E> Output<false, true, T, E> for ValueReturned

§

type ReturnType = Result<T, E>

source§

impl<T, E> Output<true, false, T, E> for ValueReturned

§

type ReturnType = T

source§

impl<T, E> Output<true, true, T, E> for ValueReturned

§

type ReturnType = T

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<T, E> Output<false, false, T, E> for ValueReturned

§

type ReturnType = T

source§

impl<T, E> Output<false, true, T, E> for ValueReturned

§

type ReturnType = Result<T, E>

source§

impl<T, E> Output<true, false, T, E> for ValueReturned

§

type ReturnType = T

source§

impl<T, E> Output<true, true, T, E> for ValueReturned

§

type ReturnType = T

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> ImpliesReturn<T> for T

\ No newline at end of file diff --git a/ink_e2e/enum.AccountKeyring.html b/ink_e2e/enum.AccountKeyring.html index d9fe20f6a9..b67b5c1a36 100644 --- a/ink_e2e/enum.AccountKeyring.html +++ b/ink_e2e/enum.AccountKeyring.html @@ -1,4 +1,4 @@ -AccountKeyring in ink_e2e - Rust
pub enum AccountKeyring {
+AccountKeyring in ink_e2e - Rust
pub enum AccountKeyring {
 
Show 14 variants Alice, Bob, Charlie, @@ -17,12 +17,17 @@

Variants§

§

Alice

§

Bob

§

Charlie

§

Dave

§

Eve

§

Ferdie

§

AliceStash

§

BobStash

§

CharlieStash

§

DaveStash

§

EveStash

§

FerdieStash

§

One

§

Two

Implementations§

§

impl Keyring

pub fn from_public(who: &Public) -> Option<Keyring>

pub fn from_account_id(who: &AccountId32) -> Option<Keyring>

pub fn from_raw_public(who: [u8; 32]) -> Option<Keyring>

pub fn to_raw_public(self) -> [u8; 32]

pub fn from_h256_public(who: H256) -> Option<Keyring>

pub fn to_h256_public(self) -> H256

pub fn to_raw_public_vec(self) -> Vec<u8>

pub fn to_account_id(self) -> AccountId32

pub fn sign(self, msg: &[u8]) -> Signature

pub fn pair(self) -> Pair

pub fn iter() -> impl Iterator<Item = Keyring>

Returns an iterator over all test accounts.

pub fn public(self) -> Public

pub fn to_seed(self) -> String

pub fn numeric(idx: usize) -> Pair

Create a crypto Pair from a numeric value.

pub fn numeric_id(idx: usize) -> AccountId32

Get account id of a numeric account.

-

Trait Implementations§

§

impl Clone for Keyring

§

fn clone(&self) -> Keyring

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Keyring

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for Keyring

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<Keyring> for &'static str

§

fn from(k: Keyring) -> &'static str

Converts to this type from the input type.
§

impl From<Keyring> for AccountId32

§

fn from(k: Keyring) -> AccountId32

Converts to this type from the input type.
§

impl From<Keyring> for H256

§

fn from(k: Keyring) -> H256

Converts to this type from the input type.
§

impl FromStr for Keyring

§

type Err = ParseKeyringError

The associated error which can be returned from parsing.
§

fn from_str(s: &str) -> Result<Keyring, <Keyring as FromStr>::Err>

Parses a string s to return a value of this type. Read more
§

impl Hash for Keyring

§

fn hash<__H>(&self, state: &mut __H)where +

Trait Implementations§

§

impl Clone for Keyring

§

fn clone(&self) -> Keyring

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Keyring

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for Keyring

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<Keyring> for &'static str

§

fn from(k: Keyring) -> &'static str

Converts to this type from the input type.
§

impl From<Keyring> for AccountId32

§

fn from(k: Keyring) -> AccountId32

Converts to this type from the input type.
§

impl From<Keyring> for H256

§

fn from(k: Keyring) -> H256

Converts to this type from the input type.
§

impl FromStr for Keyring

§

type Err = ParseKeyringError

The associated error which can be returned from parsing.
§

fn from_str(s: &str) -> Result<Keyring, <Keyring as FromStr>::Err>

Parses a string s to return a value of this type. Read more
§

impl Hash for Keyring

§

fn hash<__H>(&self, state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl IntoEnumIterator for Keyring

§

type Iterator = KeyringIter

§

fn iter() -> KeyringIter

§

impl PartialEq for Keyring

§

fn eq(&self, other: &Keyring) -> bool

This method tests for self and other values to be equal, and is used + Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl IntoEnumIterator for Keyring

§

type Iterator = KeyringIter

§

fn iter() -> KeyringIter

§

impl Ord for Keyring

§

fn cmp(&self, other: &Keyring) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Keyring

§

fn eq(&self, other: &Keyring) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
§

impl Copy for Keyring

§

impl Eq for Keyring

§

impl StructuralEq for Keyring

§

impl StructuralPartialEq for Keyring

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

§

impl PartialOrd for Keyring

§

fn partial_cmp(&self, other: &Keyring) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
§

impl Copy for Keyring

§

impl Eq for Keyring

§

impl StructuralEq for Keyring

§

impl StructuralPartialEq for Keyring

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CallHasher for Twhere @@ -30,8 +35,12 @@ H: Hash + ?Sized, B: BuildHasher,

§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where Self: TryFrom<T>,

Convert from a value of T into an equivalent instance of Option<Self>. Read more
§

fn checked_into<T>(self) -> Option<T>where - Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> Downcast for Twhere + Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
§

impl<Q, K> Comparable<K> for Qwhere + Q: Ord + ?Sized, + K: Borrow<Q> + ?Sized,

§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere + Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DefensiveMax<T> for Twhere + T: PartialOrd,

§

fn defensive_max(self, other: T) -> T

Returns the maximum and defensively asserts that other is not larger than self. Read more
§

fn defensive_strict_max(self, other: T) -> T

Returns the maximum and defensively asserts that other is smaller than self. Read more
§

impl<T> DefensiveMin<T> for Twhere + T: PartialOrd,

§

fn defensive_min(self, other: T) -> T

Returns the minimum and defensively checks that self is not larger than other. Read more
§

fn defensive_strict_min(self, other: T) -> T

Returns the minimum and defensively checks that self is smaller than other. Read more
§

impl<T> Downcast for Twhere T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

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>

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)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot @@ -159,6 +168,5 @@ T: Hash,
§

impl<T> MaybeHash for Twhere T: Hash,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

§

impl<T> Member for Twhere T: Send + Sync + Debug + Eq + PartialEq + Clone + 'static,

\ No newline at end of file diff --git a/ink_e2e/enum.PolkadotConfig.html b/ink_e2e/enum.PolkadotConfig.html index 1b6e85fe34..a5e55a4fdf 100644 --- a/ink_e2e/enum.PolkadotConfig.html +++ b/ink_e2e/enum.PolkadotConfig.html @@ -1,4 +1,4 @@ -PolkadotConfig in ink_e2e - Rust
pub enum PolkadotConfig {}
Expand description

Default set of commonly used types by Polkadot nodes.

+PolkadotConfig in ink_e2e - Rust
pub enum PolkadotConfig {}
Expand description

Default set of commonly used types by Polkadot nodes.

Trait Implementations§

§

impl Config for PolkadotConfig

§

type Hash = <SubstrateConfig as Config>::Hash

The output of the Hasher function.
§

type AccountId = <SubstrateConfig as Config>::AccountId

The account ID type.
§

type Address = MultiAddress<<PolkadotConfig as Config>::AccountId, ()>

The address type.
§

type Signature = <SubstrateConfig as Config>::Signature

The signature type.
§

type Hasher = <SubstrateConfig as Config>::Hasher

The hashing system (algorithm) being used in the runtime (e.g. Blake2).
§

type Header = <SubstrateConfig as Config>::Header

The block header.
§

type ExtrinsicParams = AnyOf<PolkadotConfig, (CheckSpecVersion, CheckTxVersion, CheckNonce, CheckGenesis<PolkadotConfig>, CheckMortality<PolkadotConfig>, ChargeAssetTxPayment<PolkadotConfig>, ChargeTransactionPayment)>

This type defines the extrinsic extra and additional parameters.
§

type AssetId = u32

This is used to identify an asset in the ChargeAssetTxPayment signed extension.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere @@ -116,5 +116,4 @@ [WithDispatch] wrapper. Read more

§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/events/struct.CodeStoredEvent.html b/ink_e2e/events/struct.CodeStoredEvent.html index 32d917b5c8..477ee42d79 100644 --- a/ink_e2e/events/struct.CodeStoredEvent.html +++ b/ink_e2e/events/struct.CodeStoredEvent.html @@ -1,4 +1,4 @@ -CodeStoredEvent in ink_e2e::events - Rust
pub struct CodeStoredEvent<E: Environment> {
+CodeStoredEvent in ink_e2e::events - Rust
pub struct CodeStoredEvent<E: Environment> {
     pub code_hash: E::Hash,
 }
Expand description

Code with the specified hash has been stored.

Fields§

§code_hash: E::Hash

Hash under which the contract code was stored.

@@ -11,10 +11,10 @@ dst: &mut MaybeUninit<Self> ) -> Result<DecodeFinished, Error>where I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where - I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl<E: Environment> DecodeAsFields for CodeStoredEvent<E>

source§

fn decode_as_fields<'info>( + I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl<E: Environment> DecodeAsFields for CodeStoredEvent<E>

source§

fn decode_as_fields<'info, R: TypeResolver>( input: &mut &[u8], - fields: &mut dyn FieldIter<'info>, - types: &'info PortableRegistry + fields: &mut dyn FieldIter<'info, R::TypeId>, + types: &'info R ) -> Result<Self, Error>

Given some bytes and some fields denoting their structure, attempt to decode.
source§

impl<E: Environment> Encode for CodeStoredEvent<E>where E::Hash: Encode,

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, @@ -23,29 +23,32 @@ &self, f: __CodecUsingEncodedCallback ) -> __CodecOutputReturn

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl<E> EncodeAsFields for CodeStoredEvent<E>where - E: EncodeAsType + Environment,

source§

fn encode_as_fields_to( + E: EncodeAsType + Environment,

source§

fn encode_as_fields_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_fields: &mut dyn FieldIter<'_>, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_fields: &mut dyn FieldIter<'_, ScaleEncodeResolver::TypeId>, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> -) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields( +) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields<R>( &self, - fields: &mut dyn FieldIter<'_, Item = Field<'_>>, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to + fields: &mut dyn FieldIter<'_, <R as TypeResolver>::TypeId, Item = Field<'_, <R as TypeResolver>::TypeId>>, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,
This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to implement that instead.
source§

impl<E> EncodeAsType for CodeStoredEvent<E>where - E: EncodeAsType + Environment,

source§

fn encode_as_type_to( + E: EncodeAsType + Environment,

source§

fn encode_as_type_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_type_id: u32, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_type_id: &ScaleEncodeResolver::TypeId, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> ) -> Result<(), Error>

Given some type_id, types, a context and some output target for the SCALE encoded bytes, -attempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type( +attempt to SCALE encode the current value into the type given by type_id.

§

fn encode_as_type<R>( &self, - type_id: u32, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to -implement that instead.
source§

impl<E: Environment> IntoVisitor for CodeStoredEvent<E>

§

type Visitor = Visitor<E>

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor() -> Self::Visitor

A means of obtaining this visitor.
source§

impl<E> StaticEvent for CodeStoredEvent<E>where + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to +implement that instead.
source§

impl<E: Environment> IntoVisitor for CodeStoredEvent<E>

§

type AnyVisitor<ScaleDecodeTypeResolver: TypeResolver> = Visitor<E, ScaleDecodeTypeResolver>

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor<ScaleDecodeTypeResolver: TypeResolver>( +) -> Self::AnyVisitor<ScaleDecodeTypeResolver>

A means of obtaining this visitor.
source§

impl<E> StaticEvent for CodeStoredEvent<E>where E: Environment,

source§

const PALLET: &'static str = "Contracts"

Pallet name.
source§

const EVENT: &'static str = "CodeStored"

Event name.
§

fn is_event(pallet: &str, event: &str) -> bool

Returns true if the given pallet and event names match this event.
source§

impl<E: Environment> EncodeLike for CodeStoredEvent<E>where E::Hash: Encode,

Auto Trait Implementations§

§

impl<E> RefUnwindSafe for CodeStoredEvent<E>where <E as Environment>::Hash: RefUnwindSafe,

§

impl<E> Send for CodeStoredEvent<E>where @@ -60,16 +63,18 @@ Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeAsType for Twhere - T: IntoVisitor,

§

fn decode_as_type_maybe_compact( + T: IntoVisitor,

§

fn decode_as_type_maybe_compact<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry, + type_id: &<R as TypeResolver>::TypeId, + types: &R, is_compact: bool -) -> Result<T, Error>

§

fn decode_as_type( +) -> Result<T, Error>where + R: TypeResolver,

§

fn decode_as_type<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry -) -> Result<Self, Error>

Given some input bytes, a type_id, and type registry, attempt to decode said bytes into + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Self, Error>where + R: TypeResolver,
Given some input bytes, a type_id, and type registry, attempt to decode said bytes into Self. Implementations should modify the &mut reference to the bytes such that any bytes not used in the course of decoding are still pointed to after decoding is complete.
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( @@ -220,6 +225,5 @@ S: Encode + EncodeLike,

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

§

impl<P> Packed for Pwhere P: Decode + Encode,

\ No newline at end of file diff --git a/ink_e2e/events/struct.ContractEmitted.html b/ink_e2e/events/struct.ContractEmitted.html index 8641dd2aed..cb89d2b8ae 100644 --- a/ink_e2e/events/struct.ContractEmitted.html +++ b/ink_e2e/events/struct.ContractEmitted.html @@ -1,4 +1,4 @@ -ContractEmitted in ink_e2e::events - Rust
pub struct ContractEmitted<E: Environment> {
+ContractEmitted in ink_e2e::events - Rust
pub struct ContractEmitted<E: Environment> {
     pub contract: E::AccountId,
     pub data: Vec<u8>,
 }
Expand description

A custom event emitted by the contract.

@@ -11,39 +11,42 @@ dst: &mut MaybeUninit<Self> ) -> Result<DecodeFinished, Error>where I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where - I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl<E: Environment> DecodeAsFields for ContractEmitted<E>

source§

fn decode_as_fields<'info>( + I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl<E: Environment> DecodeAsFields for ContractEmitted<E>

source§

fn decode_as_fields<'info, R: TypeResolver>( input: &mut &[u8], - fields: &mut dyn FieldIter<'info>, - types: &'info PortableRegistry + fields: &mut dyn FieldIter<'info, R::TypeId>, + types: &'info R ) -> Result<Self, Error>

Given some bytes and some fields denoting their structure, attempt to decode.
source§

impl<E: Environment> Encode for ContractEmitted<E>where E::AccountId: Encode,

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl<E> EncodeAsFields for ContractEmitted<E>where - E: EncodeAsType + Environment,

source§

fn encode_as_fields_to( + E: EncodeAsType + Environment,

source§

fn encode_as_fields_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_fields: &mut dyn FieldIter<'_>, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_fields: &mut dyn FieldIter<'_, ScaleEncodeResolver::TypeId>, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> -) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields( +) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields<R>( &self, - fields: &mut dyn FieldIter<'_, Item = Field<'_>>, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to + fields: &mut dyn FieldIter<'_, <R as TypeResolver>::TypeId, Item = Field<'_, <R as TypeResolver>::TypeId>>, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,
This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to implement that instead.
source§

impl<E> EncodeAsType for ContractEmitted<E>where - E: EncodeAsType + Environment,

source§

fn encode_as_type_to( + E: EncodeAsType + Environment,

source§

fn encode_as_type_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_type_id: u32, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_type_id: &ScaleEncodeResolver::TypeId, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> ) -> Result<(), Error>

Given some type_id, types, a context and some output target for the SCALE encoded bytes, -attempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type( +attempt to SCALE encode the current value into the type given by type_id.

§

fn encode_as_type<R>( &self, - type_id: u32, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to -implement that instead.
source§

impl<E: Environment> IntoVisitor for ContractEmitted<E>

§

type Visitor = Visitor<E>

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor() -> Self::Visitor

A means of obtaining this visitor.
source§

impl<E> StaticEvent for ContractEmitted<E>where + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to +implement that instead.
source§

impl<E: Environment> IntoVisitor for ContractEmitted<E>

§

type AnyVisitor<ScaleDecodeTypeResolver: TypeResolver> = Visitor<E, ScaleDecodeTypeResolver>

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor<ScaleDecodeTypeResolver: TypeResolver>( +) -> Self::AnyVisitor<ScaleDecodeTypeResolver>

A means of obtaining this visitor.
source§

impl<E> StaticEvent for ContractEmitted<E>where E: Environment,

source§

const PALLET: &'static str = "Contracts"

Pallet name.
source§

const EVENT: &'static str = "ContractEmitted"

Event name.
§

fn is_event(pallet: &str, event: &str) -> bool

Returns true if the given pallet and event names match this event.
source§

impl<E: Environment> EncodeLike for ContractEmitted<E>where E::AccountId: Encode,

Auto Trait Implementations§

§

impl<E> RefUnwindSafe for ContractEmitted<E>where <E as Environment>::AccountId: RefUnwindSafe,

§

impl<E> Send for ContractEmitted<E>where @@ -58,16 +61,18 @@ Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeAsType for Twhere - T: IntoVisitor,

§

fn decode_as_type_maybe_compact( + T: IntoVisitor,

§

fn decode_as_type_maybe_compact<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry, + type_id: &<R as TypeResolver>::TypeId, + types: &R, is_compact: bool -) -> Result<T, Error>

§

fn decode_as_type( +) -> Result<T, Error>where + R: TypeResolver,

§

fn decode_as_type<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry -) -> Result<Self, Error>

Given some input bytes, a type_id, and type registry, attempt to decode said bytes into + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Self, Error>where + R: TypeResolver,
Given some input bytes, a type_id, and type registry, attempt to decode said bytes into Self. Implementations should modify the &mut reference to the bytes such that any bytes not used in the course of decoding are still pointed to after decoding is complete.
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( @@ -218,6 +223,5 @@ S: Encode + EncodeLike,

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

§

impl<P> Packed for Pwhere P: Decode + Encode,

\ No newline at end of file diff --git a/ink_e2e/events/struct.ContractInstantiatedEvent.html b/ink_e2e/events/struct.ContractInstantiatedEvent.html index 44550ad2ed..e13162fa41 100644 --- a/ink_e2e/events/struct.ContractInstantiatedEvent.html +++ b/ink_e2e/events/struct.ContractInstantiatedEvent.html @@ -1,4 +1,4 @@ -ContractInstantiatedEvent in ink_e2e::events - Rust
pub struct ContractInstantiatedEvent<E: Environment> {
+ContractInstantiatedEvent in ink_e2e::events - Rust
pub struct ContractInstantiatedEvent<E: Environment> {
     pub deployer: E::AccountId,
     pub contract: E::AccountId,
 }
Expand description

A contract was successfully instantiated.

@@ -13,39 +13,42 @@ dst: &mut MaybeUninit<Self> ) -> Result<DecodeFinished, Error>where I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where - I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl<E: Environment> DecodeAsFields for ContractInstantiatedEvent<E>

source§

fn decode_as_fields<'info>( + I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl<E: Environment> DecodeAsFields for ContractInstantiatedEvent<E>

source§

fn decode_as_fields<'info, R: TypeResolver>( input: &mut &[u8], - fields: &mut dyn FieldIter<'info>, - types: &'info PortableRegistry + fields: &mut dyn FieldIter<'info, R::TypeId>, + types: &'info R ) -> Result<Self, Error>

Given some bytes and some fields denoting their structure, attempt to decode.
source§

impl<E: Environment> Encode for ContractInstantiatedEvent<E>where E::AccountId: Encode,

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl<E> EncodeAsFields for ContractInstantiatedEvent<E>where - E: EncodeAsType + Environment,

source§

fn encode_as_fields_to( + E: EncodeAsType + Environment,

source§

fn encode_as_fields_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_fields: &mut dyn FieldIter<'_>, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_fields: &mut dyn FieldIter<'_, ScaleEncodeResolver::TypeId>, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> -) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields( +) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields<R>( &self, - fields: &mut dyn FieldIter<'_, Item = Field<'_>>, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to + fields: &mut dyn FieldIter<'_, <R as TypeResolver>::TypeId, Item = Field<'_, <R as TypeResolver>::TypeId>>, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,
This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to implement that instead.
source§

impl<E> EncodeAsType for ContractInstantiatedEvent<E>where - E: EncodeAsType + Environment,

source§

fn encode_as_type_to( + E: EncodeAsType + Environment,

source§

fn encode_as_type_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_type_id: u32, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_type_id: &ScaleEncodeResolver::TypeId, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> ) -> Result<(), Error>

Given some type_id, types, a context and some output target for the SCALE encoded bytes, -attempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type( +attempt to SCALE encode the current value into the type given by type_id.

§

fn encode_as_type<R>( &self, - type_id: u32, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to -implement that instead.
source§

impl<E: Environment> IntoVisitor for ContractInstantiatedEvent<E>

§

type Visitor = Visitor<E>

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor() -> Self::Visitor

A means of obtaining this visitor.
source§

impl<E> StaticEvent for ContractInstantiatedEvent<E>where + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to +implement that instead.
source§

impl<E: Environment> IntoVisitor for ContractInstantiatedEvent<E>

§

type AnyVisitor<ScaleDecodeTypeResolver: TypeResolver> = Visitor<E, ScaleDecodeTypeResolver>

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor<ScaleDecodeTypeResolver: TypeResolver>( +) -> Self::AnyVisitor<ScaleDecodeTypeResolver>

A means of obtaining this visitor.
source§

impl<E> StaticEvent for ContractInstantiatedEvent<E>where E: Environment,

source§

const PALLET: &'static str = "Contracts"

Pallet name.
source§

const EVENT: &'static str = "Instantiated"

Event name.
§

fn is_event(pallet: &str, event: &str) -> bool

Returns true if the given pallet and event names match this event.
source§

impl<E: Environment> EncodeLike for ContractInstantiatedEvent<E>where E::AccountId: Encode,

Auto Trait Implementations§

§

impl<E> RefUnwindSafe for ContractInstantiatedEvent<E>where <E as Environment>::AccountId: RefUnwindSafe,

§

impl<E> Send for ContractInstantiatedEvent<E>where @@ -60,16 +63,18 @@ Self: TryInto<T>,

Consume self to return Some equivalent value of Option<T>. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeAsType for Twhere - T: IntoVisitor,

§

fn decode_as_type_maybe_compact( + T: IntoVisitor,

§

fn decode_as_type_maybe_compact<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry, + type_id: &<R as TypeResolver>::TypeId, + types: &R, is_compact: bool -) -> Result<T, Error>

§

fn decode_as_type( +) -> Result<T, Error>where + R: TypeResolver,

§

fn decode_as_type<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry -) -> Result<Self, Error>

Given some input bytes, a type_id, and type registry, attempt to decode said bytes into + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Self, Error>where + R: TypeResolver,
Given some input bytes, a type_id, and type registry, attempt to decode said bytes into Self. Implementations should modify the &mut reference to the bytes such that any bytes not used in the course of decoding are still pointed to after decoding is complete.
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( @@ -220,6 +225,5 @@ S: Encode + EncodeLike,

§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

§

impl<P> Packed for Pwhere P: Decode + Encode,

\ No newline at end of file diff --git a/ink_e2e/events/struct.EventWithTopics.html b/ink_e2e/events/struct.EventWithTopics.html index f4a94ddda2..8ba614e205 100644 --- a/ink_e2e/events/struct.EventWithTopics.html +++ b/ink_e2e/events/struct.EventWithTopics.html @@ -1,4 +1,4 @@ -EventWithTopics in ink_e2e::events - Rust
pub struct EventWithTopics<T> {
+EventWithTopics in ink_e2e::events - Rust
pub struct EventWithTopics<T> {
     pub topics: Vec<H256>,
     pub event: T,
 }
Expand description

A decoded event with its associated topics.

@@ -124,5 +124,4 @@ [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/sr25519/enum.Error.html b/ink_e2e/sr25519/enum.Error.html index 402d9eaf9d..4e9aeda53d 100644 --- a/ink_e2e/sr25519/enum.Error.html +++ b/ink_e2e/sr25519/enum.Error.html @@ -1,4 +1,4 @@ -Error in ink_e2e::sr25519 - Rust

Enum ink_e2e::sr25519::Error

pub enum Error {
+Error in ink_e2e::sr25519 - Rust

Enum ink_e2e::sr25519::Error

pub enum Error {
     InvalidSeed,
     Phrase(Error),
     Hex(FromHexError),
@@ -6,7 +6,10 @@
 

Variants§

§

InvalidSeed

Invalid seed.

§

Phrase(Error)

Invalid phrase.

§

Hex(FromHexError)

Invalid hex.

-

Trait Implementations§

§

impl Debug for Error

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for Error

§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for Error

§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
§

impl From<Error> for Error

§

fn from(source: Error) -> Error

Converts to this type from the input type.
§

impl From<FromHexError> for Error

§

fn from(source: FromHexError) -> Error

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

§

impl Debug for Error

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for Error

§

fn fmt( + &self, + _derive_more_display_formatter: &mut Formatter<'_> +) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for Error

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
§

impl From<Error> for Error

§

fn from(original: Error) -> Error

Converts to this type from the input type.
§

impl From<FromHexError> for Error

§

fn from(original: FromHexError) -> Error

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where @@ -129,5 +132,4 @@ T: Debug,

§

impl<T> MaybeDisplay for Twhere T: Display,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/sr25519/struct.Keypair.html b/ink_e2e/sr25519/struct.Keypair.html index c42a99106d..7674530f41 100644 --- a/ink_e2e/sr25519/struct.Keypair.html +++ b/ink_e2e/sr25519/struct.Keypair.html @@ -1,4 +1,4 @@ -Keypair in ink_e2e::sr25519 - Rust

Struct ink_e2e::sr25519::Keypair

pub struct Keypair(/* private fields */);
Expand description

An sr25519 keypair implementation. While the API is slightly different, the logic for +Keypair in ink_e2e::sr25519 - Rust

Struct ink_e2e::sr25519::Keypair

pub struct Keypair(/* private fields */);
Expand description

An sr25519 keypair implementation. While the API is slightly different, the logic for this has been taken from sp_core::sr25519 and we test against this to ensure conformity.

Implementations§

§

impl Keypair

pub fn from_uri(uri: &SecretUri) -> Result<Keypair, Error>

Create am sr25519 keypair from a [SecretUri]. See the [SecretUri] docs for more.

Example
@@ -166,5 +166,4 @@
Example
[WithDispatch] wrapper. Read more
§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/sr25519/struct.PublicKey.html b/ink_e2e/sr25519/struct.PublicKey.html index d727ba4717..66d2a817c8 100644 --- a/ink_e2e/sr25519/struct.PublicKey.html +++ b/ink_e2e/sr25519/struct.PublicKey.html @@ -1,4 +1,4 @@ -PublicKey in ink_e2e::sr25519 - Rust

Struct ink_e2e::sr25519::PublicKey

pub struct PublicKey(pub [u8; 32]);
Expand description

The public key for an Keypair key pair. This is equivalent to a +PublicKey in ink_e2e::sr25519 - Rust

Struct ink_e2e::sr25519::PublicKey

pub struct PublicKey(pub [u8; 32]);
Expand description

The public key for an Keypair key pair. This is equivalent to a Substrate AccountId32.

Tuple Fields§

§0: [u8; 32]

Implementations§

§

impl PublicKey

pub fn to_account_id(self) -> AccountId32

A shortcut to obtain an [AccountId32] from a PublicKey. We often want this type, and using this method avoids any @@ -137,5 +137,4 @@ [WithDispatch] wrapper. Read more

§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/sr25519/struct.Signature.html b/ink_e2e/sr25519/struct.Signature.html index 247a8c6de1..ee371b4558 100644 --- a/ink_e2e/sr25519/struct.Signature.html +++ b/ink_e2e/sr25519/struct.Signature.html @@ -1,4 +1,4 @@ -Signature in ink_e2e::sr25519 - Rust

Struct ink_e2e::sr25519::Signature

pub struct Signature(pub [u8; 64]);
Expand description

A signature generated by Keypair::sign(). These bytes are equivalent +Signature in ink_e2e::sr25519 - Rust

Struct ink_e2e::sr25519::Signature

pub struct Signature(pub [u8; 64]);
Expand description

A signature generated by Keypair::sign(). These bytes are equivalent to a Substrate MultiSignature::sr25519(bytes).

Tuple Fields§

§0: [u8; 64]

Trait Implementations§

§

impl AsRef<[u8]> for Signature

§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for Signature

§

fn clone(&self) -> Signature

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl PartialEq for Signature

§

fn eq(&self, other: &Signature) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always @@ -143,5 +143,4 @@ [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.CallBuilder.html b/ink_e2e/struct.CallBuilder.html index db6a02c9fd..4c70bba7f5 100644 --- a/ink_e2e/struct.CallBuilder.html +++ b/ink_e2e/struct.CallBuilder.html @@ -1,4 +1,4 @@ -CallBuilder in ink_e2e - Rust
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.CallDryRunResult.html b/ink_e2e/struct.CallDryRunResult.html index a8c3438c13..454ef99a94 100644 --- a/ink_e2e/struct.CallDryRunResult.html +++ b/ink_e2e/struct.CallDryRunResult.html @@ -1,4 +1,4 @@ -CallDryRunResult in ink_e2e - Rust
pub struct CallDryRunResult<E: Environment, V> {
+CallDryRunResult in ink_e2e - Rust
pub struct CallDryRunResult<E: Environment, V> {
     pub exec_result: ContractExecResult<E::Balance, ()>,
     pub _marker: PhantomData<V>,
 }
Expand description

Result of the dry run of a contract call.

@@ -147,5 +147,4 @@
Panics
[WithDispatch] wrapper. Read more
§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.CallResult.html b/ink_e2e/struct.CallResult.html index de3b6afc62..d7f7595e26 100644 --- a/ink_e2e/struct.CallResult.html +++ b/ink_e2e/struct.CallResult.html @@ -1,4 +1,4 @@ -CallResult in ink_e2e - Rust

Struct ink_e2e::CallResult

source ·
pub struct CallResult<E: Environment, V, EventLog> {
+CallResult in ink_e2e - Rust

Struct ink_e2e::CallResult

source ·
pub struct CallResult<E: Environment, V, EventLog> {
     pub dry_run: CallDryRunResult<E, V>,
     pub events: EventLog,
 }
Expand description

Result of a contract call.

@@ -17,8 +17,8 @@
Panics
source

pub fn return_data(&self) -> &[u8]

Returns the return value as raw bytes of the message from the dry-run.

Panics if the dry-run message call failed to execute.

source

pub fn debug_message(&self) -> String

Returns any debug message output by the contract decoded as UTF-8.

-
source§

impl<E: Environment, V, C: Config> CallResult<E, V, ExtrinsicEvents<C>>

source

pub fn contains_event(&self, pallet_name: &str, variant_name: &str) -> bool

Returns true if the specified event was triggered by the call.

-
source

pub fn contract_emitted_events( +

source§

impl<E: Environment, V, C: Config> CallResult<E, V, ExtrinsicEvents<C>>

source

pub fn contains_event(&self, pallet_name: &str, variant_name: &str) -> bool

Returns true if the specified event was triggered by the call.

+
source

pub fn contract_emitted_events( &self ) -> Result<Vec<EventWithTopics<ContractEmitted<E>>>, Error>where C::Hash: Into<H256>,

Returns all the ContractEmitted events emitted by the contract.

@@ -159,5 +159,4 @@
Panics
[WithDispatch] wrapper. Read more
§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.Client.html b/ink_e2e/struct.Client.html index 6a4e2af898..160e6cb80a 100644 --- a/ink_e2e/struct.Client.html +++ b/ink_e2e/struct.Client.html @@ -1,30 +1,30 @@ -Client in ink_e2e - Rust

Struct ink_e2e::Client

source ·
pub struct Client<C, E>where
+Client in ink_e2e - Rust

Struct ink_e2e::Client

source ·
pub struct Client<C, E>where
     C: Config,
     E: Environment,{ /* private fields */ }
Expand description

The Client takes care of communicating with the node.

This node’s RPC interface will be used for instantiating the contract and interacting with it .

-

Implementations§

source§

impl<C, E> Client<C, E>where +

Implementations§

source§

impl<C, E> Client<C, E>where C: Config, C::AccountId: From<PublicKey> + Codec + DeserializeOwned + Debug, C::Address: From<PublicKey>, C::Signature: From<Signature>, - <C::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams: Default, + <C::ExtrinsicParams as ExtrinsicParams<C>>::Params: From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>, E: Environment, E::AccountId: Debug, E::Balance: Debug + HasCompact + Serialize, - E::Hash: Debug + Encode,

source

pub async fn new<P: Into<PathBuf>>( + E::Hash: Debug + Encode,

source

pub async fn new<P: Into<PathBuf>>( client: RpcClient, contracts: impl IntoIterator<Item = P> ) -> Result<Self, Error>

Creates a new Client instance using a subxt client.

-

Trait Implementations§

source§

impl<C, E> ChainBackend for Client<C, E>where +

Trait Implementations§

source§

impl<C, E> ChainBackend for Client<C, E>where C: Config + Send + Sync, C::AccountId: Clone + Debug + Send + Sync + Display + Codec + From<PublicKey> + DeserializeOwned, C::Address: From<PublicKey> + Send + Sync, C::Signature: From<Signature>, - <C::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams: Default + Send + Sync, + <C::ExtrinsicParams as ExtrinsicParams<C>>::Params: From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>, E: Environment, E::AccountId: Debug + Send + Sync, - E::Balance: Clone + Debug + Send + Sync + TryFrom<u128> + HasCompact + Serialize,

§

type AccountId = <E as Environment>::AccountId

Account type.
§

type Balance = <E as Environment>::Balance

Balance type.
§

type Error = Error<DispatchError>

Error type.
§

type EventLog = ExtrinsicEvents<C>

Event log type.
source§

fn create_and_fund_account<'life0, 'life1, 'async_trait>( + E::Balance: Clone + Debug + Send + Sync + TryFrom<u128> + HasCompact + Serialize,

§

type AccountId = <E as Environment>::AccountId

Account type.
§

type Balance = <E as Environment>::Balance

Balance type.
§

type Error = Error<DispatchError>

Error type.
§

type EventLog = ExtrinsicEvents<C>

Event log type.
source§

fn create_and_fund_account<'life0, 'life1, 'async_trait>( &'life0 mut self, origin: &'life1 Keypair, amount: Self::Balance @@ -32,12 +32,12 @@ Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Generate a new account and fund it with the given amount of tokens from the -origin.
source§

fn free_balance<'life0, 'async_trait>( +origin.

source§

fn free_balance<'life0, 'async_trait>( &'life0 mut self, account: Self::AccountId ) -> Pin<Box<dyn Future<Output = Result<Self::Balance, Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, - 'life0: 'async_trait,

Returns the free balance of account.
source§

fn runtime_call<'a, 'life0, 'life1, 'async_trait>( + 'life0: 'async_trait,

Returns the free balance of account.
source§

fn runtime_call<'a, 'life0, 'life1, 'async_trait>( &'life0 mut self, origin: &'life1 Keypair, pallet_name: &'a str, @@ -48,7 +48,7 @@ 'a: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Executes a runtime call call_name for the pallet_name. -The call_data is a Vec<Value>. Read more
source§

impl<C, E> ContractsBackend<E> for Client<C, E>where +The call_data is a Vec<Value>. Read more

source§

impl<C, E> ContractsBackend<E> for Client<C, E>where C: Config + Send + Sync, C::AccountId: Clone + Debug + Send + Sync + Display + Codec + From<PublicKey> + DeserializeOwned, C::Address: From<PublicKey> + Send + Sync, @@ -56,12 +56,12 @@ E: Environment, E::AccountId: Debug + Send + Sync, E::Balance: Clone + Debug + Send + Sync + From<u128> + HasCompact + Serialize, - E::Hash: Debug + Send + Encode,

§

type Error = Error<DispatchError>

Error type.
§

type EventLog = ExtrinsicEvents<C>

Event log type.
source§

impl<C, E> E2EBackend<E> for Client<C, E>where + E::Hash: Debug + Send + Encode,

§

type Error = Error<DispatchError>

Error type.
§

type EventLog = ExtrinsicEvents<C>

Event log type.
source§

impl<C, E> E2EBackend<E> for Client<C, E>where C: Config + Send + Sync, C::AccountId: Clone + Debug + Send + Sync + Display + Codec + From<PublicKey> + DeserializeOwned, C::Address: From<PublicKey> + Send + Sync, C::Signature: From<Signature>, - <<C as Config>::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams: Default + Send + Sync, + <C::ExtrinsicParams as ExtrinsicParams<C>>::Params: From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>, E: Environment, E::AccountId: Debug + Send + Sync, E::Balance: Clone + Debug + Send + Sync + From<u128> + HasCompact + Serialize, @@ -182,5 +182,4 @@ S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.DefaultSandbox.html b/ink_e2e/struct.DefaultSandbox.html index fb8abe54b1..f2308161f0 100644 --- a/ink_e2e/struct.DefaultSandbox.html +++ b/ink_e2e/struct.DefaultSandbox.html @@ -1,4 +1,4 @@ -DefaultSandbox in ink_e2e - Rust

Struct ink_e2e::DefaultSandbox

pub struct DefaultSandbox { /* private fields */ }

Trait Implementations§

§

impl Default for DefaultSandbox

§

fn default() -> DefaultSandbox

Returns the “default value” for a type. Read more
§

impl Sandbox for DefaultSandbox

§

type Runtime = DefaultSandboxRuntime

The runtime associated with the sandbox.
§

fn execute_with<T>(&mut self, execute: impl FnOnce() -> T) -> T

Execute the given externalities.
§

fn dry_run<T>(&mut self, action: impl FnOnce(&mut DefaultSandbox) -> T) -> T

Dry run an action without modifying the storage.
§

fn register_extension<E>(&mut self, ext: E)where +DefaultSandbox in ink_e2e - Rust

Struct ink_e2e::DefaultSandbox

pub struct DefaultSandbox { /* private fields */ }

Trait Implementations§

§

impl Default for DefaultSandbox

§

fn default() -> DefaultSandbox

Returns the “default value” for a type. Read more
§

impl Sandbox for DefaultSandbox

§

type Runtime = DefaultSandboxRuntime

The runtime associated with the sandbox.
§

fn execute_with<T>(&mut self, execute: impl FnOnce() -> T) -> T

Execute the given externalities.
§

fn dry_run<T>(&mut self, action: impl FnOnce(&mut DefaultSandbox) -> T) -> T

Dry run an action without modifying the storage.
§

fn register_extension<E>(&mut self, ext: E)where E: Any + Extension,

Register an extension.
§

fn initialize_block( height: <<<<DefaultSandbox as Sandbox>::Runtime as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, parent_hash: <<DefaultSandbox as Sandbox>::Runtime as Config>::Hash @@ -186,5 +186,4 @@ S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.H256.html b/ink_e2e/struct.H256.html index 44bf5b8b1d..5aa93847d6 100644 --- a/ink_e2e/struct.H256.html +++ b/ink_e2e/struct.H256.html @@ -1,4 +1,4 @@ -H256 in ink_e2e - Rust

Struct ink_e2e::H256

#[repr(C)]
pub struct H256(pub [u8; 32]);
Expand description

Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.

+H256 in ink_e2e - Rust

Struct ink_e2e::H256

#[repr(C)]
pub struct H256(pub [u8; 32]);
Expand description

Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.

Tuple Fields§

§0: [u8; 32]

Implementations§

§

impl H256

pub const fn repeat_byte(byte: u8) -> H256

Returns a new fixed hash where all bits are set to the given byte.

pub const fn zero() -> H256

Returns a new zero-initialized fixed hash.

pub const fn len_bytes() -> usize

Returns the size of this hash in bytes.

@@ -64,7 +64,7 @@
Note
R: Rng + ?Sized,

Create a new hash with cryptographically random content using the given random number generator.

pub fn random() -> H256

Create a new hash with cryptographically random content.

-

Trait Implementations§

§

impl AsMut<[u8]> for H256

§

fn as_mut(&mut self) -> &mut [u8]

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsRef<[u8]> for H256

§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
§

impl<'l, 'r> BitAnd<&'r H256> for &'l H256

§

type Output = H256

The resulting type after applying the & operator.
§

fn bitand(self, rhs: &'r H256) -> <&'l H256 as BitAnd<&'r H256>>::Output

Performs the & operation. Read more
§

impl BitAnd for H256

§

type Output = H256

The resulting type after applying the & operator.
§

fn bitand(self, rhs: H256) -> <H256 as BitAnd>::Output

Performs the & operation. Read more
§

impl<'r> BitAndAssign<&'r H256> for H256

§

fn bitand_assign(&mut self, rhs: &'r H256)

Performs the &= operation. Read more
§

impl BitAndAssign for H256

§

fn bitand_assign(&mut self, rhs: H256)

Performs the &= operation. Read more
§

impl<'l, 'r> BitOr<&'r H256> for &'l H256

§

type Output = H256

The resulting type after applying the | operator.
§

fn bitor(self, rhs: &'r H256) -> <&'l H256 as BitOr<&'r H256>>::Output

Performs the | operation. Read more
§

impl BitOr for H256

§

type Output = H256

The resulting type after applying the | operator.
§

fn bitor(self, rhs: H256) -> <H256 as BitOr>::Output

Performs the | operation. Read more
§

impl<'r> BitOrAssign<&'r H256> for H256

§

fn bitor_assign(&mut self, rhs: &'r H256)

Performs the |= operation. Read more
§

impl BitOrAssign for H256

§

fn bitor_assign(&mut self, rhs: H256)

Performs the |= operation. Read more
§

impl<'l, 'r> BitXor<&'r H256> for &'l H256

§

type Output = H256

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: &'r H256) -> <&'l H256 as BitXor<&'r H256>>::Output

Performs the ^ operation. Read more
§

impl BitXor for H256

§

type Output = H256

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: H256) -> <H256 as BitXor>::Output

Performs the ^ operation. Read more
§

impl<'r> BitXorAssign<&'r H256> for H256

§

fn bitxor_assign(&mut self, rhs: &'r H256)

Performs the ^= operation. Read more
§

impl BitXorAssign for H256

§

fn bitxor_assign(&mut self, rhs: H256)

Performs the ^= operation. Read more
§

impl CheckEqual for H256

§

fn check_equal(&self, other: &H256)

Perform the equality check.
§

impl Clone for H256

§

fn clone(&self) -> H256

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for H256

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Decode for H256

§

fn decode<I>(input: &mut I) -> Result<H256, Error>where +

Trait Implementations§

§

impl AsMut<[u8]> for H256

§

fn as_mut(&mut self) -> &mut [u8]

Converts this type into a mutable reference of the (usually inferred) input type.
§

impl AsRef<[u8]> for H256

§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
§

impl<'l, 'r> BitAnd<&'r H256> for &'l H256

§

type Output = H256

The resulting type after applying the & operator.
§

fn bitand(self, rhs: &'r H256) -> <&'l H256 as BitAnd<&'r H256>>::Output

Performs the & operation. Read more
§

impl BitAnd for H256

§

type Output = H256

The resulting type after applying the & operator.
§

fn bitand(self, rhs: H256) -> <H256 as BitAnd>::Output

Performs the & operation. Read more
§

impl<'r> BitAndAssign<&'r H256> for H256

§

fn bitand_assign(&mut self, rhs: &'r H256)

Performs the &= operation. Read more
§

impl BitAndAssign for H256

§

fn bitand_assign(&mut self, rhs: H256)

Performs the &= operation. Read more
§

impl<'l, 'r> BitOr<&'r H256> for &'l H256

§

type Output = H256

The resulting type after applying the | operator.
§

fn bitor(self, rhs: &'r H256) -> <&'l H256 as BitOr<&'r H256>>::Output

Performs the | operation. Read more
§

impl BitOr for H256

§

type Output = H256

The resulting type after applying the | operator.
§

fn bitor(self, rhs: H256) -> <H256 as BitOr>::Output

Performs the | operation. Read more
§

impl<'r> BitOrAssign<&'r H256> for H256

§

fn bitor_assign(&mut self, rhs: &'r H256)

Performs the |= operation. Read more
§

impl BitOrAssign for H256

§

fn bitor_assign(&mut self, rhs: H256)

Performs the |= operation. Read more
§

impl<'l, 'r> BitXor<&'r H256> for &'l H256

§

type Output = H256

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: &'r H256) -> <&'l H256 as BitXor<&'r H256>>::Output

Performs the ^ operation. Read more
§

impl BitXor for H256

§

type Output = H256

The resulting type after applying the ^ operator.
§

fn bitxor(self, rhs: H256) -> <H256 as BitXor>::Output

Performs the ^ operation. Read more
§

impl<'r> BitXorAssign<&'r H256> for H256

§

fn bitxor_assign(&mut self, rhs: &'r H256)

Performs the ^= operation. Read more
§

impl BitXorAssign for H256

§

fn bitxor_assign(&mut self, rhs: H256)

Performs the ^= operation. Read more
§

impl CheckEqual for H256

§

fn check_equal(&self, other: &H256)

Perform the equality check.
§

impl Clone for H256

§

fn clone(&self) -> H256

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for H256

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Decode for H256

§

fn decode<I>(input: &mut I) -> Result<H256, Error>where I: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>( input: &mut I, dst: &mut MaybeUninit<Self> @@ -75,29 +75,31 @@

Note
) -> Result<H256, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§

impl Display for H256

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encode for H256

§

fn using_encoded<R, F>(&self, f: F) -> Rwhere F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<T>(&self, dest: &mut T)where - T: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
§

impl EncodeAsType for H256

§

fn encode_as_type_to( + T: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
§

impl EncodeAsType for H256

§

fn encode_as_type_to<R>( &self, - type_id: u32, - types: &PortableRegistry, + type_id: &<R as TypeResolver>::TypeId, + types: &R, out: &mut Vec<u8> -) -> Result<(), Error>

Given some type_id, types, a context and some output target for the SCALE encoded bytes, -attempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type( +) -> Result<(), Error>where + R: TypeResolver,

Given some type_id, types, a context and some output target for the SCALE encoded bytes, +attempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type<R>( &self, - type_id: u32, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to -implement that instead.
§

impl<'a> From<&'a [u8; 32]> for H256

§

fn from(bytes: &'a [u8; 32]) -> H256

Constructs a hash type from the given reference + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to +implement that instead.
§

impl<'a> From<&'a [u8; 32]> for H256

§

fn from(bytes: &'a [u8; 32]) -> H256

Constructs a hash type from the given reference to the bytes array of fixed length.

-
Note
+
Note

The given bytes are interpreted in big endian order.

-
§

impl<'a> From<&'a mut [u8; 32]> for H256

§

fn from(bytes: &'a mut [u8; 32]) -> H256

Constructs a hash type from the given reference +

§

impl<'a> From<&'a mut [u8; 32]> for H256

§

fn from(bytes: &'a mut [u8; 32]) -> H256

Constructs a hash type from the given reference to the mutable bytes array of fixed length.

-
Note
+
Note

The given bytes are interpreted in big endian order.

-
§

impl From<[u8; 32]> for H256

§

fn from(bytes: [u8; 32]) -> H256

Constructs a hash type from the given bytes array of fixed length.

-
Note
+
§

impl From<[u8; 32]> for H256

§

fn from(bytes: [u8; 32]) -> H256

Constructs a hash type from the given bytes array of fixed length.

+
Note

The given bytes are interpreted in big endian order.

-
§

impl From<Keyring> for H256

§

fn from(k: Keyring) -> H256

Converts to this type from the input type.
§

impl From<Keyring> for H256

§

fn from(k: Keyring) -> H256

Converts to this type from the input type.
§

impl From<H160> for H256

§

fn from(value: H160) -> H256

Converts to this type from the input type.
§

impl From<Public> for H256

§

fn from(x: Public) -> H256

Converts to this type from the input type.
§

impl From<Public> for H256

§

fn from(x: Public) -> H256

Converts to this type from the input type.
§

impl FromStr for H256

§

fn from_str(input: &str) -> Result<H256, FromHexError>

Creates a hash type instance from the given string.

+
§

impl From<Keyring> for H256

§

fn from(k: Keyring) -> H256

Converts to this type from the input type.
§

impl From<Keyring> for H256

§

fn from(k: Keyring) -> H256

Converts to this type from the input type.
§

impl From<H160> for H256

§

fn from(value: H160) -> H256

Converts to this type from the input type.
§

impl From<Public> for H256

§

fn from(x: Public) -> H256

Converts to this type from the input type.
§

impl From<Public> for H256

§

fn from(x: Public) -> H256

Converts to this type from the input type.
§

impl FromStr for H256

§

fn from_str(input: &str) -> Result<H256, FromHexError>

Creates a hash type instance from the given string.

Note

The given input string is interpreted in big endian.

Errors
@@ -110,7 +112,8 @@
Errors
H: Hasher, Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
§

impl<I> Index<I> for H256where I: SliceIndex<[u8]>,

§

type Output = <I as SliceIndex<[u8]>>::Output

The returned type after indexing.
§

fn index(&self, index: I) -> &<I as SliceIndex<[u8]>>::Output

Performs the indexing (container[index]) operation. Read more
§

impl<I> IndexMut<I> for H256where - I: SliceIndex<[u8], Output = [u8]>,

§

fn index_mut(&mut self, index: I) -> &mut <I as SliceIndex<[u8]>>::Output

Performs the mutable indexing (container[index]) operation. Read more
§

impl IntoVisitor for H256

§

type Visitor = BasicVisitor<H256>

The visitor type used to decode SCALE encoded bytes to Self.
§

fn into_visitor() -> <H256 as IntoVisitor>::Visitor

A means of obtaining this visitor.
§

impl LowerHex for H256

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
§

impl MaxEncodedLen for H256

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
§

impl Ord for H256

§

fn cmp(&self, other: &H256) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + I: SliceIndex<[u8], Output = [u8]>,

§

fn index_mut(&mut self, index: I) -> &mut <I as SliceIndex<[u8]>>::Output

Performs the mutable indexing (container[index]) operation. Read more
§

impl IntoVisitor for H256

§

type AnyVisitor<R: TypeResolver> = BasicVisitor<H256, R>

The visitor type used to decode SCALE encoded bytes to Self.
§

fn into_visitor<R>() -> <H256 as IntoVisitor>::AnyVisitor<R>where + R: TypeResolver,

A means of obtaining this visitor.
§

impl LowerHex for H256

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
§

impl MaxEncodedLen for H256

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
§

impl Ord for H256

§

fn cmp(&self, other: &H256) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for H256

§

fn eq(&self, other: &H256) -> bool

This method tests for self and other values to be equal, and is used @@ -155,16 +158,18 @@
Errors
K: Borrow<Q> + ?Sized,
§

fn compare(&self, key: &K) -> Ordering

Compare self to key and return their ordering.
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeAsType for Twhere - T: IntoVisitor,

§

fn decode_as_type_maybe_compact( + T: IntoVisitor,

§

fn decode_as_type_maybe_compact<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry, + type_id: &<R as TypeResolver>::TypeId, + types: &R, is_compact: bool -) -> Result<T, Error>

§

fn decode_as_type( +) -> Result<T, Error>where + R: TypeResolver,

§

fn decode_as_type<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry -) -> Result<Self, Error>

Given some input bytes, a type_id, and type registry, attempt to decode said bytes into + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Self, Error>where + R: TypeResolver,
Given some input bytes, a type_id, and type registry, attempt to decode said bytes into Self. Implementations should modify the &mut reference to the bytes such that any bytes not used in the course of decoding are still pointed to after decoding is complete.
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( @@ -354,7 +359,6 @@

Errors
T: Hash,
§

impl<T> MaybeHash for Twhere T: Hash,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

§

impl<T> MaybeSerialize for Twhere T: Serialize,

§

impl<T> MaybeSerializeDeserialize for Twhere T: DeserializeOwned + Serialize,

§

impl<T> Member for Twhere @@ -362,4 +366,5 @@
Errors
P: Decode + Encode,

§

impl<T> Parameter for Twhere T: Codec + EncodeLike + Clone + Eq + Debug + TypeInfo,

§

impl<T> SimpleBitOps for Twhere T: BitOr<Output = T> + BitXor<Output = T> + BitAnd<Output = T> + Clear,

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_e2e/struct.InstantiateBuilder.html b/ink_e2e/struct.InstantiateBuilder.html index 208bbd346c..89acf21630 100644 --- a/ink_e2e/struct.InstantiateBuilder.html +++ b/ink_e2e/struct.InstantiateBuilder.html @@ -1,4 +1,4 @@ -InstantiateBuilder in ink_e2e - Rust
§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.InstantiateDryRunResult.html b/ink_e2e/struct.InstantiateDryRunResult.html index 6408324453..fb70abcbad 100644 --- a/ink_e2e/struct.InstantiateDryRunResult.html +++ b/ink_e2e/struct.InstantiateDryRunResult.html @@ -1,4 +1,4 @@ -InstantiateDryRunResult in ink_e2e - Rust
pub struct InstantiateDryRunResult<E: Environment> {
+InstantiateDryRunResult in ink_e2e - Rust
pub struct InstantiateDryRunResult<E: Environment> {
     pub contract_result: ContractInstantiateResult<E::AccountId, E::Balance, ()>,
 }
Expand description

Result of the dry run of a contract call.

Fields§

§contract_result: ContractInstantiateResult<E::AccountId, E::Balance, ()>

The result of the dry run, contains debug messages if there were any.

@@ -145,5 +145,4 @@
Panics
[WithDispatch] wrapper. Read more
§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.InstantiationResult.html b/ink_e2e/struct.InstantiationResult.html index 0b54567d59..726978c02a 100644 --- a/ink_e2e/struct.InstantiationResult.html +++ b/ink_e2e/struct.InstantiationResult.html @@ -1,4 +1,4 @@ -InstantiationResult in ink_e2e - Rust
§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.Keypair.html b/ink_e2e/struct.Keypair.html index 3f4a7613df..4a79f6b960 100644 --- a/ink_e2e/struct.Keypair.html +++ b/ink_e2e/struct.Keypair.html @@ -1,4 +1,4 @@ -Keypair in ink_e2e - Rust

Struct ink_e2e::Keypair

pub struct Keypair(/* private fields */);
Expand description

An sr25519 keypair implementation. While the API is slightly different, the logic for +Keypair in ink_e2e - Rust

Struct ink_e2e::Keypair

pub struct Keypair(/* private fields */);
Expand description

An sr25519 keypair implementation. While the API is slightly different, the logic for this has been taken from sp_core::sr25519 and we test against this to ensure conformity.

Implementations§

§

impl Keypair

pub fn from_uri(uri: &SecretUri) -> Result<Keypair, Error>

Create am sr25519 keypair from a [SecretUri]. See the [SecretUri] docs for more.

Example
@@ -166,5 +166,4 @@
Example
[WithDispatch] wrapper. Read more
§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.RpcClient.html b/ink_e2e/struct.RpcClient.html index d866ad8650..2c6c8ee58b 100644 --- a/ink_e2e/struct.RpcClient.html +++ b/ink_e2e/struct.RpcClient.html @@ -1,4 +1,4 @@ -RpcClient in ink_e2e - Rust

Struct ink_e2e::RpcClient

pub struct RpcClient { /* private fields */ }
Expand description

A concrete wrapper around an [RpcClientT] which provides some higher level helper methods, +RpcClient in ink_e2e - Rust

Struct ink_e2e::RpcClient

pub struct RpcClient { /* private fields */ }
Expand description

A concrete wrapper around an [RpcClientT] which provides some higher level helper methods, is cheaply cloneable, and can be handed to things like [crate::client::OnlineClient] to instantiate it.

Implementations§

§

impl RpcClient

pub async fn from_url<U>(url: U) -> Result<RpcClient, Error>where @@ -27,7 +27,8 @@ unsubscribe from it again.

See [RpcParams] and the [rpc_params!] macro for an example of how to construct the parameters.

-

Trait Implementations§

§

impl Clone for RpcClient

§

fn clone(&self) -> RpcClient

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for RpcClient

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Deref for RpcClient

§

type Target = dyn RpcClientT

The resulting type after dereferencing.
§

fn deref(&self) -> &<RpcClient as Deref>::Target

Dereferences the value.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

§

impl Clone for RpcClient

§

fn clone(&self) -> RpcClient

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for RpcClient

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Deref for RpcClient

§

type Target = dyn RpcClientT

The resulting type after dereferencing.
§

fn deref(&self) -> &<RpcClient as Deref>::Target

Dereferences the value.
§

impl<C> From<C> for RpcClientwhere + C: RpcClientT,

§

fn from(client: C) -> RpcClient

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where @@ -56,7 +57,7 @@ Debug-formatted.

§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ &'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere @@ -146,5 +147,4 @@ [WithDispatch] wrapper. Read more

§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.SandboxClient.html b/ink_e2e/struct.SandboxClient.html index 80abf41dd4..5e2a6b6c76 100644 --- a/ink_e2e/struct.SandboxClient.html +++ b/ink_e2e/struct.SandboxClient.html @@ -1,4 +1,4 @@ -SandboxClient in ink_e2e - Rust

Struct ink_e2e::SandboxClient

source ·
pub struct SandboxClient<AccountId, Hash, S: Sandbox> { /* private fields */ }

Implementations§

source§

impl<AccountId, Hash, S> Client<AccountId, Hash, S>where +SandboxClient in ink_e2e - Rust

Struct ink_e2e::SandboxClient

source ·
pub struct SandboxClient<AccountId, Hash, S: Sandbox> { /* private fields */ }

Implementations§

source§

impl<AccountId, Hash, S> Client<AccountId, Hash, S>where S: Default + Sandbox, S::Runtime: Config + Config, AccountIdFor<S::Runtime>: From<[u8; 32]>, @@ -162,5 +162,4 @@ [WithDispatch] wrapper. Read more

§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.TestNodeProcess.html b/ink_e2e/struct.TestNodeProcess.html index 7d99cbe0c7..3dfddaedae 100644 --- a/ink_e2e/struct.TestNodeProcess.html +++ b/ink_e2e/struct.TestNodeProcess.html @@ -1,4 +1,4 @@ -TestNodeProcess in ink_e2e - Rust
pub struct TestNodeProcess<R: Config> { /* private fields */ }
Expand description

Spawn a local substrate node for testing.

+TestNodeProcess in ink_e2e - Rust
pub struct TestNodeProcess<R: Config> { /* private fields */ }
Expand description

Spawn a local substrate node for testing.

Implementations§

source§

impl<R> TestNodeProcess<R>where R: Config,

source

pub fn build<S>(program: S) -> TestNodeProcessBuilder<R>where S: AsRef<OsStr> + Clone,

Construct a builder for spawning a test node process.

@@ -125,5 +125,4 @@ S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.TestNodeProcessBuilder.html b/ink_e2e/struct.TestNodeProcessBuilder.html index caa264d5b1..9190459484 100644 --- a/ink_e2e/struct.TestNodeProcessBuilder.html +++ b/ink_e2e/struct.TestNodeProcessBuilder.html @@ -1,4 +1,4 @@ -TestNodeProcessBuilder in ink_e2e - Rust
pub struct TestNodeProcessBuilder<R> { /* private fields */ }
Expand description

Construct a test node process.

+TestNodeProcessBuilder in ink_e2e - Rust
pub struct TestNodeProcessBuilder<R> { /* private fields */ }
Expand description

Construct a test node process.

Implementations§

source§

impl<R> TestNodeProcessBuilder<R>where R: Config,

source

pub fn new<P>(node_path: P) -> TestNodeProcessBuilder<R>where P: AsRef<OsStr>,

source

pub fn with_authority(&mut self, account: AccountKeyring) -> &mut Self

Set the authority development account for a node in validator mode e.g. –alice.

@@ -125,5 +125,4 @@ [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/struct.UploadResult.html b/ink_e2e/struct.UploadResult.html index 53df4761a9..6578560013 100644 --- a/ink_e2e/struct.UploadResult.html +++ b/ink_e2e/struct.UploadResult.html @@ -1,4 +1,4 @@ -UploadResult in ink_e2e - Rust
§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,

§

impl<T> MaybeSend for Twhere - T: Send,

§

impl<T> MaybeSend for Twhere T: Send,

\ No newline at end of file diff --git a/ink_e2e/trait.ChainBackend.html b/ink_e2e/trait.ChainBackend.html index ad3ccb46e8..9b354a10d0 100644 --- a/ink_e2e/trait.ChainBackend.html +++ b/ink_e2e/trait.ChainBackend.html @@ -75,12 +75,12 @@ support dynamic calls.

Implementors§

source§

impl<AccountId: AsRef<[u8; 32]> + Send, Hash, S: Sandbox> ChainBackend for ink_e2e::SandboxClient<AccountId, Hash, S>where S::Runtime: Config, - AccountIdFor<S::Runtime>: From<[u8; 32]>,

§

type AccountId = AccountId

§

type Balance = <<S as Sandbox>::Runtime as Config>::Balance

§

type Error = SandboxErr

§

type EventLog = ()

source§

impl<C, E> ChainBackend for ink_e2e::Client<C, E>where + AccountIdFor<S::Runtime>: From<[u8; 32]>,

§

type AccountId = AccountId

§

type Balance = <<S as Sandbox>::Runtime as Config>::Balance

§

type Error = SandboxErr

§

type EventLog = ()

source§

impl<C, E> ChainBackend for ink_e2e::Client<C, E>where C: Config + Send + Sync, C::AccountId: Clone + Debug + Send + Sync + Display + Codec + From<PublicKey> + DeserializeOwned, C::Address: From<PublicKey> + Send + Sync, C::Signature: From<Signature>, - <C::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams: Default + Send + Sync, + <C::ExtrinsicParams as ExtrinsicParams<C>>::Params: From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>, E: Environment, E::AccountId: Debug + Send + Sync, E::Balance: Clone + Debug + Send + Sync + TryFrom<u128> + HasCompact + Serialize,

§

type AccountId = <E as Environment>::AccountId

§

type Balance = <E as Environment>::Balance

§

type Error = Error<DispatchError>

§

type EventLog = ExtrinsicEvents<C>

\ No newline at end of file diff --git a/ink_e2e/trait.ContractsBackend.html b/ink_e2e/trait.ContractsBackend.html index 185c1ad5a5..ab2896b804 100644 --- a/ink_e2e/trait.ContractsBackend.html +++ b/ink_e2e/trait.ContractsBackend.html @@ -104,7 +104,7 @@
Example
.expect("instantiate failed");

Implementors§

source§

impl<AccountId: Clone + Send + Sync + From<[u8; 32]> + AsRef<[u8; 32]>, Hash: Copy + From<[u8; 32]>, S: Sandbox, E: Environment<AccountId = AccountId, Balance = <<S::Runtime as Config>::Currency as Inspect<AccountIdFor<S::Runtime>>>::Balance, Hash = Hash> + 'static> ContractsBackend<E> for ink_e2e::SandboxClient<AccountId, Hash, S>where S::Runtime: Config + Config, - AccountIdFor<S::Runtime>: From<[u8; 32]> + AsRef<[u8; 32]>,

§

type Error = SandboxErr

§

type EventLog = ()

source§

impl<C, E> ContractsBackend<E> for ink_e2e::Client<C, E>where + AccountIdFor<S::Runtime>: From<[u8; 32]> + AsRef<[u8; 32]>,

§

type Error = SandboxErr

§

type EventLog = ()

source§

impl<C, E> ContractsBackend<E> for ink_e2e::Client<C, E>where C: Config + Send + Sync, C::AccountId: Clone + Debug + Send + Sync + Display + Codec + From<PublicKey> + DeserializeOwned, C::Address: From<PublicKey> + Send + Sync, diff --git a/ink_e2e/trait.E2EBackend.html b/ink_e2e/trait.E2EBackend.html index 6814ada3ff..91ae9f1f6f 100644 --- a/ink_e2e/trait.E2EBackend.html +++ b/ink_e2e/trait.E2EBackend.html @@ -2,12 +2,12 @@

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<AccountId: Clone + Send + Sync + From<[u8; 32]> + AsRef<[u8; 32]>, Hash: Copy + Send + From<[u8; 32]>, Config: Sandbox, E: Environment<AccountId = AccountId, Balance = <<Config::Runtime as Config>::Currency as Inspect<AccountIdFor<Config::Runtime>>>::Balance, Hash = Hash> + 'static> E2EBackend<E> for ink_e2e::SandboxClient<AccountId, Hash, Config>where Config::Runtime: Config + Config, AccountIdFor<Config::Runtime>: From<[u8; 32]> + AsRef<[u8; 32]>, - <<Config::Runtime as Config>::Currency as Inspect<AccountIdFor<Config::Runtime>>>::Balance: Send + Sync,

source§

impl<C, E> E2EBackend<E> for ink_e2e::Client<C, E>where + <<Config::Runtime as Config>::Currency as Inspect<AccountIdFor<Config::Runtime>>>::Balance: Send + Sync,

source§

impl<C, E> E2EBackend<E> for ink_e2e::Client<C, E>where C: Config + Send + Sync, C::AccountId: Clone + Debug + Send + Sync + Display + Codec + From<PublicKey> + DeserializeOwned, C::Address: From<PublicKey> + Send + Sync, C::Signature: From<Signature>, - <<C as Config>::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams: Default + Send + Sync, + <C::ExtrinsicParams as ExtrinsicParams<C>>::Params: From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>, E: Environment, E::AccountId: Debug + Send + Sync, E::Balance: Clone + Debug + Send + Sync + From<u128> + HasCompact + Serialize, diff --git a/ink_e2e/type.CallBuilderFinal.html b/ink_e2e/type.CallBuilderFinal.html index 358264b10f..02b7b64955 100644 --- a/ink_e2e/type.CallBuilderFinal.html +++ b/ink_e2e/type.CallBuilderFinal.html @@ -1,2 +1,2 @@ -CallBuilderFinal in ink_e2e - Rust

Type Alias ink_e2e::CallBuilderFinal

source ·
pub type CallBuilderFinal<E, Args, RetType> = CallBuilder<E, Set<Call<E>>, Set<ExecutionInput<Args>>, Set<ReturnType<RetType>>>;
Expand description

Represents an initialized contract message builder.

+CallBuilderFinal in ink_e2e - Rust

Type Alias ink_e2e::CallBuilderFinal

source ·
pub type CallBuilderFinal<E, Args, RetType> = CallBuilder<E, Set<Call<E>>, Set<ExecutionInput<Args>>, Set<ReturnType<RetType>>>;
Expand description

Represents an initialized contract message builder.

Aliased Type§

struct CallBuilderFinal<E, Args, RetType> { /* private fields */ }
\ No newline at end of file diff --git a/ink_e2e/type.Error.html b/ink_e2e/type.Error.html index 4554f4b7ea..ec17fb98c0 100644 --- a/ink_e2e/type.Error.html +++ b/ink_e2e/type.Error.html @@ -1 +1 @@ -Error in ink_e2e - Rust

Type Alias ink_e2e::Error

source ·
pub type Error = Error<DispatchError>;

Aliased Type§

enum Error {}

Variants§

\ No newline at end of file +Error in ink_e2e - Rust

Type Alias ink_e2e::Error

source ·
pub type Error = Error<DispatchError>;

Aliased Type§

enum Error {}

Variants§

\ No newline at end of file diff --git a/ink_env/call/state/enum.Salt.html b/ink_env/call/state/enum.Salt.html index 46e918ec4f..38d1827941 100644 --- a/ink_env/call/state/enum.Salt.html +++ b/ink_env/call/state/enum.Salt.html @@ -1,92 +1,13 @@ -Salt in ink_env::call::state - Rust

Enum ink_env::call::state::Salt

source ·
pub enum Salt {}
Expand description

Type state for the salt used for contract instantiation.

+Salt in ink_env::call::state - Rust

Enum ink_env::call::state::Salt

source ·
pub enum Salt {}
Expand description

Type state for the salt used for contract instantiation.

Auto Trait Implementations§

§

impl RefUnwindSafe for Salt

§

impl Send for Salt

§

impl Sync for Salt

§

impl Unpin for Salt

§

impl UnwindSafe for Salt

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.Call.html b/ink_env/call/struct.Call.html index 5e3ee66660..27813add14 100644 --- a/ink_env/call/struct.Call.html +++ b/ink_env/call/struct.Call.html @@ -1,4 +1,4 @@ -Call in ink_env::call - Rust

Struct ink_env::call::Call

source ·
pub struct Call<E: Environment> { /* private fields */ }
Expand description

The default call type for cross-contract calls, for calling into the latest call_v2 +Call in ink_env::call - Rust

Struct ink_env::call::Call

source ·
pub struct Call<E: Environment> { /* private fields */ }
Expand description

The default call type for cross-contract calls, for calling into the latest call_v2 host function. This adds the additional weight limit parameter proof_size_limit as well as storage_deposit_limit.

Implementations§

source§

impl<E: Environment> Call<E>

source

pub fn new(callee: E::AccountId) -> Self

Returns a clean builder for CallV1.

@@ -17,93 +17,14 @@ <E as Environment>::Balance: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.CallBuilder.html b/ink_env/call/struct.CallBuilder.html index 4b3b503b1b..52131ec9bf 100644 --- a/ink_env/call/struct.CallBuilder.html +++ b/ink_env/call/struct.CallBuilder.html @@ -1,4 +1,4 @@ -CallBuilder in ink_env::call - Rust

Struct ink_env::call::CallBuilder

source ·
pub struct CallBuilder<E, CallType, Args, RetType>where
+CallBuilder in ink_env::call - Rust

Struct ink_env::call::CallBuilder

source ·
pub struct CallBuilder<E, CallType, Args, RetType>where
     E: Environment,{ /* private fields */ }
Expand description

Builds up a cross contract call.

Implementations§

source§

impl<E, CallType, Args, RetType> CallBuilder<E, Unset<CallType>, Args, RetType>where E: Environment,

source

pub fn call_type<NewCallType>( @@ -169,93 +169,14 @@

Note
RetType: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.CallParams.html b/ink_env/call/struct.CallParams.html index 5c35fb24f2..53e792fcce 100644 --- a/ink_env/call/struct.CallParams.html +++ b/ink_env/call/struct.CallParams.html @@ -1,4 +1,4 @@ -CallParams in ink_env::call - Rust

Struct ink_env::call::CallParams

source ·
pub struct CallParams<E, CallType, Args, R>where
+CallParams in ink_env::call - Rust

Struct ink_env::call::CallParams

source ·
pub struct CallParams<E, CallType, Args, R>where
     E: Environment,{ /* private fields */ }
Expand description

The final parameters to the cross-contract call.

Implementations§

source§

impl<E, CallType, Args, R> CallParams<E, CallType, Args, R>where E: Environment,

source

pub fn call_flags(&self) -> &CallFlags

Returns the call flags.

@@ -76,91 +76,12 @@
Note
CallType: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.CallV1.html b/ink_env/call/struct.CallV1.html index 8d14b72828..8dfc044357 100644 --- a/ink_env/call/struct.CallV1.html +++ b/ink_env/call/struct.CallV1.html @@ -1,4 +1,4 @@ -CallV1 in ink_env::call - Rust

Struct ink_env::call::CallV1

source ·
pub struct CallV1<E: Environment> { /* private fields */ }
Expand description

The legacy call type for cross-contract calls. Performs a cross-contract call to +CallV1 in ink_env::call - Rust

Struct ink_env::call::CallV1

source ·
pub struct CallV1<E: Environment> { /* private fields */ }
Expand description

The legacy call type for cross-contract calls. Performs a cross-contract call to callee with gas limit gas_limit, transferring transferred_value of currency.

Calls into the original call host function.

Implementations§

source§

impl<E: Environment> CallV1<E>

source

pub fn new(callee: E::AccountId) -> Self

Returns a clean builder for CallV1.

@@ -20,93 +20,14 @@ <E as Environment>::Balance: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.CreateBuilder.html b/ink_env/call/struct.CreateBuilder.html index 897c4bb81e..70c1616b63 100644 --- a/ink_env/call/struct.CreateBuilder.html +++ b/ink_env/call/struct.CreateBuilder.html @@ -1,4 +1,4 @@ -CreateBuilder in ink_env::call - Rust

Struct ink_env::call::CreateBuilder

source ·
pub struct CreateBuilder<E, ContractRef, CodeHash, Limits, Endowment, Args, Salt, RetType>where
+CreateBuilder in ink_env::call - Rust

Struct ink_env::call::CreateBuilder

source ·
pub struct CreateBuilder<E, ContractRef, CodeHash, Limits, Endowment, Args, Salt, RetType>where
     E: Environment,{ /* private fields */ }
Expand description

Builds up contract instantiations.

Implementations§

source§

impl<E, ContractRef, Limits, Endowment, Args, Salt, RetType> CreateBuilder<E, ContractRef, Unset<E::Hash>, Limits, Endowment, Args, Salt, RetType>where E: Environment,

source

pub fn code_hash( @@ -124,93 +124,14 @@

Note
Salt: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.CreateParams.html b/ink_env/call/struct.CreateParams.html index a467e11743..6ff37e6ddb 100644 --- a/ink_env/call/struct.CreateParams.html +++ b/ink_env/call/struct.CreateParams.html @@ -1,4 +1,4 @@ -CreateParams in ink_env::call - Rust

Struct ink_env::call::CreateParams

source ·
pub struct CreateParams<E, ContractRef, Limits, Args, Salt, R>where
+CreateParams in ink_env::call - Rust

Struct ink_env::call::CreateParams

source ·
pub struct CreateParams<E, ContractRef, Limits, Args, Salt, R>where
     E: Environment,{ /* private fields */ }
Expand description

Builds up contract instantiations.

Implementations§

source§

impl<E, ContractRef, Limits, Args, Salt, R> CreateParams<E, ContractRef, Limits, Args, Salt, R>where E: Environment,

source

pub fn code_hash(&self) -> &E::Hash

The code hash of the contract.

@@ -84,91 +84,12 @@
Note
<E as Environment>::Hash: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.DelegateCall.html b/ink_env/call/struct.DelegateCall.html index 70f07824d7..0dd3069f35 100644 --- a/ink_env/call/struct.DelegateCall.html +++ b/ink_env/call/struct.DelegateCall.html @@ -1,4 +1,4 @@ -DelegateCall in ink_env::call - Rust

Struct ink_env::call::DelegateCall

source ·
pub struct DelegateCall<E: Environment> { /* private fields */ }
Expand description

The delegatecall call type. Performs a call with the given code hash.

+DelegateCall in ink_env::call - Rust

Struct ink_env::call::DelegateCall

source ·
pub struct DelegateCall<E: Environment> { /* private fields */ }
Expand description

The delegatecall call type. Performs a call with the given code hash.

Implementations§

source§

impl<E: Environment> DelegateCall<E>

source

pub const fn new(code_hash: E::Hash) -> Self

Returns a clean builder for DelegateCall

source§

impl<E: Environment> DelegateCall<E>

source

pub fn code_hash(self, code_hash: E::Hash) -> Self

Sets the code_hash to perform a delegate call with.

Trait Implementations§

source§

impl<E: Clone + Environment> Clone for DelegateCall<E>where @@ -10,93 +10,14 @@ <E as Environment>::Hash: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.ExecutionInput.html b/ink_env/call/struct.ExecutionInput.html index 2bfb552e90..93a2e45410 100644 --- a/ink_env/call/struct.ExecutionInput.html +++ b/ink_env/call/struct.ExecutionInput.html @@ -1,4 +1,4 @@ -ExecutionInput in ink_env::call - Rust
pub struct ExecutionInput<Args> { /* private fields */ }
Expand description

The input data for a smart contract execution.

+ExecutionInput in ink_env::call - Rust
pub struct ExecutionInput<Args> { /* private fields */ }
Expand description

The input data for a smart contract execution.

Implementations§

source§

impl ExecutionInput<EmptyArgumentList>

source

pub fn new(selector: Selector) -> Self

Creates a new execution input with the given selector.

source

pub fn push_arg<T>( self, @@ -23,93 +23,14 @@ Args: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> EncodeLike<&&T> for Twhere @@ -119,4 +40,5 @@ T: Encode,

§

impl<T> EncodeLike<Box<T>> for Twhere T: Encode,

§

impl<'a, T> EncodeLike<Cow<'a, T>> for Twhere T: ToOwned + Encode,

§

impl<T> EncodeLike<Rc<T>> for Twhere - T: Encode,

\ No newline at end of file + T: Encode,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_env/call/struct.LimitParamsV1.html b/ink_env/call/struct.LimitParamsV1.html index 66c9e0c8a4..215e21cd24 100644 --- a/ink_env/call/struct.LimitParamsV1.html +++ b/ink_env/call/struct.LimitParamsV1.html @@ -1,96 +1,17 @@ -LimitParamsV1 in ink_env::call - Rust

Struct ink_env::call::LimitParamsV1

source ·
pub struct LimitParamsV1 { /* private fields */ }
Expand description

Defines the limit params for the legacy ext::instantiate_v1 host function, +LimitParamsV1 in ink_env::call - Rust

Struct ink_env::call::LimitParamsV1

source ·
pub struct LimitParamsV1 { /* private fields */ }
Expand description

Defines the limit params for the legacy ext::instantiate_v1 host function, consisting of the gas_limit which is equivalent to the ref_time_limit in the new ext::instantiate.

Trait Implementations§

source§

impl Clone for LimitParamsV1

source§

fn clone(&self) -> LimitParamsV1

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LimitParamsV1

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.LimitParamsV2.html b/ink_env/call/struct.LimitParamsV2.html index 9029ea6d46..197c3cf1d5 100644 --- a/ink_env/call/struct.LimitParamsV2.html +++ b/ink_env/call/struct.LimitParamsV2.html @@ -1,4 +1,4 @@ -LimitParamsV2 in ink_env::call - Rust

Struct ink_env::call::LimitParamsV2

source ·
pub struct LimitParamsV2<E>where
+LimitParamsV2 in ink_env::call - Rust

Struct ink_env::call::LimitParamsV2

source ·
pub struct LimitParamsV2<E>where
     E: Environment,{ /* private fields */ }
Expand description

Defines the limit params for the new ext::instantiate host function.

Trait Implementations§

source§

impl<E> Clone for LimitParamsV2<E>where E: Environment + Clone, @@ -12,93 +12,14 @@ <E as Environment>::Balance: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/struct.Selector.html b/ink_env/call/struct.Selector.html index 6587067298..358ecff7a0 100644 --- a/ink_env/call/struct.Selector.html +++ b/ink_env/call/struct.Selector.html @@ -1,4 +1,4 @@ -Selector in ink_env::call - Rust

Struct ink_env::call::Selector

source ·
pub struct Selector { /* private fields */ }
Expand description

The function selector.

+Selector in ink_env::call - Rust

Struct ink_env::call::Selector

source ·
pub struct Selector { /* private fields */ }
Expand description

The function selector.

Implementations§

source§

impl Selector

source

pub const fn new(bytes: [u8; 4]) -> Self

Creates a selector directly from 4 bytes.

source

pub const fn to_bytes(self) -> [u8; 4]

Returns the underlying bytes of the selector.

Trait Implementations§

source§

impl Clone for Selector

source§

fn clone(&self) -> Selector

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Selector

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for Selector

source§

fn decode<__CodecInputEdqy: Input>( @@ -19,8 +19,7 @@ sufficient, and should not be overridden without very good reason.

source§

impl Copy for Selector

source§

impl EncodeLike for Selector

source§

impl Eq for Selector

source§

impl StructuralEq for Selector

source§

impl StructuralPartialEq for Selector

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( limit: u32, @@ -28,99 +27,21 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Clone,
source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> KeyedVec for Twhere - T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<P> Storable for Pwhere + T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<P> Storable for Pwhere P: Codec,

§

fn encode<T>(&self, dest: &mut T)where T: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn decode<I>(input: &mut I) -> Result<P, Error>where I: Input,

Attempt to deserialize the value from input.
§

fn encoded_size(&self) -> usize

The exact number of bytes this type consumes in the encoded form.
§

impl<P, Key> StorableHint<Key> for Pwhere P: Packed, Key: StorageKey,

§

type Type = P

Storable type with storage key inside.
§

type PreferredKey = AutoKey

The storage key that the type prefers. It can be overwritten by an auto-generated storage key.
§

impl<P> StorageKey for Pwhere - P: Packed,

§

const KEY: u32 = 0u32

Storage key of the type.
§

fn key(&self) -> u32

Returns the storage key.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + P: Packed,

§

const KEY: u32 = 0u32

Storage key of the type.
§

fn key(&self) -> u32

Returns the storage key.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<S> Codec for Swhere @@ -134,4 +55,5 @@ T: Encode,

§

impl<S> FullCodec for Swhere S: Decode + FullEncode,

§

impl<S> FullEncode for Swhere S: Encode + EncodeLike,

§

impl<P> Packed for Pwhere - P: Decode + Encode,

\ No newline at end of file + P: Decode + Encode,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_env/call/utils/struct.Argument.html b/ink_env/call/utils/struct.Argument.html index 3063eea9ec..29ab0f000f 100644 --- a/ink_env/call/utils/struct.Argument.html +++ b/ink_env/call/utils/struct.Argument.html @@ -1,4 +1,4 @@ -Argument in ink_env::call::utils - Rust

Struct ink_env::call::utils::Argument

source ·
pub struct Argument<T> { /* private fields */ }
Expand description

A single argument and its reference to a known value.

+Argument in ink_env::call::utils - Rust

Struct ink_env::call::utils::Argument

source ·
pub struct Argument<T> { /* private fields */ }
Expand description

A single argument and its reference to a known value.

Trait Implementations§

source§

impl<T: Clone> Clone for Argument<T>

source§

fn clone(&self) -> Argument<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for Argument<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Encode for Argument<T>where T: Encode,

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<O: Output + ?Sized>(&self, output: &mut O)

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Argument<T>where @@ -9,93 +9,14 @@ T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> EncodeLike<&&T> for Twhere diff --git a/ink_env/call/utils/struct.ArgumentList.html b/ink_env/call/utils/struct.ArgumentList.html index 4f9a84575e..69955db816 100644 --- a/ink_env/call/utils/struct.ArgumentList.html +++ b/ink_env/call/utils/struct.ArgumentList.html @@ -1,4 +1,4 @@ -ArgumentList in ink_env::call::utils - Rust
pub struct ArgumentList<Head, Rest> { /* private fields */ }
Expand description

An argument list.

+ArgumentList in ink_env::call::utils - Rust
pub struct ArgumentList<Head, Rest> { /* private fields */ }
Expand description

An argument list.

This type is constructed mainly at compile type via type constructions to avoid having to allocate heap memory while constructing the encoded arguments. The potentially heap allocating encoding is done right at the end @@ -25,93 +25,14 @@ Rest: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> EncodeLike<&&T> for Twhere @@ -121,4 +42,5 @@ T: Encode,

§

impl<T> EncodeLike<Box<T>> for Twhere T: Encode,

§

impl<'a, T> EncodeLike<Cow<'a, T>> for Twhere T: ToOwned + Encode,

§

impl<T> EncodeLike<Rc<T>> for Twhere - T: Encode,

\ No newline at end of file + T: Encode,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_env/call/utils/struct.ArgumentListEnd.html b/ink_env/call/utils/struct.ArgumentListEnd.html index 6020bb128a..e6a140a14b 100644 --- a/ink_env/call/utils/struct.ArgumentListEnd.html +++ b/ink_env/call/utils/struct.ArgumentListEnd.html @@ -1,94 +1,16 @@ -ArgumentListEnd in ink_env::call::utils - Rust
pub struct ArgumentListEnd;
Expand description

The end of an argument list.

+ArgumentListEnd in ink_env::call::utils - Rust
pub struct ArgumentListEnd;
Expand description

The end of an argument list.

Trait Implementations§

source§

impl Clone for ArgumentListEnd

source§

fn clone(&self) -> ArgumentListEnd

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArgumentListEnd

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ArgumentListEnd

source§

fn default() -> ArgumentListEnd

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_env/call/utils/struct.ReturnType.html b/ink_env/call/utils/struct.ReturnType.html index 7c587caa65..be60fa4ebe 100644 --- a/ink_env/call/utils/struct.ReturnType.html +++ b/ink_env/call/utils/struct.ReturnType.html @@ -1,95 +1,17 @@ -ReturnType in ink_env::call::utils - Rust

Struct ink_env::call::utils::ReturnType

source ·
pub struct ReturnType<T>(/* private fields */);
Expand description

Represents a return type.

+ReturnType in ink_env::call::utils - Rust

Struct ink_env::call::utils::ReturnType

source ·
pub struct ReturnType<T>(/* private fields */);
Expand description

Represents a return type.

Used as a marker type to define the return type of an ink! message in call builders.

Trait Implementations§

source§

impl<T> Clone for ReturnType<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for ReturnType<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for ReturnType<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T> Copy for ReturnType<T>

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for ReturnType<T>

§

impl<T> Send for ReturnType<T>

§

impl<T> Sync for ReturnType<T>

§

impl<T> Unpin for ReturnType<T>

§

impl<T> UnwindSafe for ReturnType<T>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_env/call/utils/struct.Set.html b/ink_env/call/utils/struct.Set.html index 1dddc64156..27f3149e04 100644 --- a/ink_env/call/utils/struct.Set.html +++ b/ink_env/call/utils/struct.Set.html @@ -1,4 +1,4 @@ -Set in ink_env::call::utils - Rust

Struct ink_env::call::utils::Set

source ·
pub struct Set<T>(pub T);
Expand description

A parameter that has been set to some value.

+Set in ink_env::call::utils - Rust

Struct ink_env::call::utils::Set

source ·
pub struct Set<T>(pub T);
Expand description

A parameter that has been set to some value.

Tuple Fields§

§0: T

Implementations§

source§

impl<T> Set<T>

source

pub fn value(self) -> T

Returns the set value.

Trait Implementations§

source§

impl<T: Clone> Clone for Set<T>

source§

fn clone(&self) -> Set<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for Set<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Unwrap for Set<T>

§

type Output = T

The output type of the unwrap_or_else operation.
source§

fn unwrap_or_else<F>(self, _: F) -> Self::Outputwhere F: FnOnce() -> Self::Output,

Returns the set value or evaluates the given closure.
source§

impl<T: Copy> Copy for Set<T>

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Set<T>where @@ -9,93 +9,14 @@ T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/call/utils/struct.Unset.html b/ink_env/call/utils/struct.Unset.html index 0b31dfc31e..b62f61e7ec 100644 --- a/ink_env/call/utils/struct.Unset.html +++ b/ink_env/call/utils/struct.Unset.html @@ -1,95 +1,17 @@ -Unset in ink_env::call::utils - Rust

Struct ink_env::call::utils::Unset

source ·
pub struct Unset<T>(/* private fields */);
Expand description

A parameter that has not been set, yet.

+Unset in ink_env::call::utils - Rust

Struct ink_env::call::utils::Unset

source ·
pub struct Unset<T>(/* private fields */);
Expand description

A parameter that has not been set, yet.

Trait Implementations§

source§

impl<T> Clone for Unset<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for Unset<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T> Default for Unset<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<T> Unwrap for Unset<T>

§

type Output = T

The output type of the unwrap_or_else operation.
source§

fn unwrap_or_else<F>(self, f: F) -> Self::Outputwhere F: FnOnce() -> Self::Output,

Returns the set value or evaluates the given closure.
source§

impl<T> Copy for Unset<T>

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Unset<T>

§

impl<T> Send for Unset<T>

§

impl<T> Sync for Unset<T>

§

impl<T> Unpin for Unset<T>

§

impl<T> UnwindSafe for Unset<T>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file + V: MultiLane<T>,
§

fn vzip(self) -> V

§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_env/chain_extension/state/enum.IgnoreErrorCode.html b/ink_env/chain_extension/state/enum.IgnoreErrorCode.html index d1a1f413f8..531e98cc70 100644 --- a/ink_env/chain_extension/state/enum.IgnoreErrorCode.html +++ b/ink_env/chain_extension/state/enum.IgnoreErrorCode.html @@ -1,93 +1,14 @@ -IgnoreErrorCode in ink_env::chain_extension::state - Rust
pub enum IgnoreErrorCode {}
Expand description

Type state meaning that the chain extension method ignores the chain extension’s +IgnoreErrorCode in ink_env::chain_extension::state - Rust

pub enum IgnoreErrorCode {}
Expand description

Type state meaning that the chain extension method ignores the chain extension’s error code.

Trait Implementations§

source§

impl Debug for IgnoreErrorCode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/chain_extension/state/struct.HandleErrorCode.html b/ink_env/chain_extension/state/struct.HandleErrorCode.html index 983beda5fd..bbf830273b 100644 --- a/ink_env/chain_extension/state/struct.HandleErrorCode.html +++ b/ink_env/chain_extension/state/struct.HandleErrorCode.html @@ -1,93 +1,14 @@ -HandleErrorCode in ink_env::chain_extension::state - Rust
pub struct HandleErrorCode<T> { /* private fields */ }
Expand description

Type state meaning that the chain extension method uses the chain extension’s +HandleErrorCode in ink_env::chain_extension::state - Rust

pub struct HandleErrorCode<T> { /* private fields */ }
Expand description

Type state meaning that the chain extension method uses the chain extension’s error code.

Trait Implementations§

source§

impl<T: Debug> Debug for HandleErrorCode<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/chain_extension/struct.ChainExtensionMethod.html b/ink_env/chain_extension/struct.ChainExtensionMethod.html index 3604d87fdf..4ebe7b6995 100644 --- a/ink_env/chain_extension/struct.ChainExtensionMethod.html +++ b/ink_env/chain_extension/struct.ChainExtensionMethod.html @@ -1,4 +1,4 @@ -ChainExtensionMethod in ink_env::chain_extension - Rust
pub struct ChainExtensionMethod<I, O, ErrorCode, const IS_RESULT: bool> { /* private fields */ }
Expand description

A concrete instance of a chain extension method.

+ChainExtensionMethod in ink_env::chain_extension - Rust
pub struct ChainExtensionMethod<I, O, ErrorCode, const IS_RESULT: bool> { /* private fields */ }
Expand description

A concrete instance of a chain extension method.

This is a utility type used to drive the execution of a chain extension method call. It has several specializations of its call method for different ways to manage error handling when calling a predefined chain extension method.

@@ -193,91 +193,12 @@
Example

Trait Implementations§

source§

impl<I: Debug, O: Debug, ErrorCode: Debug, const IS_RESULT: bool> Debug for ChainExtensionMethod<I, O, ErrorCode, IS_RESULT>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<I, O, ErrorCode, const IS_RESULT: bool> RefUnwindSafe for ChainExtensionMethod<I, O, ErrorCode, IS_RESULT>

§

impl<I, O, ErrorCode, const IS_RESULT: bool> Send for ChainExtensionMethod<I, O, ErrorCode, IS_RESULT>

§

impl<I, O, ErrorCode, const IS_RESULT: bool> Sync for ChainExtensionMethod<I, O, ErrorCode, IS_RESULT>

§

impl<I, O, ErrorCode, const IS_RESULT: bool> Unpin for ChainExtensionMethod<I, O, ErrorCode, IS_RESULT>

§

impl<I, O, ErrorCode, const IS_RESULT: bool> UnwindSafe for ChainExtensionMethod<I, O, ErrorCode, IS_RESULT>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/enum.DefaultEnvironment.html b/ink_env/enum.DefaultEnvironment.html index 2645ab9ad9..657f57aa5a 100644 --- a/ink_env/enum.DefaultEnvironment.html +++ b/ink_env/enum.DefaultEnvironment.html @@ -1,96 +1,17 @@ -DefaultEnvironment in ink_env - Rust
pub enum DefaultEnvironment {}
Expand description

The fundamental types of the default configuration.

+DefaultEnvironment in ink_env - Rust
pub enum DefaultEnvironment {}
Expand description

The fundamental types of the default configuration.

Trait Implementations§

source§

impl Clone for DefaultEnvironment

source§

fn clone(&self) -> DefaultEnvironment

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DefaultEnvironment

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Environment for DefaultEnvironment

source§

const MAX_EVENT_TOPICS: usize = 4usize

The maximum number of supported event topics provided by the runtime. Read more
§

type AccountId = AccountId

The account id type.
§

type Balance = u128

The type of balances.
§

type Hash = Hash

The type of hash.
§

type Timestamp = u64

The type of a timestamp.
§

type BlockNumber = u32

The type of block number.
§

type ChainExtension = NoChainExtension

The chain extension for the environment. Read more
source§

impl PartialEq for DefaultEnvironment

source§

fn eq(&self, other: &DefaultEnvironment) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TypeInfo for DefaultEnvironment

§

type Identity = DefaultEnvironment

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl Eq for DefaultEnvironment

source§

impl StructuralEq for DefaultEnvironment

source§

impl StructuralPartialEq for DefaultEnvironment

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> StaticTypeInfo for Twhere diff --git a/ink_env/enum.Error.html b/ink_env/enum.Error.html index 87e203c126..130e3030cc 100644 --- a/ink_env/enum.Error.html +++ b/ink_env/enum.Error.html @@ -1,4 +1,4 @@ -Error in ink_env - Rust

Enum ink_env::Error

source ·
pub enum Error {
+Error in ink_env - Rust

Enum ink_env::Error

source ·
pub enum Error {
     Decode(Error),
     BufferTooSmall,
     OffChain(OffChainError),
@@ -8,96 +8,17 @@
 
§

BufferTooSmall

The static buffer used during ABI encoding or ABI decoding is too small.

§

OffChain(OffChainError)

An error that can only occur in the off-chain environment.

§

ReturnError(ReturnErrorCode)

The error returned by the contract.

-

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<()> for Error

source§

fn from(original: ()) -> Error

Converts to this type from the input type.
source§

impl From<AccountError> for Error

source§

fn from(account_error: AccountError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(err: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl From<ReturnErrorCode> for Error

source§

fn from(original: ReturnErrorCode) -> Error

Converts to this type from the input type.
source§

impl PartialEq for Error

source§

fn eq(&self, other: &Error) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<()> for Error

source§

fn from(original: ()) -> Error

Converts to this type from the input type.
source§

impl From<AccountError> for Error

source§

fn from(account_error: AccountError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(original: Error) -> Error

Converts to this type from the input type.
source§

impl From<Error> for Error

source§

fn from(err: Error) -> Self

Converts to this type from the input type.
source§

impl From<ReturnErrorCode> for Error

source§

fn from(original: ReturnErrorCode) -> Error

Converts to this type from the input type.
source§

impl PartialEq for Error

source§

fn eq(&self, other: &Error) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for Error

source§

impl StructuralEq for Error

source§

impl StructuralPartialEq for Error

Auto Trait Implementations§

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/enum.NoChainExtension.html b/ink_env/enum.NoChainExtension.html index f34bf1fe3e..faa0d4ea04 100644 --- a/ink_env/enum.NoChainExtension.html +++ b/ink_env/enum.NoChainExtension.html @@ -1,92 +1,13 @@ -NoChainExtension in ink_env - Rust
pub enum NoChainExtension {}
Expand description

Placeholder for chains that have no defined chain extension.

+NoChainExtension in ink_env - Rust
pub enum NoChainExtension {}
Expand description

Placeholder for chains that have no defined chain extension.

Trait Implementations§

source§

impl TypeInfo for NoChainExtension

§

type Identity = NoChainExtension

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> StaticTypeInfo for Twhere diff --git a/ink_env/enum.ReturnErrorCode.html b/ink_env/enum.ReturnErrorCode.html index 07c3faed12..2583405016 100644 --- a/ink_env/enum.ReturnErrorCode.html +++ b/ink_env/enum.ReturnErrorCode.html @@ -1,4 +1,4 @@ -ReturnErrorCode in ink_env - Rust
§

impl Eq for ReturnErrorCode

§

impl StructuralEq for ReturnErrorCode

§

impl StructuralPartialEq for ReturnErrorCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/hash/enum.Blake2x128.html b/ink_env/hash/enum.Blake2x128.html index d31b466d0e..e80d6b99ed 100644 --- a/ink_env/hash/enum.Blake2x128.html +++ b/ink_env/hash/enum.Blake2x128.html @@ -1,96 +1,17 @@ -Blake2x128 in ink_env::hash - Rust

Enum ink_env::hash::Blake2x128

source ·
pub enum Blake2x128 {}
Expand description

The BLAKE-2 crypto hash with 128-bit output.

+Blake2x128 in ink_env::hash - Rust

Enum ink_env::hash::Blake2x128

source ·
pub enum Blake2x128 {}
Expand description

The BLAKE-2 crypto hash with 128-bit output.

Trait Implementations§

source§

impl Clone for Blake2x128

source§

fn clone(&self) -> Blake2x128

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CryptoHash for Blake2x128

source§

fn hash(input: &[u8], output: &mut <Self as HashOutput>::Type)

Hashes the given raw byte input and copies the result into output.
source§

impl Debug for Blake2x128

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl HashOutput for Blake2x128

§

type Type = [u8; 16]

The output type of the crypto hash. Read more
source§

impl PartialEq for Blake2x128

source§

fn eq(&self, other: &Blake2x128) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Blake2x128

source§

impl Eq for Blake2x128

source§

impl StructuralEq for Blake2x128

source§

impl StructuralPartialEq for Blake2x128

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/hash/enum.Blake2x256.html b/ink_env/hash/enum.Blake2x256.html index d5afcdc813..23bed89387 100644 --- a/ink_env/hash/enum.Blake2x256.html +++ b/ink_env/hash/enum.Blake2x256.html @@ -1,96 +1,17 @@ -Blake2x256 in ink_env::hash - Rust

Enum ink_env::hash::Blake2x256

source ·
pub enum Blake2x256 {}
Expand description

The BLAKE-2 crypto hash with 256-bit output.

+Blake2x256 in ink_env::hash - Rust

Enum ink_env::hash::Blake2x256

source ·
pub enum Blake2x256 {}
Expand description

The BLAKE-2 crypto hash with 256-bit output.

Trait Implementations§

source§

impl Clone for Blake2x256

source§

fn clone(&self) -> Blake2x256

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CryptoHash for Blake2x256

source§

fn hash(input: &[u8], output: &mut <Self as HashOutput>::Type)

Hashes the given raw byte input and copies the result into output.
source§

impl Debug for Blake2x256

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl HashOutput for Blake2x256

§

type Type = [u8; 32]

The output type of the crypto hash. Read more
source§

impl PartialEq for Blake2x256

source§

fn eq(&self, other: &Blake2x256) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Blake2x256

source§

impl Eq for Blake2x256

source§

impl StructuralEq for Blake2x256

source§

impl StructuralPartialEq for Blake2x256

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/hash/enum.Keccak256.html b/ink_env/hash/enum.Keccak256.html index 858cd83c8f..4c7d9b4fef 100644 --- a/ink_env/hash/enum.Keccak256.html +++ b/ink_env/hash/enum.Keccak256.html @@ -1,96 +1,17 @@ -Keccak256 in ink_env::hash - Rust

Enum ink_env::hash::Keccak256

source ·
pub enum Keccak256 {}
Expand description

The KECCAK crypto hash with 256-bit output.

+Keccak256 in ink_env::hash - Rust

Enum ink_env::hash::Keccak256

source ·
pub enum Keccak256 {}
Expand description

The KECCAK crypto hash with 256-bit output.

Trait Implementations§

source§

impl Clone for Keccak256

source§

fn clone(&self) -> Keccak256

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CryptoHash for Keccak256

source§

fn hash(input: &[u8], output: &mut <Self as HashOutput>::Type)

Hashes the given raw byte input and copies the result into output.
source§

impl Debug for Keccak256

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl HashOutput for Keccak256

§

type Type = [u8; 32]

The output type of the crypto hash. Read more
source§

impl PartialEq for Keccak256

source§

fn eq(&self, other: &Keccak256) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Keccak256

source§

impl Eq for Keccak256

source§

impl StructuralEq for Keccak256

source§

impl StructuralPartialEq for Keccak256

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/hash/enum.Sha2x256.html b/ink_env/hash/enum.Sha2x256.html index 9581e4582e..386fbd53d0 100644 --- a/ink_env/hash/enum.Sha2x256.html +++ b/ink_env/hash/enum.Sha2x256.html @@ -1,96 +1,17 @@ -Sha2x256 in ink_env::hash - Rust

Enum ink_env::hash::Sha2x256

source ·
pub enum Sha2x256 {}
Expand description

The SHA-2 crypto hash with 256-bit output.

+Sha2x256 in ink_env::hash - Rust

Enum ink_env::hash::Sha2x256

source ·
pub enum Sha2x256 {}
Expand description

The SHA-2 crypto hash with 256-bit output.

Trait Implementations§

source§

impl Clone for Sha2x256

source§

fn clone(&self) -> Sha2x256

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CryptoHash for Sha2x256

source§

fn hash(input: &[u8], output: &mut <Self as HashOutput>::Type)

Hashes the given raw byte input and copies the result into output.
source§

impl Debug for Sha2x256

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl HashOutput for Sha2x256

§

type Type = [u8; 32]

The output type of the crypto hash. Read more
source§

impl PartialEq for Sha2x256

source§

fn eq(&self, other: &Sha2x256) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Sha2x256

source§

impl Eq for Sha2x256

source§

impl StructuralEq for Sha2x256

source§

impl StructuralPartialEq for Sha2x256

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/struct.CallFlags.html b/ink_env/struct.CallFlags.html index 91b1a085ab..e5b4e37d41 100644 --- a/ink_env/struct.CallFlags.html +++ b/ink_env/struct.CallFlags.html @@ -1,4 +1,4 @@ -CallFlags in ink_env - Rust

Struct ink_env::CallFlags

pub struct CallFlags { /* private fields */ }
Expand description

Flags used to change the behaviour of seal_call and seal_delegate_call.

+CallFlags in ink_env - Rust

Struct ink_env::CallFlags

pub struct CallFlags { /* private fields */ }
Expand description

Flags used to change the behaviour of seal_call and seal_delegate_call.

Implementations§

§

impl CallFlags

pub const FORWARD_INPUT: CallFlags = _

Forward the input of current function to the callee.

Supplied input pointers are ignored when set.

Note
@@ -106,93 +106,14 @@
Safety
§

impl UpperHex for CallFlags

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
§

impl Copy for CallFlags

§

impl Eq for CallFlags

§

impl StructuralEq for CallFlags

§

impl StructuralPartialEq for CallFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/struct.ReturnFlags.html b/ink_env/struct.ReturnFlags.html index 36627d063b..65a06cc3c9 100644 --- a/ink_env/struct.ReturnFlags.html +++ b/ink_env/struct.ReturnFlags.html @@ -1,4 +1,4 @@ -ReturnFlags in ink_env - Rust

Struct ink_env::ReturnFlags

pub struct ReturnFlags { /* private fields */ }
Expand description

Flags used by a contract to customize exit behaviour.

+ReturnFlags in ink_env - Rust

Struct ink_env::ReturnFlags

pub struct ReturnFlags { /* private fields */ }
Expand description

Flags used by a contract to customize exit behaviour.

Implementations§

§

impl ReturnFlags

pub const REVERT: ReturnFlags = _

If this bit is set all changes made by the contract execution are rolled back.

pub const fn empty() -> ReturnFlags

Returns an empty set of flags.

pub const fn all() -> ReturnFlags

Returns the set containing all flags.

@@ -82,93 +82,14 @@
Safety
§

impl UpperHex for ReturnFlags

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter.
§

impl Copy for ReturnFlags

§

impl Eq for ReturnFlags

§

impl StructuralEq for ReturnFlags

§

impl StructuralPartialEq for ReturnFlags

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/test/struct.CallData.html b/ink_env/test/struct.CallData.html index c257d19e24..660198b600 100644 --- a/ink_env/test/struct.CallData.html +++ b/ink_env/test/struct.CallData.html @@ -1,4 +1,4 @@ -CallData in ink_env::test - Rust

Struct ink_env::test::CallData

source ·
pub struct CallData { /* private fields */ }
Expand description

The raw ABI respecting input data to a call.

+CallData in ink_env::test - Rust

Struct ink_env::test::CallData

source ·
pub struct CallData { /* private fields */ }
Expand description

The raw ABI respecting input data to a call.

Note

The first four bytes are the function selector and the rest are SCALE encoded inputs.

Implementations§

source§

impl CallData

source

pub fn new(selector: Selector) -> Self

Creates new call ABI data for the given selector.

@@ -18,8 +18,7 @@

Note

sufficient, and should not be overridden without very good reason.
source§

impl Eq for CallData

source§

impl StructuralEq for CallData

source§

impl StructuralPartialEq for CallData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( limit: u32, @@ -27,99 +26,21 @@

Note

) -> Result<T, Error>
Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Clone,
source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> KeyedVec for Twhere - T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<P> Storable for Pwhere + T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<P> Storable for Pwhere P: Codec,

§

fn encode<T>(&self, dest: &mut T)where T: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn decode<I>(input: &mut I) -> Result<P, Error>where I: Input,

Attempt to deserialize the value from input.
§

fn encoded_size(&self) -> usize

The exact number of bytes this type consumes in the encoded form.
§

impl<P, Key> StorableHint<Key> for Pwhere P: Packed, Key: StorageKey,

§

type Type = P

Storable type with storage key inside.
§

type PreferredKey = AutoKey

The storage key that the type prefers. It can be overwritten by an auto-generated storage key.
§

impl<P> StorageKey for Pwhere - P: Packed,

§

const KEY: u32 = 0u32

Storage key of the type.
§

fn key(&self) -> u32

Returns the storage key.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + P: Packed,

§

const KEY: u32 = 0u32

Storage key of the type.
§

fn key(&self) -> u32

Returns the storage key.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<S> Codec for Swhere diff --git a/ink_env/test/struct.DefaultAccounts.html b/ink_env/test/struct.DefaultAccounts.html index 6e74082a16..f0d75be63f 100644 --- a/ink_env/test/struct.DefaultAccounts.html +++ b/ink_env/test/struct.DefaultAccounts.html @@ -1,4 +1,4 @@ -DefaultAccounts in ink_env::test - Rust

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_env/test/struct.EmittedEvent.html b/ink_env/test/struct.EmittedEvent.html index 7309b43e8f..4d3e1b7087 100644 --- a/ink_env/test/struct.EmittedEvent.html +++ b/ink_env/test/struct.EmittedEvent.html @@ -1,4 +1,4 @@ -EmittedEvent in ink_env::test - Rust

Struct ink_env::test::EmittedEvent

source ·
pub struct EmittedEvent {
+EmittedEvent in ink_env::test - Rust

Struct ink_env::test::EmittedEvent

source ·
pub struct EmittedEvent {
     pub topics: Vec<Vec<u8>>,
     pub data: Vec<u8>,
 }
Expand description

Record for an emitted event.

@@ -7,93 +7,14 @@

Trait Implementations§

source§

impl Clone for EmittedEvent

source§

fn clone(&self) -> EmittedEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl From<EmittedEvent> for EmittedEvent

source§

fn from(evt: EmittedEvent) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/ink_metadata/enum.LangError.html b/ink_metadata/enum.LangError.html index eae4dc3ff2..13160e9102 100644 --- a/ink_metadata/enum.LangError.html +++ b/ink_metadata/enum.LangError.html @@ -1,4 +1,4 @@ -LangError in ink_metadata - Rust
#[non_exhaustive]
#[repr(u32)]
pub enum LangError { +LangError in ink_metadata - Rust
#[non_exhaustive]
#[repr(u32)]
pub enum LangError { CouldNotReadInput = 1, }
Expand description

An error emitted by the smart contracting language.

This is different than errors from:

@@ -25,8 +25,7 @@ sufficient, and should not be overridden without very good reason.
source§

impl TypeInfo for LangError

§

type Identity = LangError

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl Copy for LangError

source§

impl EncodeLike for LangError

source§

impl Eq for LangError

source§

impl StructuralEq for LangError

source§

impl StructuralPartialEq for LangError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( limit: u32, @@ -34,92 +33,14 @@ ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of bytes consumed. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Clone,
source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> KeyedVec for Twhere - T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S> Codec for Swhere S: Decode + Encode,

§

impl<T> EncodeLike<&&T> for Twhere diff --git a/ink_metadata/layout/enum.CryptoHasher.html b/ink_metadata/layout/enum.CryptoHasher.html index 3f37b3a43a..1f4c35a1c3 100644 --- a/ink_metadata/layout/enum.CryptoHasher.html +++ b/ink_metadata/layout/enum.CryptoHasher.html @@ -1,4 +1,4 @@ -CryptoHasher in ink_metadata::layout - Rust

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CryptoHasher

source§

impl StructuralEq for CryptoHasher

source§

impl StructuralPartialEq for CryptoHasher

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/enum.Layout.html b/ink_metadata/layout/enum.Layout.html index e2895db20c..e7d94e530d 100644 --- a/ink_metadata/layout/enum.Layout.html +++ b/ink_metadata/layout/enum.Layout.html @@ -1,4 +1,4 @@ -Layout in ink_metadata::layout - Rust

Trait Implementations§

source§

impl<F: Debug + Form> Debug for Layout<F>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, F: Form> Deserialize<'de> for Layout<F>where F::Type: DeserializeOwned, F::String: DeserializeOwned,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<F: Form> From<ArrayLayout<F>> for Layout<F>

source§

fn from(original: ArrayLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<EnumLayout<F>> for Layout<F>

source§

fn from(original: EnumLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<HashLayout<F>> for Layout<F>

source§

fn from(original: HashLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<LeafLayout<F>> for Layout<F>

source§

fn from(original: LeafLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<RootLayout<F>> for Layout<F>

source§

fn from(original: RootLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<StructLayout<F>> for Layout<F>

source§

fn from(original: StructLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl IntoPortable for Layout

§

type Output = Layout<PortableForm>

The portable version of Self.
source§

fn into_portable(self, registry: &mut Registry) -> Self::Output

Convert self to the portable form by using the registry for caching.
source§

impl<F: Form + JsonSchema> JsonSchema for Layout<F>

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl<F: Ord + Form> Ord for Layout<F>

source§

fn cmp(&self, other: &Layout<F>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<F: Form> From<ArrayLayout<F>> for Layout<F>

source§

fn from(original: ArrayLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<EnumLayout<F>> for Layout<F>

source§

fn from(original: EnumLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<HashLayout<F>> for Layout<F>

source§

fn from(original: HashLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<LeafLayout<F>> for Layout<F>

source§

fn from(original: LeafLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<RootLayout<F>> for Layout<F>

source§

fn from(original: RootLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<StructLayout<F>> for Layout<F>

source§

fn from(original: StructLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl IntoPortable for Layout

§

type Output = Layout<PortableForm>

The portable version of Self.
source§

fn into_portable(self, registry: &mut Registry) -> Self::Output

Convert self to the portable form by using the registry for caching.
source§

impl<F: Form + JsonSchema> JsonSchema for Layout<F>

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl<F: Ord + Form> Ord for Layout<F>

source§

fn cmp(&self, other: &Layout<F>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl<F: PartialEq + Form> PartialEq for Layout<F>

source§

fn eq(&self, other: &Layout<F>) -> bool

This method tests for self and other values to be equal, and is used @@ -41,91 +41,12 @@ <F as Form>::Type: UnwindSafe + RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/enum.MetadataError.html b/ink_metadata/layout/enum.MetadataError.html index f03494d5fc..7557e56294 100644 --- a/ink_metadata/layout/enum.MetadataError.html +++ b/ink_metadata/layout/enum.MetadataError.html @@ -1,99 +1,20 @@ -MetadataError in ink_metadata::layout - Rust
pub enum MetadataError {
+MetadataError in ink_metadata::layout - Rust
pub enum MetadataError {
     Collision(String, String),
 }
Expand description

An error that can occur during ink! metadata generation.

Variants§

§

Collision(String, String)

Storage keys of two types intersect

-

Trait Implementations§

source§

impl Clone for MetadataError

source§

fn clone(&self) -> MetadataError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MetadataError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for MetadataError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for MetadataError

source§

fn eq(&self, other: &MetadataError) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for MetadataError

source§

fn clone(&self) -> MetadataError

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MetadataError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for MetadataError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for MetadataError

source§

fn eq(&self, other: &MetadataError) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for MetadataError

source§

impl StructuralEq for MetadataError

source§

impl StructuralPartialEq for MetadataError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere +

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/ink_metadata/layout/struct.ArrayLayout.html b/ink_metadata/layout/struct.ArrayLayout.html index 8dc435af1b..df17c34431 100644 --- a/ink_metadata/layout/struct.ArrayLayout.html +++ b/ink_metadata/layout/struct.ArrayLayout.html @@ -1,4 +1,4 @@ -ArrayLayout in ink_metadata::layout - Rust
pub struct ArrayLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

A layout for an array of associated cells with the same encoding.

+ArrayLayout in ink_metadata::layout - Rust
pub struct ArrayLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

A layout for an array of associated cells with the same encoding.

Implementations§

source§

impl ArrayLayout

source

pub fn new<K, L>(at: K, len: u32, layout: L) -> Selfwhere K: Into<LayoutKey>, L: Into<Layout>,

Creates an array layout with the given length.

@@ -31,91 +31,12 @@ <F as Form>::Type: UnwindSafe + RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.Discriminant.html b/ink_metadata/layout/struct.Discriminant.html index e0d7c1768a..89d9137f8a 100644 --- a/ink_metadata/layout/struct.Discriminant.html +++ b/ink_metadata/layout/struct.Discriminant.html @@ -1,4 +1,4 @@ -Discriminant in ink_metadata::layout - Rust
pub struct Discriminant(/* private fields */);
Expand description

The discriminant of an enum variant.

+Discriminant in ink_metadata::layout - Rust
pub struct Discriminant(/* private fields */);
Expand description

The discriminant of an enum variant.

Implementations§

source§

impl Discriminant

source

pub fn value(&self) -> usize

Returns the value of the discriminant

Trait Implementations§

source§

impl Clone for Discriminant

source§

fn clone(&self) -> Discriminant

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Discriminant

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Discriminant

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<usize> for Discriminant

source§

fn from(value: usize) -> Self

Converts to this type from the input type.
source§

impl JsonSchema for Discriminant

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl Ord for Discriminant

source§

fn cmp(&self, other: &Discriminant) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere @@ -12,93 +12,14 @@ __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Discriminant

source§

impl Eq for Discriminant

source§

impl StructuralEq for Discriminant

source§

impl StructuralPartialEq for Discriminant

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.EnumLayout.html b/ink_metadata/layout/struct.EnumLayout.html index b2647daaf7..a9f9df3333 100644 --- a/ink_metadata/layout/struct.EnumLayout.html +++ b/ink_metadata/layout/struct.EnumLayout.html @@ -1,4 +1,4 @@ -EnumLayout in ink_metadata::layout - Rust
pub struct EnumLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

An enum storage layout.

+EnumLayout in ink_metadata::layout - Rust
pub struct EnumLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

An enum storage layout.

Implementations§

source§

impl EnumLayout

source

pub fn new<N, K, V>(name: N, dispatch_key: K, variants: V) -> Selfwhere N: Into<<MetaForm as Form>::String>, K: Into<LayoutKey>, @@ -37,91 +37,12 @@ <F as Form>::Type: RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.FieldLayout.html b/ink_metadata/layout/struct.FieldLayout.html index c66128ad98..b92f27dbdc 100644 --- a/ink_metadata/layout/struct.FieldLayout.html +++ b/ink_metadata/layout/struct.FieldLayout.html @@ -1,4 +1,4 @@ -FieldLayout in ink_metadata::layout - Rust
pub struct FieldLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

The layout for a particular field of a struct layout.

+FieldLayout in ink_metadata::layout - Rust
pub struct FieldLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

The layout for a particular field of a struct layout.

Implementations§

source§

impl<F> FieldLayout<F>where F: Form,

source

pub fn new<N, L>(name: N, layout: L) -> Selfwhere N: Into<F::String>, @@ -38,91 +38,12 @@ <F as Form>::Type: UnwindSafe + RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.HashLayout.html b/ink_metadata/layout/struct.HashLayout.html index a0caa2486b..515890c4da 100644 --- a/ink_metadata/layout/struct.HashLayout.html +++ b/ink_metadata/layout/struct.HashLayout.html @@ -1,4 +1,4 @@ -HashLayout in ink_metadata::layout - Rust
pub struct HashLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

A hashing layout potentially hitting all cells of the storage.

+HashLayout in ink_metadata::layout - Rust
pub struct HashLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

A hashing layout potentially hitting all cells of the storage.

Every hashing layout has an offset and a strategy to compute its keys.

Implementations§

source§

impl HashLayout

source

pub fn new<K, L>(offset: K, strategy: HashingStrategy, layout: L) -> Selfwhere K: Into<LayoutKey>, @@ -31,91 +31,12 @@ <F as Form>::Type: UnwindSafe + RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.HashingStrategy.html b/ink_metadata/layout/struct.HashingStrategy.html index becdeb32ec..507def3f74 100644 --- a/ink_metadata/layout/struct.HashingStrategy.html +++ b/ink_metadata/layout/struct.HashingStrategy.html @@ -1,4 +1,4 @@ -HashingStrategy in ink_metadata::layout - Rust
pub struct HashingStrategy { /* private fields */ }
Expand description

The unbounded hashing strategy.

+HashingStrategy in ink_metadata::layout - Rust
pub struct HashingStrategy { /* private fields */ }
Expand description

The unbounded hashing strategy.

The offset key is used as another postfix for the computation. So the actual formula is: hasher(prefix + encoded(key) + offset + postfix) Where + in this contexts means append of the byte slices.

@@ -18,91 +18,12 @@ __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for HashingStrategy

source§

impl StructuralEq for HashingStrategy

source§

impl StructuralPartialEq for HashingStrategy

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.LayoutKey.html b/ink_metadata/layout/struct.LayoutKey.html index 0226130c15..2d9bf23fd5 100644 --- a/ink_metadata/layout/struct.LayoutKey.html +++ b/ink_metadata/layout/struct.LayoutKey.html @@ -1,4 +1,4 @@ -LayoutKey in ink_metadata::layout - Rust
pub struct LayoutKey { /* private fields */ }
Expand description

A pointer into some storage region.

+LayoutKey in ink_metadata::layout - Rust
pub struct LayoutKey { /* private fields */ }
Expand description

A pointer into some storage region.

Implementations§

source§

impl LayoutKey

source

pub fn new<T>(key: T) -> Selfwhere T: Into<u32>,

Construct a custom layout key.

source

pub fn key(&self) -> &Key

Returns the key of the layout key.

@@ -14,93 +14,14 @@ S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for LayoutKey

source§

impl Eq for LayoutKey

source§

impl StructuralEq for LayoutKey

source§

impl StructuralPartialEq for LayoutKey

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.LeafLayout.html b/ink_metadata/layout/struct.LeafLayout.html index d4d2e1f8ab..3a9985f86b 100644 --- a/ink_metadata/layout/struct.LeafLayout.html +++ b/ink_metadata/layout/struct.LeafLayout.html @@ -1,4 +1,4 @@ -LeafLayout in ink_metadata::layout - Rust
pub struct LeafLayout<F: Form = MetaForm> { /* private fields */ }
Expand description
source

pub fn new(key: LayoutKey, ty: <F as Form>::Type) -> Self

Trait Implementations§

source§

impl<F: Debug + Form> Debug for LeafLayout<F>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, F: Form> Deserialize<'de> for LeafLayout<F>where F::Type: DeserializeOwned, F::String: DeserializeOwned,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<F: Form> From<(LayoutKey, <F as Form>::Type)> for LeafLayout<F>

source§

fn from(original: (LayoutKey, <F as Form>::Type)) -> LeafLayout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<LeafLayout<F>> for Layout<F>

source§

fn from(original: LeafLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl IntoPortable for LeafLayout

§

type Output = LeafLayout<PortableForm>

The portable version of Self.
source§

fn into_portable(self, registry: &mut Registry) -> Self::Output

Convert self to the portable form by using the registry for caching.
source§

impl<F: Form + JsonSchema> JsonSchema for LeafLayout<F>

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl<F: Ord + Form> Ord for LeafLayout<F>

source§

fn cmp(&self, other: &LeafLayout<F>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<F: Form> From<(LayoutKey, <F as Form>::Type)> for LeafLayout<F>

source§

fn from(original: (LayoutKey, <F as Form>::Type)) -> LeafLayout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<LeafLayout<F>> for Layout<F>

source§

fn from(original: LeafLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl IntoPortable for LeafLayout

§

type Output = LeafLayout<PortableForm>

The portable version of Self.
source§

fn into_portable(self, registry: &mut Registry) -> Self::Output

Convert self to the portable form by using the registry for caching.
source§

impl<F: Form + JsonSchema> JsonSchema for LeafLayout<F>

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl<F: Ord + Form> Ord for LeafLayout<F>

source§

fn cmp(&self, other: &LeafLayout<F>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl<F: PartialEq + Form> PartialEq for LeafLayout<F>

source§

fn eq(&self, other: &LeafLayout<F>) -> bool

This method tests for self and other values to be equal, and is used @@ -25,91 +25,12 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.RootLayout.html b/ink_metadata/layout/struct.RootLayout.html index 9087ac3263..0d69e587b1 100644 --- a/ink_metadata/layout/struct.RootLayout.html +++ b/ink_metadata/layout/struct.RootLayout.html @@ -1,4 +1,4 @@ -RootLayout in ink_metadata::layout - Rust
pub struct RootLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

Trait Implementations§

source§

impl<F: Debug + Form> Debug for RootLayout<F>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, F: Form> Deserialize<'de> for RootLayout<F>where F::Type: DeserializeOwned, F::String: DeserializeOwned,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<F: Form> From<(LayoutKey, Box<Layout<F>>, <F as Form>::Type)> for RootLayout<F>

source§

fn from( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<F: Form> From<(LayoutKey, Box<Layout<F>>, <F as Form>::Type)> for RootLayout<F>

source§

fn from( original: (LayoutKey, Box<Layout<F>>, <F as Form>::Type) -) -> RootLayout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<RootLayout<F>> for Layout<F>

source§

fn from(original: RootLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl IntoPortable for RootLayout

§

type Output = RootLayout<PortableForm>

The portable version of Self.
source§

fn into_portable(self, registry: &mut Registry) -> Self::Output

Convert self to the portable form by using the registry for caching.
source§

impl<F: Form + JsonSchema> JsonSchema for RootLayout<F>

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl<F: Ord + Form> Ord for RootLayout<F>

source§

fn cmp(&self, other: &RootLayout<F>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere +) -> RootLayout<F>

Converts to this type from the input type.
source§

impl<F: Form> From<RootLayout<F>> for Layout<F>

source§

fn from(original: RootLayout<F>) -> Layout<F>

Converts to this type from the input type.
source§

impl IntoPortable for RootLayout

§

type Output = RootLayout<PortableForm>

The portable version of Self.
source§

fn into_portable(self, registry: &mut Registry) -> Self::Output

Convert self to the portable form by using the registry for caching.
source§

impl<F: Form + JsonSchema> JsonSchema for RootLayout<F>

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl<F: Ord + Form> Ord for RootLayout<F>

source§

fn cmp(&self, other: &RootLayout<F>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl<F: PartialEq + Form> PartialEq for RootLayout<F>

source§

fn eq(&self, other: &RootLayout<F>) -> bool

This method tests for self and other values to be equal, and is used @@ -34,91 +34,12 @@ <F as Form>::Type: UnwindSafe + RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.StructLayout.html b/ink_metadata/layout/struct.StructLayout.html index 15aafd9e26..4e6181dfc9 100644 --- a/ink_metadata/layout/struct.StructLayout.html +++ b/ink_metadata/layout/struct.StructLayout.html @@ -1,4 +1,4 @@ -StructLayout in ink_metadata::layout - Rust
pub struct StructLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

A struct layout with consecutive fields of different layout.

+StructLayout in ink_metadata::layout - Rust
pub struct StructLayout<F: Form = MetaForm> { /* private fields */ }
Expand description

A struct layout with consecutive fields of different layout.

Implementations§

source§

impl<F> StructLayout<F>where F: Form,

source

pub fn new<N, T>(name: N, fields: T) -> Selfwhere N: Into<F::String>, @@ -36,91 +36,12 @@ <F as Form>::Type: UnwindSafe + RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/layout/struct.ValidateLayout.html b/ink_metadata/layout/struct.ValidateLayout.html index f3acc2ea29..5708da0103 100644 --- a/ink_metadata/layout/struct.ValidateLayout.html +++ b/ink_metadata/layout/struct.ValidateLayout.html @@ -1,93 +1,14 @@ -ValidateLayout in ink_metadata::layout - Rust
pub struct ValidateLayout { /* private fields */ }
Expand description

It validates that the storage layout doesn’t have conflicting storage keys. +ValidateLayout in ink_metadata::layout - Rust

pub struct ValidateLayout { /* private fields */ }
Expand description

It validates that the storage layout doesn’t have conflicting storage keys. Otherwise an error with a description of the conflict is returned.

Implementations§

source§

impl ValidateLayout

source

pub fn validate(layout: &Layout<MetaForm>) -> Result<(), MetadataError>

Validates the storage layout.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/ink_metadata/struct.ConstructorSpec.html b/ink_metadata/struct.ConstructorSpec.html index 142b464670..8b67667141 100644 --- a/ink_metadata/struct.ConstructorSpec.html +++ b/ink_metadata/struct.ConstructorSpec.html @@ -1,4 +1,4 @@ -ConstructorSpec in ink_metadata - Rust
pub struct ConstructorSpec<F: Form = MetaForm> {
+ConstructorSpec in ink_metadata - Rust
pub struct ConstructorSpec<F: Form = MetaForm> {
     pub label: F::String,
     pub selector: Selector,
     pub payable: bool,
@@ -53,91 +53,12 @@
     <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/struct.ConstructorSpecBuilder.html b/ink_metadata/struct.ConstructorSpecBuilder.html index 97211048f7..09656065bd 100644 --- a/ink_metadata/struct.ConstructorSpecBuilder.html +++ b/ink_metadata/struct.ConstructorSpecBuilder.html @@ -1,4 +1,4 @@ -ConstructorSpecBuilder in ink_metadata - Rust
pub struct ConstructorSpecBuilder<F: Form, Selector, IsPayable, Returns> { /* private fields */ }
Expand description

A builder for constructors.

+ConstructorSpecBuilder in ink_metadata - Rust
pub struct ConstructorSpecBuilder<F: Form, Selector, IsPayable, Returns> { /* private fields */ }
Expand description

A builder for constructors.

Developer Note

Some fields are guarded by a type-state pattern to fail at compile-time instead of at run-time. This is useful to better @@ -40,90 +40,11 @@

Developer Note

<F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/ink_metadata/struct.ContractSpec.html b/ink_metadata/struct.ContractSpec.html index bbbdad2bdf..60e143f085 100644 --- a/ink_metadata/struct.ContractSpec.html +++ b/ink_metadata/struct.ContractSpec.html @@ -1,4 +1,4 @@ -ContractSpec in ink_metadata - Rust
pub struct ContractSpec<F: Form = MetaForm>where
+ContractSpec in ink_metadata - Rust
pub struct ContractSpec<F: Form = MetaForm>where
     TypeSpec<F>: Default,{ /* private fields */ }
Expand description

Describes a contract.

Implementations§

source§

impl<F> ContractSpec<F>where F: Form, @@ -43,91 +43,12 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/struct.ContractSpecBuilder.html b/ink_metadata/struct.ContractSpecBuilder.html index 003f5330e0..bcfda7fc3f 100644 --- a/ink_metadata/struct.ContractSpecBuilder.html +++ b/ink_metadata/struct.ContractSpecBuilder.html @@ -1,4 +1,4 @@ -ContractSpecBuilder in ink_metadata - Rust
pub struct ContractSpecBuilder<F, S = Invalid>where
+ContractSpecBuilder in ink_metadata - Rust
pub struct ContractSpecBuilder<F, S = Invalid>where
     F: Form,
     TypeSpec<F>: Default,{ /* private fields */ }

Implementations§

source§

impl<F> ContractSpecBuilder<F, Invalid>where F: Form, @@ -32,90 +32,11 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/ink_metadata/struct.EnvironmentSpec.html b/ink_metadata/struct.EnvironmentSpec.html index 688a6d93f5..b826b3d815 100644 --- a/ink_metadata/struct.EnvironmentSpec.html +++ b/ink_metadata/struct.EnvironmentSpec.html @@ -1,4 +1,4 @@ -EnvironmentSpec in ink_metadata - Rust
pub struct EnvironmentSpec<F: Form = MetaForm>where
+EnvironmentSpec in ink_metadata - Rust
pub struct EnvironmentSpec<F: Form = MetaForm>where
     TypeSpec<F>: Default,{ /* private fields */ }
Expand description

Describes a contract environment.

Implementations§

source§

impl<F> EnvironmentSpec<F>where F: Form, @@ -44,92 +44,14 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere - T: JsonSchema,

\ No newline at end of file + T: JsonSchema,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_metadata/struct.EnvironmentSpecBuilder.html b/ink_metadata/struct.EnvironmentSpecBuilder.html index a241b6e445..3e46fd6fcc 100644 --- a/ink_metadata/struct.EnvironmentSpecBuilder.html +++ b/ink_metadata/struct.EnvironmentSpecBuilder.html @@ -1,4 +1,4 @@ -EnvironmentSpecBuilder in ink_metadata - Rust
pub struct EnvironmentSpecBuilder<F, A, B, H, T, BN, C, M, BS>where
+EnvironmentSpecBuilder in ink_metadata - Rust
pub struct EnvironmentSpecBuilder<F, A, B, H, T, BN, C, M, BS>where
     F: Form,
     TypeSpec<F>: Default,
     EnvironmentSpec<F>: Default,{ /* private fields */ }
Expand description

An environment specification builder.

@@ -75,90 +75,11 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/ink_metadata/struct.EventParamSpec.html b/ink_metadata/struct.EventParamSpec.html index 54f71395b9..e735cf648a 100644 --- a/ink_metadata/struct.EventParamSpec.html +++ b/ink_metadata/struct.EventParamSpec.html @@ -1,4 +1,4 @@ -EventParamSpec in ink_metadata - Rust
pub struct EventParamSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes a pair of parameter label and type.

+EventParamSpec in ink_metadata - Rust
pub struct EventParamSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes a pair of parameter label and type.

Implementations§

source§

impl<F> EventParamSpec<F>where F: Form, TypeSpec<F>: Default,

source

pub fn new(label: F::String) -> EventParamSpecBuilder<F>

Creates a new event parameter specification builder.

@@ -30,91 +30,12 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/struct.EventParamSpecBuilder.html b/ink_metadata/struct.EventParamSpecBuilder.html index 67e02f2158..f96b0cfeaa 100644 --- a/ink_metadata/struct.EventParamSpecBuilder.html +++ b/ink_metadata/struct.EventParamSpecBuilder.html @@ -1,4 +1,4 @@ -EventParamSpecBuilder in ink_metadata - Rust
pub struct EventParamSpecBuilder<F>where
+EventParamSpecBuilder in ink_metadata - Rust
pub struct EventParamSpecBuilder<F>where
     F: Form,{ /* private fields */ }
Expand description

Used to construct an event parameter specification.

Implementations§

source§

impl<F> EventParamSpecBuilder<F>where F: Form,

source

pub fn of_type(self, spec: TypeSpec<F>) -> Self

Sets the type of the event parameter.

@@ -20,90 +20,11 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/ink_metadata/struct.EventSpec.html b/ink_metadata/struct.EventSpec.html index 878e794166..e83ce0ad54 100644 --- a/ink_metadata/struct.EventSpec.html +++ b/ink_metadata/struct.EventSpec.html @@ -1,4 +1,4 @@ -EventSpec in ink_metadata - Rust

Struct ink_metadata::EventSpec

source ·
pub struct EventSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes an event definition.

+EventSpec in ink_metadata - Rust

Struct ink_metadata::EventSpec

source ·
pub struct EventSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes an event definition.

Implementations§

source§

impl<F> EventSpec<F>where F: Form, F::String: Default,

source

pub fn new(label: <F as Form>::String) -> EventSpecBuilder<F>

Creates a new event specification builder.

@@ -31,91 +31,12 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/struct.EventSpecBuilder.html b/ink_metadata/struct.EventSpecBuilder.html index bf5e0f0add..b9c4b1c827 100644 --- a/ink_metadata/struct.EventSpecBuilder.html +++ b/ink_metadata/struct.EventSpecBuilder.html @@ -1,4 +1,4 @@ -EventSpecBuilder in ink_metadata - Rust
pub struct EventSpecBuilder<F>where
+EventSpecBuilder in ink_metadata - Rust
pub struct EventSpecBuilder<F>where
     F: Form,{ /* private fields */ }
Expand description

An event specification builder.

Implementations§

source§

impl<F> EventSpecBuilder<F>where F: Form,

source

pub fn module_path<'a>(self, path: &'a str) -> Selfwhere @@ -24,90 +24,11 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/ink_metadata/struct.InkProject.html b/ink_metadata/struct.InkProject.html index 4f6f910c49..fd8a22ea1c 100644 --- a/ink_metadata/struct.InkProject.html +++ b/ink_metadata/struct.InkProject.html @@ -1,4 +1,4 @@ -InkProject in ink_metadata - Rust
pub struct InkProject { /* private fields */ }
Expand description

An entire ink! project for metadata file generation purposes.

+InkProject in ink_metadata - Rust
pub struct InkProject { /* private fields */ }
Expand description

An entire ink! project for metadata file generation purposes.

Implementations§

source§

impl InkProject

source

pub fn new<L, S>(layout: L, spec: S) -> Selfwhere L: Into<Layout>, S: Into<ContractSpec>,

Create a new ink! project from a layout and a spec.

@@ -17,91 +17,12 @@ __S: Serializer,
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/struct.MessageParamSpec.html b/ink_metadata/struct.MessageParamSpec.html index 4fb21223b0..4b3bb7455c 100644 --- a/ink_metadata/struct.MessageParamSpec.html +++ b/ink_metadata/struct.MessageParamSpec.html @@ -1,4 +1,4 @@ -MessageParamSpec in ink_metadata - Rust
pub struct MessageParamSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes a pair of parameter label and type.

+MessageParamSpec in ink_metadata - Rust
pub struct MessageParamSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes a pair of parameter label and type.

Implementations§

source§

impl<F> MessageParamSpec<F>where F: Form, TypeSpec<F>: Default,

source

pub fn new(label: F::String) -> MessageParamSpecBuilder<F>

Constructs a new message parameter specification via builder.

@@ -28,91 +28,12 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/struct.MessageParamSpecBuilder.html b/ink_metadata/struct.MessageParamSpecBuilder.html index c7134ac1b5..dabee3ceca 100644 --- a/ink_metadata/struct.MessageParamSpecBuilder.html +++ b/ink_metadata/struct.MessageParamSpecBuilder.html @@ -1,4 +1,4 @@ -MessageParamSpecBuilder in ink_metadata - Rust
pub struct MessageParamSpecBuilder<F: Form> { /* private fields */ }
Expand description

Used to construct a message parameter specification.

+MessageParamSpecBuilder in ink_metadata - Rust
pub struct MessageParamSpecBuilder<F: Form> { /* private fields */ }
Expand description

Used to construct a message parameter specification.

Implementations§

source§

impl<F> MessageParamSpecBuilder<F>where F: Form,

source

pub fn of_type(self, ty: TypeSpec<F>) -> Self

Sets the type of the message parameter.

source

pub fn done(self) -> MessageParamSpec<F>

Finishes construction of the message parameter.

@@ -15,90 +15,11 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/ink_metadata/struct.MessageSpec.html b/ink_metadata/struct.MessageSpec.html index 90cc4b5d11..dc06b610f5 100644 --- a/ink_metadata/struct.MessageSpec.html +++ b/ink_metadata/struct.MessageSpec.html @@ -1,4 +1,4 @@ -MessageSpec in ink_metadata - Rust
pub struct MessageSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes a contract message.

+MessageSpec in ink_metadata - Rust
pub struct MessageSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes a contract message.

Implementations§

source§

impl<F> MessageSpec<F>where F: Form, TypeSpec<F>: Default,

source

pub fn from_label( @@ -38,91 +38,12 @@ <F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/struct.MessageSpecBuilder.html b/ink_metadata/struct.MessageSpecBuilder.html index 5f0ac8b5ea..f8e824f245 100644 --- a/ink_metadata/struct.MessageSpecBuilder.html +++ b/ink_metadata/struct.MessageSpecBuilder.html @@ -1,4 +1,4 @@ -MessageSpecBuilder in ink_metadata - Rust
pub struct MessageSpecBuilder<F, Selector, Mutates, IsPayable, Returns>where
+MessageSpecBuilder in ink_metadata - Rust
pub struct MessageSpecBuilder<F, Selector, Mutates, IsPayable, Returns>where
     F: Form,{ /* private fields */ }
Expand description

A builder for messages.

Developer Note

Some fields are guarded by a type-state pattern to fail at @@ -43,90 +43,11 @@

Developer Note

<F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/ink_metadata/struct.ReturnTypeSpec.html b/ink_metadata/struct.ReturnTypeSpec.html index 501bb97f18..d28db34e65 100644 --- a/ink_metadata/struct.ReturnTypeSpec.html +++ b/ink_metadata/struct.ReturnTypeSpec.html @@ -1,4 +1,4 @@ -ReturnTypeSpec in ink_metadata - Rust
pub struct ReturnTypeSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes the contract message return type.

+ReturnTypeSpec in ink_metadata - Rust
pub struct ReturnTypeSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

Describes the contract message return type.

Implementations§

source§

impl<F> ReturnTypeSpec<F>where F: Form, TypeSpec<F>: Default,

source

pub fn new<T>(ty: T) -> Selfwhere @@ -27,91 +27,12 @@
Examples
<F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere diff --git a/ink_metadata/struct.Selector.html b/ink_metadata/struct.Selector.html index 5f6c8a46fa..2cc834ca33 100644 --- a/ink_metadata/struct.Selector.html +++ b/ink_metadata/struct.Selector.html @@ -1,4 +1,4 @@ -Selector in ink_metadata - Rust

Struct ink_metadata::Selector

source ·
pub struct Selector(/* private fields */);
Expand description

The 4 byte selector to identify constructors and messages

+Selector in ink_metadata - Rust

Struct ink_metadata::Selector

source ·
pub struct Selector(/* private fields */);
Expand description

The 4 byte selector to identify constructors and messages

Implementations§

source§

impl Selector

source

pub fn new<T>(bytes: T) -> Selfwhere T: Into<[u8; 4]>,

Create a new custom selector.

source

pub fn to_bytes(&self) -> &[u8]

Returns the underlying selector bytes.

@@ -11,92 +11,14 @@ S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Selector

source§

impl StructuralEq for Selector

source§

impl StructuralPartialEq for Selector

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere - T: JsonSchema,

\ No newline at end of file + T: JsonSchema,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_metadata/struct.TypeSpec.html b/ink_metadata/struct.TypeSpec.html index 1d6175542a..5ea54a678c 100644 --- a/ink_metadata/struct.TypeSpec.html +++ b/ink_metadata/struct.TypeSpec.html @@ -1,4 +1,4 @@ -TypeSpec in ink_metadata - Rust

Struct ink_metadata::TypeSpec

source ·
pub struct TypeSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

A type specification.

+TypeSpec in ink_metadata - Rust

Struct ink_metadata::TypeSpec

source ·
pub struct TypeSpec<F: Form = MetaForm> { /* private fields */ }
Expand description

A type specification.

This contains the actual type as well as an optional compile-time known displayed representation of the type. This is useful for cases where the type is used through a type alias in order to provide @@ -60,92 +60,14 @@

Panics
<F as Form>::Type: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

§

impl<T> JsonSchemaMaybe for Twhere - T: JsonSchema,

\ No newline at end of file + T: JsonSchema,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_metadata/trait.TypeInfo.html b/ink_metadata/trait.TypeInfo.html index d1745ac4f5..f68a62b89c 100644 --- a/ink_metadata/trait.TypeInfo.html +++ b/ink_metadata/trait.TypeInfo.html @@ -1,4 +1,4 @@ -TypeInfo in ink_metadata - Rust
pub trait TypeInfo {
+TypeInfo in ink_metadata - Rust
pub trait TypeInfo {
     type Identity: 'static + ?Sized;
 
     // Required method
@@ -10,35 +10,35 @@ 
Note
will just be Self, but can be used to unify different types which have the same encoded representation e.g. reference types Box<T>, &T and &mut T.

Required Methods§

fn type_info() -> Type

Returns the static type identifier for Self.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl TypeInfo for bool

§

type Identity = bool

§

fn type_info() -> Type

§

impl TypeInfo for char

§

type Identity = char

§

fn type_info() -> Type

§

impl TypeInfo for i8

§

type Identity = i8

§

fn type_info() -> Type

§

impl TypeInfo for i16

§

type Identity = i16

§

fn type_info() -> Type

§

impl TypeInfo for i32

§

type Identity = i32

§

fn type_info() -> Type

§

impl TypeInfo for i64

§

type Identity = i64

§

fn type_info() -> Type

§

impl TypeInfo for i128

§

type Identity = i128

§

fn type_info() -> Type

§

impl TypeInfo for str

§

type Identity = str

§

fn type_info() -> Type

§

impl TypeInfo for u8

§

type Identity = u8

§

fn type_info() -> Type

§

impl TypeInfo for u16

§

type Identity = u16

§

fn type_info() -> Type

§

impl TypeInfo for u32

§

type Identity = u32

§

fn type_info() -> Type

§

impl TypeInfo for u64

§

type Identity = u64

§

fn type_info() -> Type

§

impl TypeInfo for u128

§

type Identity = u128

§

fn type_info() -> Type

§

impl TypeInfo for ()

§

type Identity = ()

§

fn type_info() -> Type

source§

impl TypeInfo for AccountId

source§

impl TypeInfo for Hash

§

type Identity = Hash

source§

fn type_info() -> Type

§

impl TypeInfo for String

§

type Identity = str

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI8

§

type Identity = NonZeroI8

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI16

§

type Identity = NonZeroI16

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI32

§

type Identity = NonZeroI32

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI64

§

type Identity = NonZeroI64

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI128

§

impl TypeInfo for NonZeroU8

§

type Identity = NonZeroU8

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroU16

§

type Identity = NonZeroU16

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroU32

§

type Identity = NonZeroU32

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroU64

§

type Identity = NonZeroU64

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroU128

§

impl TypeInfo for Duration

§

type Identity = Duration

§

fn type_info() -> Type

§

impl TypeInfo for Bits

§

type Identity = Bits

§

fn type_info() -> Type

§

impl TypeInfo for Lsb0

§

type Identity = Lsb0

§

fn type_info() -> Type

§

impl TypeInfo for Msb0

§

type Identity = Msb0

§

fn type_info() -> Type

§

impl<A> TypeInfo for (A,)where - A: TypeInfo + 'static,

§

type Identity = (A,)

§

fn type_info() -> Type

§

impl<A, B> TypeInfo for (A, B)where +

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl TypeInfo for bool

§

type Identity = bool

§

fn type_info() -> Type

§

impl TypeInfo for char

§

type Identity = char

§

fn type_info() -> Type

§

impl TypeInfo for i8

§

type Identity = i8

§

fn type_info() -> Type

§

impl TypeInfo for i16

§

type Identity = i16

§

fn type_info() -> Type

§

impl TypeInfo for i32

§

type Identity = i32

§

fn type_info() -> Type

§

impl TypeInfo for i64

§

type Identity = i64

§

fn type_info() -> Type

§

impl TypeInfo for i128

§

type Identity = i128

§

fn type_info() -> Type

§

impl TypeInfo for str

§

type Identity = str

§

fn type_info() -> Type

§

impl TypeInfo for u8

§

type Identity = u8

§

fn type_info() -> Type

§

impl TypeInfo for u16

§

type Identity = u16

§

fn type_info() -> Type

§

impl TypeInfo for u32

§

type Identity = u32

§

fn type_info() -> Type

§

impl TypeInfo for u64

§

type Identity = u64

§

fn type_info() -> Type

§

impl TypeInfo for u128

§

type Identity = u128

§

fn type_info() -> Type

§

impl TypeInfo for ()

§

type Identity = ()

§

fn type_info() -> Type

source§

impl TypeInfo for AccountId

source§

impl TypeInfo for Hash

§

type Identity = Hash

source§

fn type_info() -> Type

§

impl TypeInfo for String

§

type Identity = str

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI8

§

type Identity = NonZeroI8

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI16

§

type Identity = NonZeroI16

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI32

§

type Identity = NonZeroI32

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI64

§

type Identity = NonZeroI64

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroI128

§

impl TypeInfo for NonZeroU8

§

type Identity = NonZeroU8

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroU16

§

type Identity = NonZeroU16

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroU32

§

type Identity = NonZeroU32

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroU64

§

type Identity = NonZeroU64

§

fn type_info() -> Type

§

impl TypeInfo for NonZeroU128

§

impl TypeInfo for Duration

§

type Identity = Duration

§

fn type_info() -> Type

§

impl<A> TypeInfo for (A,)where + A: TypeInfo + 'static,

§

type Identity = (A,)

§

fn type_info() -> Type

§

impl<A, B> TypeInfo for (A, B)where A: TypeInfo + 'static, - B: TypeInfo + 'static,

§

type Identity = (A, B)

§

fn type_info() -> Type

§

impl<A, B, C> TypeInfo for (A, B, C)where + B: TypeInfo + 'static,

§

type Identity = (A, B)

§

fn type_info() -> Type

§

impl<A, B, C> TypeInfo for (A, B, C)where A: TypeInfo + 'static, B: TypeInfo + 'static, - C: TypeInfo + 'static,

§

type Identity = (A, B, C)

§

fn type_info() -> Type

§

impl<A, B, C, D> TypeInfo for (A, B, C, D)where + C: TypeInfo + 'static,

§

type Identity = (A, B, C)

§

fn type_info() -> Type

§

impl<A, B, C, D> TypeInfo for (A, B, C, D)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, - D: TypeInfo + 'static,

§

impl<A, B, C, D, E> TypeInfo for (A, B, C, D, E)where + D: TypeInfo + 'static,

§

impl<A, B, C, D, E> TypeInfo for (A, B, C, D, E)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, - E: TypeInfo + 'static,

§

impl<A, B, C, D, E, F> TypeInfo for (A, B, C, D, E, F)where + E: TypeInfo + 'static,

§

impl<A, B, C, D, E, F> TypeInfo for (A, B, C, D, E, F)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, - F: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G> TypeInfo for (A, B, C, D, E, F, G)where + F: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G> TypeInfo for (A, B, C, D, E, F, G)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, - G: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H> TypeInfo for (A, B, C, D, E, F, G, H)where + G: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H> TypeInfo for (A, B, C, D, E, F, G, H)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -46,7 +46,7 @@
Note
E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, - H: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I> TypeInfo for (A, B, C, D, E, F, G, H, I)where + H: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I> TypeInfo for (A, B, C, D, E, F, G, H, I)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -55,7 +55,7 @@
Note
F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, - I: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J> TypeInfo for (A, B, C, D, E, F, G, H, I, J)where + I: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J> TypeInfo for (A, B, C, D, E, F, G, H, I, J)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -65,7 +65,7 @@
Note
G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, - J: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K)where + J: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -76,7 +76,7 @@
Note
H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, - K: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L)where + K: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -88,7 +88,7 @@
Note
I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, - L: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M)where + L: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -101,7 +101,7 @@
Note
J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static, - M: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)where + M: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -115,7 +115,7 @@
Note
K: TypeInfo + 'static, L: TypeInfo + 'static, M: TypeInfo + 'static, - N: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)where + N: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -130,7 +130,7 @@
Note
L: TypeInfo + 'static, M: TypeInfo + 'static, N: TypeInfo + 'static, - O: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)where + O: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -146,7 +146,7 @@
Note
M: TypeInfo + 'static, N: TypeInfo + 'static, O: TypeInfo + 'static, - P: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)where + P: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -163,7 +163,7 @@
Note
N: TypeInfo + 'static, O: TypeInfo + 'static, P: TypeInfo + 'static, - Q: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)where + Q: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -181,7 +181,7 @@
Note
O: TypeInfo + 'static, P: TypeInfo + 'static, Q: TypeInfo + 'static, - R: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)where + R: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -200,7 +200,7 @@
Note
P: TypeInfo + 'static, Q: TypeInfo + 'static, R: TypeInfo + 'static, - S: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)where + S: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, @@ -220,26 +220,24 @@
Note
Q: TypeInfo + 'static, R: TypeInfo + 'static, S: TypeInfo + 'static, - T: TypeInfo + 'static,

§

impl<Idx> TypeInfo for Range<Idx>where - Idx: TypeInfo + 'static + PartialOrd + Debug,

§

type Identity = Range<Idx>

§

fn type_info() -> Type

§

impl<Idx> TypeInfo for RangeInclusive<Idx>where - Idx: TypeInfo + 'static + PartialOrd + Debug,

§

type Identity = RangeInclusive<Idx>

§

fn type_info() -> Type

§

impl<K, V> TypeInfo for BTreeMap<K, V>where + T: TypeInfo + 'static,

§

impl<Idx> TypeInfo for Range<Idx>where + Idx: TypeInfo + 'static + PartialOrd + Debug,

§

type Identity = Range<Idx>

§

fn type_info() -> Type

§

impl<Idx> TypeInfo for RangeInclusive<Idx>where + Idx: TypeInfo + 'static + PartialOrd + Debug,

§

type Identity = RangeInclusive<Idx>

§

fn type_info() -> Type

§

impl<K, V> TypeInfo for BTreeMap<K, V>where K: TypeInfo + 'static, - V: TypeInfo + 'static,

§

type Identity = BTreeMap<K, V>

§

fn type_info() -> Type

§

impl<T> TypeInfo for Cow<'static, T>where - T: ToOwned + TypeInfo + 'static + ?Sized,

§

type Identity = Cow<'static, T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for Option<T>where - T: TypeInfo + 'static,

§

type Identity = Option<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for &Twhere - T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for &mut Twhere - T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for [T]where - T: TypeInfo + 'static,

§

type Identity = [T]

§

fn type_info() -> Type

§

impl<T> TypeInfo for Box<T>where - T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for BinaryHeap<T>where - T: TypeInfo + 'static,

§

type Identity = BinaryHeap<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for BTreeSet<T>where - T: TypeInfo + 'static,

§

type Identity = BTreeSet<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for VecDeque<T>where - T: TypeInfo + 'static,

§

type Identity = [T]

§

fn type_info() -> Type

§

impl<T> TypeInfo for Rc<T>where - T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for Arc<T>where - T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for Vec<T>where - T: TypeInfo + 'static,

§

type Identity = [T]

§

fn type_info() -> Type

§

impl<T> TypeInfo for PhantomData<T>

§

type Identity = PhantomData<()>

§

fn type_info() -> Type

§

impl<T> TypeInfo for Compact<T>where - T: TypeInfo + 'static,

§

type Identity = Compact<T>

§

fn type_info() -> Type

§

impl<T, E> TypeInfo for Result<T, E>where + V: TypeInfo + 'static,

§

type Identity = BTreeMap<K, V>

§

fn type_info() -> Type

§

impl<T> TypeInfo for Cow<'static, T>where + T: ToOwned + TypeInfo + 'static + ?Sized,

§

type Identity = Cow<'static, T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for Option<T>where + T: TypeInfo + 'static,

§

type Identity = Option<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for &Twhere + T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for &mut Twhere + T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for [T]where + T: TypeInfo + 'static,

§

type Identity = [T]

§

fn type_info() -> Type

§

impl<T> TypeInfo for Box<T>where + T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for BinaryHeap<T>where + T: TypeInfo + 'static,

§

type Identity = BinaryHeap<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for BTreeSet<T>where + T: TypeInfo + 'static,

§

type Identity = BTreeSet<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for VecDeque<T>where + T: TypeInfo + 'static,

§

type Identity = [T]

§

fn type_info() -> Type

§

impl<T> TypeInfo for Rc<T>where + T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for Arc<T>where + T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for Vec<T>where + T: TypeInfo + 'static,

§

type Identity = [T]

§

fn type_info() -> Type

§

impl<T> TypeInfo for PhantomData<T>

§

type Identity = PhantomData<()>

§

fn type_info() -> Type

§

impl<T> TypeInfo for Compact<T>where + T: TypeInfo + 'static,

§

type Identity = Compact<T>

§

fn type_info() -> Type

§

impl<T, E> TypeInfo for Result<T, E>where T: TypeInfo + 'static, - E: TypeInfo + 'static,

§

type Identity = Result<T, E>

§

fn type_info() -> Type

§

impl<T, O> TypeInfo for BitVec<T, O>where - T: BitStore + TypeInfo + 'static, - O: BitOrder + TypeInfo + 'static,

§

type Identity = BitVec<T, O>

§

fn type_info() -> Type

§

impl<T, const N: usize> TypeInfo for [T; N]where - T: TypeInfo + 'static,

§

type Identity = [T; N]

§

fn type_info() -> Type

Implementors§

\ No newline at end of file + E: TypeInfo + 'static,
§

type Identity = Result<T, E>

§

fn type_info() -> Type

§

impl<T, const N: usize> TypeInfo for [T; N]where + T: TypeInfo + 'static,

§

type Identity = [T; N]

§

fn type_info() -> Type

Implementors§

\ No newline at end of file diff --git a/ink_primitives/enum.LangError.html b/ink_primitives/enum.LangError.html index 6d98b5e981..bb1e3afa6a 100644 --- a/ink_primitives/enum.LangError.html +++ b/ink_primitives/enum.LangError.html @@ -1,4 +1,4 @@ -LangError in ink_primitives - Rust
#[non_exhaustive]
#[repr(u32)]
pub enum LangError { +LangError in ink_primitives - Rust
#[non_exhaustive]
#[repr(u32)]
pub enum LangError { CouldNotReadInput = 1, }
Expand description

An error emitted by the smart contracting language.

This is different than errors from:

@@ -23,100 +23,21 @@ sufficient, and should not be overridden without very good reason.
source§

impl TypeInfo for LangError

§

type Identity = LangError

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl Copy for LangError

source§

impl EncodeLike for LangError

source§

impl Eq for LangError

source§

impl StructuralEq for LangError

source§

impl StructuralPartialEq for LangError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( limit: u32, input: &mut &[u8] ) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of -bytes consumed. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+bytes consumed. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> KeyedVec for Twhere - T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S> Codec for Swhere S: Decode + Encode,

§

impl<T> EncodeLike<&&T> for Twhere diff --git a/ink_primitives/struct.AccountId.html b/ink_primitives/struct.AccountId.html index 7c7edc2ec8..e70c042263 100644 --- a/ink_primitives/struct.AccountId.html +++ b/ink_primitives/struct.AccountId.html @@ -1,48 +1,51 @@ -AccountId in ink_primitives - Rust
pub struct AccountId(/* private fields */);
Expand description

The default environment AccountId type.

+AccountId in ink_primitives - Rust
pub struct AccountId(/* private fields */);
Expand description

The default environment AccountId type.

Note

This is a mirror of the AccountId type used in the default configuration of PALLET contracts.

-

Trait Implementations§

source§

impl AsMut<[u8]> for AccountId

source§

fn as_mut(&mut self) -> &mut [u8]

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<[u8; 32]> for AccountId

source§

fn as_mut(&mut self) -> &mut [u8; 32]

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<[u8]> for AccountId

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<[u8; 32]> for AccountId

source§

fn as_ref(&self) -> &[u8; 32]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for AccountId

source§

fn clone(&self) -> AccountId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AccountId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for AccountId

source§

fn decode<__CodecInputEdqy: Input>( +

Trait Implementations§

source§

impl AsMut<[u8]> for AccountId

source§

fn as_mut(&mut self) -> &mut [u8]

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<[u8; 32]> for AccountId

source§

fn as_mut(&mut self) -> &mut [u8; 32]

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<[u8]> for AccountId

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<[u8; 32]> for AccountId

source§

fn as_ref(&self) -> &[u8; 32]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for AccountId

source§

fn clone(&self) -> AccountId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AccountId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for AccountId

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
§

fn decode_into<I>( input: &mut I, dst: &mut MaybeUninit<Self> ) -> Result<DecodeFinished, Error>where I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where - I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl DecodeAsFields for AccountId

source§

fn decode_as_fields<'info>( + I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl DecodeAsFields for AccountId

source§

fn decode_as_fields<'info, R: TypeResolver>( input: &mut &[u8], - fields: &mut dyn FieldIter<'info>, - types: &'info PortableRegistry + fields: &mut dyn FieldIter<'info, R::TypeId>, + types: &'info R ) -> Result<Self, Error>

Given some bytes and some fields denoting their structure, attempt to decode.
source§

impl Encode for AccountId

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

Convert self to a slice and append it to the destination.
source§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
source§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn>( &self, f: __CodecUsingEncodedCallback -) -> __CodecOutputReturn

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl EncodeAsFields for AccountId

source§

fn encode_as_fields_to( +) -> __CodecOutputReturn

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl EncodeAsFields for AccountId

source§

fn encode_as_fields_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_fields: &mut dyn FieldIter<'_>, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_fields: &mut dyn FieldIter<'_, ScaleEncodeResolver::TypeId>, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> -) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields( +) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields<R>( &self, - fields: &mut dyn FieldIter<'_, Item = Field<'_>>, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to -implement that instead.
source§

impl EncodeAsType for AccountId

source§

fn encode_as_type_to( + fields: &mut dyn FieldIter<'_, <R as TypeResolver>::TypeId, Item = Field<'_, <R as TypeResolver>::TypeId>>, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,

This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to +implement that instead.
source§

impl EncodeAsType for AccountId

source§

fn encode_as_type_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_type_id: u32, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_type_id: &ScaleEncodeResolver::TypeId, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> ) -> Result<(), Error>

Given some type_id, types, a context and some output target for the SCALE encoded bytes, -attempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type( +attempt to SCALE encode the current value into the type given by type_id.

§

fn encode_as_type<R>( &self, - type_id: u32, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to implement that instead.
source§

impl From<[u8; 32]> for AccountId

source§

fn from(original: [u8; 32]) -> AccountId

Converts to this type from the input type.
source§

impl Hash for AccountId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoVisitor for AccountId

§

type Visitor = Visitor

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor() -> Self::Visitor

A means of obtaining this visitor.
source§

impl MaxEncodedLen for AccountId

source§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
source§

impl Ord for AccountId

source§

fn cmp(&self, other: &AccountId) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoVisitor for AccountId

§

type AnyVisitor<ScaleDecodeTypeResolver: TypeResolver> = Visitor<ScaleDecodeTypeResolver>

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor<ScaleDecodeTypeResolver: TypeResolver>( +) -> Self::AnyVisitor<ScaleDecodeTypeResolver>

A means of obtaining this visitor.
source§

impl MaxEncodedLen for AccountId

source§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
source§

impl Ord for AccountId

source§

fn cmp(&self, other: &AccountId) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for AccountId

source§

fn eq(&self, other: &AccountId) -> bool

This method tests for self and other values to be equal, and is used @@ -50,19 +53,9 @@

Note

sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for AccountId

source§

fn partial_cmp(&self, other: &AccountId) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl<'a> TryFrom<&'a [u8]> for AccountId

§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
source§

fn try_from(bytes: &'a [u8]) -> Result<Self, TryFromSliceError>

Performs the conversion.
source§

impl TypeInfo for AccountId

§

type Identity = AccountId

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl Copy for AccountId

source§

impl EncodeLike for AccountId

source§

impl Eq for AccountId

source§

impl StructuralEq for AccountId

source§

impl StructuralPartialEq for AccountId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<A, T> AsBits<T> for Awhere - A: AsRef<[T]>, - T: BitStore,

§

fn as_bits<O>(&self) -> &BitSlice<T, O> where - O: BitOrder,

Views self as an immutable bit-slice region with the O ordering.
§

fn try_as_bits<O>(&self) -> Result<&BitSlice<T, O>, BitSpanError<T>>where - O: BitOrder,

Attempts to view self as an immutable bit-slice region with the O -ordering. Read more
§

impl<T, U> AsByteSlice<T> for Uwhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T, U> AsByteSlice<T> for Uwhere T: ToByteSlice, - U: AsRef<[T]> + ?Sized,

§

fn as_byte_slice(&self) -> &[u8]

§

impl<A, T> AsMutBits<T> for Awhere - A: AsMut<[T]>, - T: BitStore,

§

fn as_mut_bits<O>(&mut self) -> &mut BitSlice<T, O> where - O: BitOrder,

Views self as a mutable bit-slice region with the O ordering.
§

fn try_as_mut_bits<O>(&mut self) -> Result<&mut BitSlice<T, O>, BitSpanError<T>>where - O: BitOrder,

Attempts to view self as a mutable bit-slice region with the O -ordering. Read more
§

impl<T, U> AsMutByteSlice<T> for Uwhere + U: AsRef<[T]> + ?Sized,

§

fn as_byte_slice(&self) -> &[u8]

§

impl<T, U> AsMutByteSlice<T> for Uwhere T: ToMutByteSlice, U: AsMut<[T]> + ?Sized,

§

fn as_mut_byte_slice(&mut self) -> &mut [u8]

§

impl<U> AsMutSliceOf for Uwhere U: AsMut<[u8]> + ?Sized,

§

fn as_mut_slice_of<T>(&mut self) -> Result<&mut [T], Error>where @@ -70,19 +63,20 @@

Note

U: AsRef<[u8]> + ?Sized,

§

fn as_slice_of<T>(&self) -> Result<&[T], Error>where T: FromByteSlice,

source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeAsType for Twhere - T: IntoVisitor,

§

fn decode_as_type_maybe_compact( + T: IntoVisitor,

§

fn decode_as_type_maybe_compact<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry, + type_id: &<R as TypeResolver>::TypeId, + types: &R, is_compact: bool -) -> Result<T, Error>

§

fn decode_as_type( +) -> Result<T, Error>where + R: TypeResolver,

§

fn decode_as_type<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry -) -> Result<Self, Error>

Given some input bytes, a type_id, and type registry, attempt to decode said bytes into + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Self, Error>where + R: TypeResolver,
Given some input bytes, a type_id, and type registry, attempt to decode said bytes into Self. Implementations should modify the &mut reference to the bytes such that any bytes not used in the course of decoding are still pointed to after decoding is complete.
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( @@ -90,92 +84,14 @@

Note

input: &mut &[u8] ) -> Result<T, Error>
Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of -bytes consumed. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+bytes consumed. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> KeyedVec for Twhere - T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S> Codec for Swhere S: Decode + Encode,

§

impl<T> EncodeLike<&&T> for Twhere @@ -188,4 +104,4 @@

Note

T: Encode,

§

impl<S> FullCodec for Swhere S: Decode + FullEncode,

§

impl<S> FullEncode for Swhere S: Encode + EncodeLike,

§

impl<T> JsonSchemaMaybe for T

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static, \ No newline at end of file diff --git a/ink_primitives/struct.Hash.html b/ink_primitives/struct.Hash.html index 0d837b7b9e..716b9d69d3 100644 --- a/ink_primitives/struct.Hash.html +++ b/ink_primitives/struct.Hash.html @@ -1,4 +1,4 @@ -Hash in ink_primitives - Rust

Struct ink_primitives::Hash

source ·
pub struct Hash(/* private fields */);
Expand description
§

fn skip<I>(input: &mut I) -> Result<(), Error>where - I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl DecodeAsFields for Hash

source§

fn decode_as_fields<'info>( + I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl DecodeAsFields for Hash

source§

fn decode_as_fields<'info, R: TypeResolver>( input: &mut &[u8], - fields: &mut dyn FieldIter<'info>, - types: &'info PortableRegistry + fields: &mut dyn FieldIter<'info, R::TypeId>, + types: &'info R ) -> Result<Self, Error>

Given some bytes and some fields denoting their structure, attempt to decode.
source§

impl Default for Hash

source§

fn default() -> Hash

Returns the “default value” for a type. Read more
source§

impl Encode for Hash

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

Convert self to a slice and append it to the destination.
source§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
source§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn>( &self, f: __CodecUsingEncodedCallback -) -> __CodecOutputReturn

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl EncodeAsFields for Hash

source§

fn encode_as_fields_to( +) -> __CodecOutputReturn

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl EncodeAsFields for Hash

source§

fn encode_as_fields_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_fields: &mut dyn FieldIter<'_>, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_fields: &mut dyn FieldIter<'_, ScaleEncodeResolver::TypeId>, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> -) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields( +) -> Result<(), Error>

Given some fields describing the shape of a type, attempt to encode to that shape.
§

fn encode_as_fields<R>( &self, - fields: &mut dyn FieldIter<'_, Item = Field<'_>>, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to -implement that instead.
source§

impl EncodeAsType for Hash

source§

fn encode_as_type_to( + fields: &mut dyn FieldIter<'_, <R as TypeResolver>::TypeId, Item = Field<'_, <R as TypeResolver>::TypeId>>, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,

This is a helper function which internally calls [EncodeAsFields::encode_as_fields_to]. Prefer to +implement that instead.
source§

impl EncodeAsType for Hash

source§

fn encode_as_type_to<ScaleEncodeResolver: TypeResolver>( &self, - __encode_as_type_type_id: u32, - __encode_as_type_types: &PortableRegistry, + __encode_as_type_type_id: &ScaleEncodeResolver::TypeId, + __encode_as_type_types: &ScaleEncodeResolver, __encode_as_type_out: &mut Vec<u8> ) -> Result<(), Error>

Given some type_id, types, a context and some output target for the SCALE encoded bytes, -attempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type( +attempt to SCALE encode the current value into the type given by type_id.

§

fn encode_as_type<R>( &self, - type_id: u32, - types: &PortableRegistry -) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Vec<u8>, Error>where + R: TypeResolver,
This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to implement that instead.
source§

impl From<[u8; 32]> for Hash

source§

fn from(original: [u8; 32]) -> Hash

Converts to this type from the input type.
source§

impl From<Hash> for [u8; 32]

source§

fn from(hash: Hash) -> Self

Converts to this type from the input type.
source§

impl Hash for Hash

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoVisitor for Hash

§

type Visitor = Visitor

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor() -> Self::Visitor

A means of obtaining this visitor.
source§

impl MaxEncodedLen for Hash

source§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
source§

impl Ord for Hash

source§

fn cmp(&self, other: &Hash) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoVisitor for Hash

§

type AnyVisitor<ScaleDecodeTypeResolver: TypeResolver> = Visitor<ScaleDecodeTypeResolver>

The visitor type used to decode SCALE encoded bytes to Self.
source§

fn into_visitor<ScaleDecodeTypeResolver: TypeResolver>( +) -> Self::AnyVisitor<ScaleDecodeTypeResolver>

A means of obtaining this visitor.
source§

impl MaxEncodedLen for Hash

source§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
source§

impl Ord for Hash

source§

fn cmp(&self, other: &Hash) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for Hash

source§

fn eq(&self, other: &Hash) -> bool

This method tests for self and other values to be equal, and is used @@ -50,19 +53,9 @@

Note

sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for Hash

source§

fn partial_cmp(&self, other: &Hash) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl<'a> TryFrom<&'a [u8]> for Hash

§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
source§

fn try_from(bytes: &'a [u8]) -> Result<Self, TryFromSliceError>

Performs the conversion.
source§

impl TypeInfo for Hash

§

type Identity = Hash

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl Copy for Hash

source§

impl EncodeLike for Hash

source§

impl Eq for Hash

source§

impl StructuralEq for Hash

source§

impl StructuralPartialEq for Hash

Auto Trait Implementations§

§

impl RefUnwindSafe for Hash

§

impl Send for Hash

§

impl Sync for Hash

§

impl Unpin for Hash

§

impl UnwindSafe for Hash

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<A, T> AsBits<T> for Awhere - A: AsRef<[T]>, - T: BitStore,

§

fn as_bits<O>(&self) -> &BitSlice<T, O> where - O: BitOrder,

Views self as an immutable bit-slice region with the O ordering.
§

fn try_as_bits<O>(&self) -> Result<&BitSlice<T, O>, BitSpanError<T>>where - O: BitOrder,

Attempts to view self as an immutable bit-slice region with the O -ordering. Read more
§

impl<T, U> AsByteSlice<T> for Uwhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T, U> AsByteSlice<T> for Uwhere T: ToByteSlice, - U: AsRef<[T]> + ?Sized,

§

fn as_byte_slice(&self) -> &[u8]

§

impl<A, T> AsMutBits<T> for Awhere - A: AsMut<[T]>, - T: BitStore,

§

fn as_mut_bits<O>(&mut self) -> &mut BitSlice<T, O> where - O: BitOrder,

Views self as a mutable bit-slice region with the O ordering.
§

fn try_as_mut_bits<O>(&mut self) -> Result<&mut BitSlice<T, O>, BitSpanError<T>>where - O: BitOrder,

Attempts to view self as a mutable bit-slice region with the O -ordering. Read more
§

impl<T, U> AsMutByteSlice<T> for Uwhere + U: AsRef<[T]> + ?Sized,

§

fn as_byte_slice(&self) -> &[u8]

§

impl<T, U> AsMutByteSlice<T> for Uwhere T: ToMutByteSlice, U: AsMut<[T]> + ?Sized,

§

fn as_mut_byte_slice(&mut self) -> &mut [u8]

§

impl<U> AsMutSliceOf for Uwhere U: AsMut<[u8]> + ?Sized,

§

fn as_mut_slice_of<T>(&mut self) -> Result<&mut [T], Error>where @@ -70,19 +63,20 @@

Note

U: AsRef<[u8]> + ?Sized,

§

fn as_slice_of<T>(&self) -> Result<&[T], Error>where T: FromByteSlice,

source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> DecodeAll for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> DecodeAll for Twhere T: Decode,

§

fn decode_all(input: &mut &[u8]) -> Result<T, Error>

Decode Self and consume all of the given input data. Read more
§

impl<T> DecodeAsType for Twhere - T: IntoVisitor,

§

fn decode_as_type_maybe_compact( + T: IntoVisitor,

§

fn decode_as_type_maybe_compact<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry, + type_id: &<R as TypeResolver>::TypeId, + types: &R, is_compact: bool -) -> Result<T, Error>

§

fn decode_as_type( +) -> Result<T, Error>where + R: TypeResolver,

§

fn decode_as_type<R>( input: &mut &[u8], - type_id: u32, - types: &PortableRegistry -) -> Result<Self, Error>

Given some input bytes, a type_id, and type registry, attempt to decode said bytes into + type_id: &<R as TypeResolver>::TypeId, + types: &R +) -> Result<Self, Error>where + R: TypeResolver,
Given some input bytes, a type_id, and type registry, attempt to decode said bytes into Self. Implementations should modify the &mut reference to the bytes such that any bytes not used in the course of decoding are still pointed to after decoding is complete.
§

impl<T> DecodeLimit for Twhere T: Decode,

§

fn decode_all_with_depth_limit( @@ -90,92 +84,14 @@

Note

input: &mut &[u8] ) -> Result<T, Error>
Decode Self and consume all of the given input data. Read more
§

fn decode_with_depth_limit<I>(limit: u32, input: &mut I) -> Result<T, Error>where I: Input,

Decode Self with the given maximum recursion depth and advance input by the number of -bytes consumed. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+bytes consumed. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> KeyedVec for Twhere - T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere + T: Codec,

§

fn to_keyed_vec(&self, prepend_key: &[u8]) -> Vec<u8>

Return an encoding of Self prepended by given slice.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S> Codec for Swhere S: Decode + Encode,

§

impl<T> EncodeLike<&&T> for Twhere @@ -188,4 +104,5 @@

Note

T: Encode,

§

impl<S> FullCodec for Swhere S: Decode + FullEncode,

§

impl<S> FullEncode for Swhere S: Encode + EncodeLike,

§

impl<T> JsonSchemaMaybe for T

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_primitives/struct.KeyComposer.html b/ink_primitives/struct.KeyComposer.html index 9d500f86d2..64f0ecd3a5 100644 --- a/ink_primitives/struct.KeyComposer.html +++ b/ink_primitives/struct.KeyComposer.html @@ -1,4 +1,4 @@ -KeyComposer in ink_primitives - Rust
pub struct KeyComposer;
Expand description

Contains all rules related to storage key creation.

+KeyComposer in ink_primitives - Rust
pub struct KeyComposer;
Expand description

Contains all rules related to storage key creation.

Implementations§

source§

impl KeyComposer

source

pub const fn concat(left: Key, right: Key) -> Key

Concatenate two Key into one during compilation.

source

pub const fn from_str(str: &str) -> Key

Return the storage key from the supplied str.

source

pub const fn from_bytes(bytes: &[u8]) -> Key

Returns the storage key from the supplied bytes.

@@ -23,90 +23,11 @@
Note

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> JsonSchemaMaybe for T

\ No newline at end of file diff --git a/ink_sandbox/enum.DispatchError.html b/ink_sandbox/enum.DispatchError.html index cef6b0f1b0..36a9e644b9 100644 --- a/ink_sandbox/enum.DispatchError.html +++ b/ink_sandbox/enum.DispatchError.html @@ -47,11 +47,11 @@ __codec_dest_edqy: &mut __CodecOutputEdqy )where __CodecOutputEdqy: Output + ?Sized,
Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
§

impl From<&'static str> for DispatchError

§

fn from(err: &'static str) -> DispatchError

Converts to this type from the input type.
§

impl From<ArithmeticError> for DispatchError

§

fn from(e: ArithmeticError) -> DispatchError

Converts to this type from the input type.
§

impl From<BadOrigin> for DispatchError

§

fn from(_: BadOrigin) -> DispatchError

Converts to this type from the input type.
§

impl From<DispatchError> for &'static str

§

fn from(err: DispatchError) -> &'static str

Converts to this type from the input type.
§

impl<T> From<Error<T>> for DispatchErrorwhere + F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
§

impl From<&'static str> for DispatchError

§

fn from(err: &'static str) -> DispatchError

Converts to this type from the input type.
§

impl From<ArithmeticError> for DispatchError

§

fn from(e: ArithmeticError) -> DispatchError

Converts to this type from the input type.
§

impl From<BadOrigin> for DispatchError

§

fn from(_: BadOrigin) -> DispatchError

Converts to this type from the input type.
§

impl From<DispatchError> for &'static str

§

fn from(err: DispatchError) -> &'static str

Converts to this type from the input type.
§

impl<T> From<Error<T>> for DispatchErrorwhere T: Config,

§

fn from(err: Error<T>) -> DispatchError

Converts to this type from the input type.
§

impl<T> From<Error<T>> for DispatchErrorwhere T: Config,

§

fn from(err: Error<T>) -> DispatchError

Converts to this type from the input type.
§

impl<T, I> From<Error<T, I>> for DispatchErrorwhere T: Config<I>, - I: 'static,

§

fn from(err: Error<T, I>) -> DispatchError

Converts to this type from the input type.
§

impl From<LookupError> for DispatchError

§

fn from(_: LookupError) -> DispatchError

Converts to this type from the input type.
§

impl From<TokenError> for DispatchError

§

fn from(e: TokenError) -> DispatchError

Converts to this type from the input type.
§

impl From<TransactionalError> for DispatchError

§

fn from(e: TransactionalError) -> DispatchError

Converts to this type from the input type.
§

impl MaxEncodedLen for DispatchError

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
§

impl PartialEq for DispatchError

§

fn eq(&self, other: &DispatchError) -> bool

This method tests for self and other values to be equal, and is used + I: 'static,
§

fn from(err: Error<T, I>) -> DispatchError

Converts to this type from the input type.
§

impl From<LookupError> for DispatchError

§

fn from(_: LookupError) -> DispatchError

Converts to this type from the input type.
§

impl From<TokenError> for DispatchError

§

fn from(e: TokenError) -> DispatchError

Converts to this type from the input type.
§

impl From<TransactionalError> for DispatchError

§

fn from(e: TransactionalError) -> DispatchError

Converts to this type from the input type.
§

impl MaxEncodedLen for DispatchError

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
§

impl PartialEq for DispatchError

§

fn eq(&self, other: &DispatchError) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Printable for DispatchError

§

fn print(&self)

Print the object.
§

impl Serialize for DispatchError

§

fn serialize<__S>( &self, diff --git a/ink_sandbox/macro.create_sandbox.html b/ink_sandbox/macro.create_sandbox.html index c06d20c3ce..0a56d02d0a 100644 --- a/ink_sandbox/macro.create_sandbox.html +++ b/ink_sandbox/macro.create_sandbox.html @@ -1,4 +1,4 @@ -create_sandbox in ink_sandbox - Rust
macro_rules! create_sandbox {
+create_sandbox in ink_sandbox - Rust
macro_rules! create_sandbox {
     ($name:ident) => { ... };
     ($name:ident, $chain_extension: ty, $debug: ty) => { ... };
     ($sandbox:ident, $runtime:ident, $chain_extension: ty, $debug: ty) => { ... };
diff --git a/ink_sandbox/macros/enum.RuntimeCall.html b/ink_sandbox/macros/enum.RuntimeCall.html
index 2241d4ed95..ae85f4cebc 100644
--- a/ink_sandbox/macros/enum.RuntimeCall.html
+++ b/ink_sandbox/macros/enum.RuntimeCall.html
@@ -1,37 +1,37 @@
-RuntimeCall in ink_sandbox::macros - Rust
pub enum RuntimeCall {
+RuntimeCall in ink_sandbox::macros - Rust
pub enum RuntimeCall {
     System(CallableCallFor<System, DefaultSandboxRuntime>),
     Balances(CallableCallFor<Balances, DefaultSandboxRuntime>),
     Timestamp(CallableCallFor<Timestamp, DefaultSandboxRuntime>),
     Contracts(CallableCallFor<Contracts, DefaultSandboxRuntime>),
-}

Variants§

§

System(CallableCallFor<System, DefaultSandboxRuntime>)

§

Balances(CallableCallFor<Balances, DefaultSandboxRuntime>)

§

Timestamp(CallableCallFor<Timestamp, DefaultSandboxRuntime>)

§

Contracts(CallableCallFor<Contracts, DefaultSandboxRuntime>)

Trait Implementations§

source§

impl CheckIfFeeless for RuntimeCall

§

type Origin = <DefaultSandboxRuntime as Config>::RuntimeOrigin

The Origin type of the runtime.
source§

fn is_feeless(&self, origin: &Self::Origin) -> bool

Checks if the dispatchable satisfies the feeless condition as defined by -#[pallet::feeless_if]
source§

impl Clone for RuntimeCall

source§

fn clone(&self) -> RuntimeCall

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RuntimeCall

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for RuntimeCall

source§

fn decode<__CodecInputEdqy: Input>( +}

Variants§

§

System(CallableCallFor<System, DefaultSandboxRuntime>)

§

Balances(CallableCallFor<Balances, DefaultSandboxRuntime>)

§

Timestamp(CallableCallFor<Timestamp, DefaultSandboxRuntime>)

§

Contracts(CallableCallFor<Contracts, DefaultSandboxRuntime>)

Trait Implementations§

source§

impl CheckIfFeeless for RuntimeCall

§

type Origin = <DefaultSandboxRuntime as Config>::RuntimeOrigin

The Origin type of the runtime.
source§

fn is_feeless(&self, origin: &Self::Origin) -> bool

Checks if the dispatchable satisfies the feeless condition as defined by +#[pallet::feeless_if]
source§

impl Clone for RuntimeCall

source§

fn clone(&self) -> RuntimeCall

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RuntimeCall

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for RuntimeCall

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
§

fn decode_into<I>( input: &mut I, dst: &mut MaybeUninit<Self> ) -> Result<DecodeFinished, Error>where I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where - I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl Dispatchable for RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

Every function call from your runtime has an origin, which specifies where the extrinsic was + I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl Dispatchable for RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

Every function call from your runtime has an origin, which specifies where the extrinsic was generated from. In the case of a signed extrinsic (transaction), the origin contains an identifier for the caller. The origin can be empty in the case of an inherent extrinsic.
§

type Config = RuntimeCall

§

type Info = DispatchInfo

An opaque set of information attached to the transaction. This could be constructed anywhere down the line in a runtime. The current Substrate runtime uses a struct with the same name to represent the dispatch class and weight.
§

type PostInfo = PostDispatchInfo

Additional information that is returned by dispatch. Can be used to supply the caller -with information about a Dispatchable that is ownly known post dispatch.
source§

fn dispatch(self, origin: RuntimeOrigin) -> DispatchResultWithPostInfo

Actually dispatch this call and return the result of it.
source§

impl Encode for RuntimeCall

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( +with information about a Dispatchable that is ownly known post dispatch.

source§

fn dispatch(self, origin: RuntimeOrigin) -> DispatchResultWithPostInfo

Actually dispatch this call and return the result of it.
source§

impl Encode for RuntimeCall

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Balances, DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Timestamp, DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<System, DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Contracts, DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl GetCallMetadata for RuntimeCall

source§

fn get_call_metadata(&self) -> CallMetadata

Return a [CallMetadata], containing function and pallet name of the Call.
source§

fn get_module_names() -> &'static [&'static str]

Return all module names.
source§

fn get_call_names(module: &str) -> &'static [&'static str]

Return all function names for the given module.
source§

impl GetDispatchInfo for RuntimeCall

source§

fn get_dispatch_info(&self) -> DispatchInfo

Return a DispatchInfo, containing relevant information of this dispatch. Read more
source§

impl IsSubType<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type( + F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Balances, DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<System, DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Contracts, DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn from(call: CallableCallFor<Timestamp, DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl GetCallMetadata for RuntimeCall

source§

fn get_call_metadata(&self) -> CallMetadata

Return a [CallMetadata], containing function and pallet name of the Call.
source§

fn get_module_names() -> &'static [&'static str]

Return all module names.
source§

fn get_call_names(module: &str) -> &'static [&'static str]

Return all function names for the given module.
source§

impl GetDispatchInfo for RuntimeCall

source§

fn get_dispatch_info(&self) -> DispatchInfo

Return a DispatchInfo, containing relevant information of this dispatch. Read more
source§

impl IsSubType<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<System, DefaultSandboxRuntime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type( &self -) -> Option<&CallableCallFor<Timestamp, DefaultSandboxRuntime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type( +) -> Option<&CallableCallFor<Timestamp, DefaultSandboxRuntime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type( &self -) -> Option<&CallableCallFor<Balances, DefaultSandboxRuntime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type(&self) -> Option<&CallableCallFor<System, DefaultSandboxRuntime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type( +) -> Option<&CallableCallFor<Contracts, DefaultSandboxRuntime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl IsSubType<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall

source§

fn is_sub_type( &self -) -> Option<&CallableCallFor<Contracts, DefaultSandboxRuntime>>

Returns Some(_) if self is an instance of sub type T.
source§

impl PartialEq for RuntimeCall

source§

fn eq(&self, other: &RuntimeCall) -> bool

This method tests for self and other values to be equal, and is used +) -> Option<&CallableCallFor<Balances, DefaultSandboxRuntime>>
Returns Some(_) if self is an instance of sub type T.
source§

impl PartialEq for RuntimeCall

source§

fn eq(&self, other: &RuntimeCall) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl TypeInfo for RuntimeCall

§

type Identity = RuntimeCall

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl UnfilteredDispatchable for RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

The origin type of the runtime, (i.e. frame_system::Config::RuntimeOrigin).
source§

fn dispatch_bypass_filter( +sufficient, and should not be overridden without very good reason.

source§

impl TypeInfo for RuntimeCall

§

type Identity = RuntimeCall

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl UnfilteredDispatchable for RuntimeCall

§

type RuntimeOrigin = RuntimeOrigin

The origin type of the runtime, (i.e. frame_system::Config::RuntimeOrigin).
source§

fn dispatch_bypass_filter( self, origin: RuntimeOrigin -) -> DispatchResultWithPostInfo

Dispatch this call but do not check the filter in origin.
source§

impl EncodeLike for RuntimeCall

source§

impl Eq for RuntimeCall

source§

impl StructuralEq for RuntimeCall

source§

impl StructuralPartialEq for RuntimeCall

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +) -> DispatchResultWithPostInfo

Dispatch this call but do not check the filter in origin.
source§

impl EncodeLike for RuntimeCall

source§

impl Eq for RuntimeCall

source§

impl StructuralEq for RuntimeCall

source§

impl StructuralPartialEq for RuntimeCall

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Call> CallDispatcher<Call> for Callwhere diff --git a/ink_sandbox/macros/enum.RuntimeEvent.html b/ink_sandbox/macros/enum.RuntimeEvent.html index 1c470a1ce0..0530f07583 100644 --- a/ink_sandbox/macros/enum.RuntimeEvent.html +++ b/ink_sandbox/macros/enum.RuntimeEvent.html @@ -1,21 +1,21 @@ -RuntimeEvent in ink_sandbox::macros - Rust
pub enum RuntimeEvent {
+RuntimeEvent in ink_sandbox::macros - Rust
pub enum RuntimeEvent {
     System(Event<DefaultSandboxRuntime>),
     Balances(Event<DefaultSandboxRuntime>),
     Contracts(Event<DefaultSandboxRuntime>),
-}

Variants§

§

System(Event<DefaultSandboxRuntime>)

§

Balances(Event<DefaultSandboxRuntime>)

§

Contracts(Event<DefaultSandboxRuntime>)

Trait Implementations§

source§

impl Clone for RuntimeEvent

source§

fn clone(&self) -> RuntimeEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RuntimeEvent

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for RuntimeEvent

source§

fn decode<__CodecInputEdqy: Input>( +}

Variants§

§

System(Event<DefaultSandboxRuntime>)

§

Balances(Event<DefaultSandboxRuntime>)

§

Contracts(Event<DefaultSandboxRuntime>)

Trait Implementations§

source§

impl Clone for RuntimeEvent

source§

fn clone(&self) -> RuntimeEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RuntimeEvent

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for RuntimeEvent

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
§

fn decode_into<I>( input: &mut I, dst: &mut MaybeUninit<Self> ) -> Result<DecodeFinished, Error>where I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where - I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl Encode for RuntimeEvent

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( + I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl Encode for RuntimeEvent

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent

source§

fn from(x: Event<DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent

source§

fn from(x: Event<DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent

source§

fn from(x: Event<DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl PartialEq for RuntimeEvent

source§

fn eq(&self, other: &RuntimeEvent) -> bool

This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent

source§

fn from(x: Event<DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent

source§

fn from(x: Event<DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent

source§

fn from(x: Event<DefaultSandboxRuntime>) -> Self

Converts to this type from the input type.
source§

impl PartialEq for RuntimeEvent

source§

fn eq(&self, other: &RuntimeEvent) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl TryInto<Event<DefaultSandboxRuntime>> for RuntimeEvent

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Event<DefaultSandboxRuntime>, Self::Error>

Performs the conversion.
source§

impl TryInto<Event<DefaultSandboxRuntime>> for RuntimeEvent

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Event<DefaultSandboxRuntime>, Self::Error>

Performs the conversion.
source§

impl TryInto<Event<DefaultSandboxRuntime>> for RuntimeEvent

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Event<DefaultSandboxRuntime>, Self::Error>

Performs the conversion.
source§

impl TypeInfo for RuntimeEvent

§

type Identity = RuntimeEvent

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl EncodeLike for RuntimeEvent

source§

impl Eq for RuntimeEvent

source§

impl StructuralEq for RuntimeEvent

source§

impl StructuralPartialEq for RuntimeEvent

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl TryInto<Event<DefaultSandboxRuntime>> for RuntimeEvent

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Event<DefaultSandboxRuntime>, Self::Error>

Performs the conversion.
source§

impl TryInto<Event<DefaultSandboxRuntime>> for RuntimeEvent

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Event<DefaultSandboxRuntime>, Self::Error>

Performs the conversion.
source§

impl TryInto<Event<DefaultSandboxRuntime>> for RuntimeEvent

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Event<DefaultSandboxRuntime>, Self::Error>

Performs the conversion.
source§

impl TypeInfo for RuntimeEvent

§

type Identity = RuntimeEvent

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl EncodeLike for RuntimeEvent

source§

impl Eq for RuntimeEvent

source§

impl StructuralEq for RuntimeEvent

source§

impl StructuralPartialEq for RuntimeEvent

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where diff --git a/ink_sandbox/macros/enum.RuntimeHoldReason.html b/ink_sandbox/macros/enum.RuntimeHoldReason.html index 961b5ca57f..3a7f646655 100644 --- a/ink_sandbox/macros/enum.RuntimeHoldReason.html +++ b/ink_sandbox/macros/enum.RuntimeHoldReason.html @@ -1,20 +1,20 @@ -RuntimeHoldReason in ink_sandbox::macros - Rust
pub enum RuntimeHoldReason {
+RuntimeHoldReason in ink_sandbox::macros - Rust
pub enum RuntimeHoldReason {
     Contracts(HoldReason),
 }
Expand description

A reason for placing a hold on funds.

-

Variants§

§

Contracts(HoldReason)

Trait Implementations§

source§

impl Clone for RuntimeHoldReason

source§

fn clone(&self) -> RuntimeHoldReason

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RuntimeHoldReason

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for RuntimeHoldReason

source§

fn decode<__CodecInputEdqy: Input>( +

Variants§

§

Contracts(HoldReason)

Trait Implementations§

source§

impl Clone for RuntimeHoldReason

source§

fn clone(&self) -> RuntimeHoldReason

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RuntimeHoldReason

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for RuntimeHoldReason

source§

fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy ) -> Result<Self, Error>

Attempt to deserialise the value from input.
§

fn decode_into<I>( input: &mut I, dst: &mut MaybeUninit<Self> ) -> Result<DecodeFinished, Error>where I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where - I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl Encode for RuntimeHoldReason

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( + I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
source§

impl Encode for RuntimeHoldReason

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere - F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<HoldReason> for RuntimeHoldReason

source§

fn from(hr: HoldReason) -> Self

Converts to this type from the input type.
source§

impl MaxEncodedLen for RuntimeHoldReason

source§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
source§

impl PartialEq for RuntimeHoldReason

source§

fn eq(&self, other: &RuntimeHoldReason) -> bool

This method tests for self and other values to be equal, and is used + F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl From<HoldReason> for RuntimeHoldReason

source§

fn from(hr: HoldReason) -> Self

Converts to this type from the input type.
source§

impl MaxEncodedLen for RuntimeHoldReason

source§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
source§

impl PartialEq for RuntimeHoldReason

source§

fn eq(&self, other: &RuntimeHoldReason) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl TypeInfo for RuntimeHoldReason

§

type Identity = RuntimeHoldReason

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl VariantCount for RuntimeHoldReason

source§

const VARIANT_COUNT: u32 = 2u32

Get the number of variants.
source§

impl Copy for RuntimeHoldReason

source§

impl EncodeLike for RuntimeHoldReason

source§

impl Eq for RuntimeHoldReason

source§

impl StructuralEq for RuntimeHoldReason

source§

impl StructuralPartialEq for RuntimeHoldReason

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +sufficient, and should not be overridden without very good reason.

source§

impl TypeInfo for RuntimeHoldReason

§

type Identity = RuntimeHoldReason

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl VariantCount for RuntimeHoldReason

source§

const VARIANT_COUNT: u32 = 2u32

Get the number of variants.
source§

impl Copy for RuntimeHoldReason

source§

impl EncodeLike for RuntimeHoldReason

source§

impl Eq for RuntimeHoldReason

source§

impl StructuralEq for RuntimeHoldReason

source§

impl StructuralPartialEq for RuntimeHoldReason

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedConversion for T

§

fn checked_from<T>(t: T) -> Option<Self>where diff --git a/ink_sandbox/macros/index.html b/ink_sandbox/macros/index.html index 992cbb7d96..a109b42ded 100644 --- a/ink_sandbox/macros/index.html +++ b/ink_sandbox/macros/index.html @@ -1,2 +1,2 @@ -ink_sandbox::macros - Rust

Module ink_sandbox::macros

source ·

Structs

Trait Implementations§

§

impl Extension for Box<dyn Extension>

§

fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

Return the extension as &mut dyn Any. Read more
§

fn type_id(&self) -> TypeId

Get the TypeId of this Extension.

Implementations on Foreign Types§

§

impl Extension for Box<dyn Extension>

§

fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

§

fn type_id(&self) -> TypeId

§

impl Extension for KeystoreExt

§

fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

§

fn type_id(&self) -> TypeId

§

impl Extension for OffchainDbExt

§

fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

§

fn type_id(&self) -> TypeId

§

impl Extension for OffchainWorkerExt

§

fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

§

fn type_id(&self) -> TypeId

§

impl Extension for ProofSizeExt

§

fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

§

fn type_id(&self) -> TypeId

§

impl Extension for ReadRuntimeVersionExt

§

fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

§

fn type_id(&self) -> TypeId

§

impl Extension for TransactionPoolExt

§

fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

§

fn type_id(&self) -> TypeId

§

impl Extension for UseDalekExt

§

fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

§

fn type_id(&self) -> TypeId

Implementors§

\ No newline at end of file diff --git a/ink_sandbox/trait.Sandbox.html b/ink_sandbox/trait.Sandbox.html index fb6a30cbbe..159a65ddae 100644 --- a/ink_sandbox/trait.Sandbox.html +++ b/ink_sandbox/trait.Sandbox.html @@ -37,4 +37,4 @@
source

fn finalize_block( _height: BlockNumberFor<Self::Runtime> ) -> <Self::Runtime as Config>::Hash

Finalize a block at particular height.

-
source

fn default_gas_limit() -> Weight

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +
source

fn default_gas_limit() -> Weight

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/ink_storage/struct.Lazy.html b/ink_storage/struct.Lazy.html index 7ec21fec85..6c88a7f48f 100644 --- a/ink_storage/struct.Lazy.html +++ b/ink_storage/struct.Lazy.html @@ -1,4 +1,4 @@ -Lazy in ink_storage - Rust

Struct ink_storage::Lazy

source ·
pub struct Lazy<V, KeyType: StorageKey = AutoKey> { /* private fields */ }
Expand description

A simple wrapper around a type to store it in a separate storage cell under its own +Lazy in ink_storage - Rust

Struct ink_storage::Lazy

source ·
pub struct Lazy<V, KeyType: StorageKey = AutoKey> { /* private fields */ }
Expand description

A simple wrapper around a type to store it in a separate storage cell under its own storage key. If you want to update the value, first you need to get it, update the value, and then call set with the new value.

@@ -81,92 +81,14 @@
Panics
KeyType: StorageKey + TypeInfo + 'static,
§

type Identity = Lazy<V, KeyType>

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.

Auto Trait Implementations§

§

impl<V, KeyType> RefUnwindSafe for Lazy<V, KeyType>

§

impl<V, KeyType> Send for Lazy<V, KeyType>

§

impl<V, KeyType> Sync for Lazy<V, KeyType>

§

impl<V, KeyType> Unpin for Lazy<V, KeyType>

§

impl<V, KeyType> UnwindSafe for Lazy<V, KeyType>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_storage/struct.Mapping.html b/ink_storage/struct.Mapping.html index c309c67daa..fe1dc92ffa 100644 --- a/ink_storage/struct.Mapping.html +++ b/ink_storage/struct.Mapping.html @@ -1,4 +1,4 @@ -Mapping in ink_storage - Rust

Struct ink_storage::Mapping

source ·
pub struct Mapping<K, V: Packed, KeyType: StorageKey = AutoKey> { /* private fields */ }
Expand description

A mapping of key-value pairs directly into contract storage.

+Mapping in ink_storage - Rust

Struct ink_storage::Mapping

source ·
pub struct Mapping<K, V: Packed, KeyType: StorageKey = AutoKey> { /* private fields */ }
Expand description

A mapping of key-value pairs directly into contract storage.

Important

The mapping requires its own pre-defined storage key where to store values. By default, the is automatically calculated using AutoKey @@ -126,92 +126,14 @@

Warning
KeyType: StorageKey + TypeInfo + 'static,
§

type Identity = Mapping<K, V, KeyType>

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.

Auto Trait Implementations§

§

impl<K, V, KeyType> RefUnwindSafe for Mapping<K, V, KeyType>

§

impl<K, V, KeyType> Send for Mapping<K, V, KeyType>

§

impl<K, V, KeyType> Sync for Mapping<K, V, KeyType>

§

impl<K, V, KeyType> Unpin for Mapping<K, V, KeyType>

§

impl<K, V, KeyType> UnwindSafe for Mapping<K, V, KeyType>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_storage/struct.StorageVec.html b/ink_storage/struct.StorageVec.html index d59f9794df..ce8a04933d 100644 --- a/ink_storage/struct.StorageVec.html +++ b/ink_storage/struct.StorageVec.html @@ -1,4 +1,4 @@ -StorageVec in ink_storage - Rust

Struct ink_storage::StorageVec

source ·
pub struct StorageVec<V: Packed, KeyType: StorageKey = AutoKey> { /* private fields */ }
Expand description

A vector of values (elements) directly on contract storage.

+StorageVec in ink_storage - Rust

Struct ink_storage::StorageVec

source ·
pub struct StorageVec<V: Packed, KeyType: StorageKey = AutoKey> { /* private fields */ }
Expand description

A vector of values (elements) directly on contract storage.

Important

StorageVec requires its own pre-defined storage key where to store values. By default, the is automatically calculated using AutoKey @@ -166,92 +166,14 @@

Panics
KeyType: StorageKey + TypeInfo + 'static,
§

type Identity = StorageVec<V, KeyType>

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.

Auto Trait Implementations§

§

impl<V, KeyType = AutoKey> !RefUnwindSafe for StorageVec<V, KeyType>

§

impl<V, KeyType> Send for StorageVec<V, KeyType>

§

impl<V, KeyType = AutoKey> !Sync for StorageVec<V, KeyType>

§

impl<V, KeyType> Unpin for StorageVec<V, KeyType>

§

impl<V, KeyType> UnwindSafe for StorageVec<V, KeyType>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_storage_traits/struct.AutoKey.html b/ink_storage_traits/struct.AutoKey.html index 8e8c4251e7..b205fd51c6 100644 --- a/ink_storage_traits/struct.AutoKey.html +++ b/ink_storage_traits/struct.AutoKey.html @@ -1,4 +1,4 @@ -AutoKey in ink_storage_traits - Rust
pub struct AutoKey;
Expand description

Auto key type means that the storage key should be calculated automatically.

+AutoKey in ink_storage_traits - Rust
pub struct AutoKey;
Expand description

Auto key type means that the storage key should be calculated automatically.

Trait Implementations§

source§

impl Clone for AutoKey

source§

fn clone(&self) -> AutoKey

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AutoKey

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AutoKey

source§

fn default() -> AutoKey

Returns the “default value” for a type. Read more
source§

impl PartialEq for AutoKey

source§

fn eq(&self, other: &AutoKey) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for AutoKey

source§

fn partial_cmp(&self, other: &AutoKey) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= @@ -6,93 +6,15 @@ operator. Read more
source§

impl StorageKey for AutoKey

source§

const KEY: Key = 0u32

Storage key of the type.
source§

fn key(&self) -> Key

Returns the storage key.
source§

impl TypeInfo for AutoKey

§

type Identity = AutoKey

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl Copy for AutoKey

source§

impl Eq for AutoKey

source§

impl StructuralEq for AutoKey

source§

impl StructuralPartialEq for AutoKey

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_storage_traits/struct.ManualKey.html b/ink_storage_traits/struct.ManualKey.html index 338880caf2..91f94cd65e 100644 --- a/ink_storage_traits/struct.ManualKey.html +++ b/ink_storage_traits/struct.ManualKey.html @@ -1,4 +1,4 @@ -ManualKey in ink_storage_traits - Rust
pub struct ManualKey<const KEY: Key, ParentKey: StorageKey = ()>(/* private fields */);
Expand description

Manual key type specifies the storage key.

+ManualKey in ink_storage_traits - Rust
pub struct ManualKey<const KEY: Key, ParentKey: StorageKey = ()>(/* private fields */);
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>>>, <T as StorableHint<ParentKey>>::PreferredKey: KeyType, @@ -11,93 +11,15 @@ ParentKey: StorageKey + TypeInfo + 'static,

§

type Identity = ManualKey<KEY, ParentKey>

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl<const KEY: Key, ParentKey: Copy + StorageKey> Copy for ManualKey<KEY, ParentKey>

source§

impl<const KEY: Key, ParentKey: Eq + StorageKey> Eq for ManualKey<KEY, ParentKey>

source§

impl<const KEY: Key, ParentKey: StorageKey> StructuralEq for ManualKey<KEY, ParentKey>

source§

impl<const KEY: Key, ParentKey: StorageKey> StructuralPartialEq for ManualKey<KEY, ParentKey>

Auto Trait Implementations§

§

impl<const KEY: u32, ParentKey> RefUnwindSafe for ManualKey<KEY, ParentKey>

§

impl<const KEY: u32, ParentKey> Send for ManualKey<KEY, ParentKey>

§

impl<const KEY: u32, ParentKey> Sync for ManualKey<KEY, ParentKey>

§

impl<const KEY: u32, ParentKey> Unpin for ManualKey<KEY, ParentKey>

§

impl<const KEY: u32, ParentKey> UnwindSafe for ManualKey<KEY, ParentKey>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/ink_storage_traits/struct.ResolverKey.html b/ink_storage_traits/struct.ResolverKey.html index e8711c2a3b..1242d07df2 100644 --- a/ink_storage_traits/struct.ResolverKey.html +++ b/ink_storage_traits/struct.ResolverKey.html @@ -1,4 +1,4 @@ -ResolverKey in ink_storage_traits - Rust
pub struct ResolverKey<L, R>(/* private fields */);
Expand description

Resolver key type selects between preferred key and autogenerated key. +ResolverKey in ink_storage_traits - Rust

pub struct ResolverKey<L, R>(/* private fields */);
Expand description

Resolver key type selects between preferred key and autogenerated key. If the L type is AutoKey it returns auto-generated R else L.

Trait Implementations§

source§

impl<L: Clone, R: Clone> Clone for ResolverKey<L, R>

source§

fn clone(&self) -> ResolverKey<L, R>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<L: Debug, R: Debug> Debug for ResolverKey<L, R>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<L: Default, R: Default> Default for ResolverKey<L, R>

source§

fn default() -> ResolverKey<L, R>

Returns the “default value” for a type. Read more
source§

impl<L: PartialEq, R: PartialEq> PartialEq for ResolverKey<L, R>

source§

fn eq(&self, other: &ResolverKey<L, R>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always @@ -14,93 +14,15 @@ R: TypeInfo + 'static,
§

type Identity = ResolverKey<L, R>

The type identifying for which type info is provided. Read more
source§

fn type_info() -> Type

Returns the static type identifier for Self.
source§

impl<L: Copy, R: Copy> Copy for ResolverKey<L, R>

source§

impl<L: Eq, R: Eq> Eq for ResolverKey<L, R>

source§

impl<L, R> StructuralEq for ResolverKey<L, R>

source§

impl<L, R> StructuralPartialEq for ResolverKey<L, R>

Auto Trait Implementations§

§

impl<L, R> RefUnwindSafe for ResolverKey<L, R>

§

impl<L, R> Send for ResolverKey<L, R>

§

impl<L, R> Sync for ResolverKey<L, R>

§

impl<L, R> Unpin for ResolverKey<L, R>

§

impl<L, R> UnwindSafe for ResolverKey<L, R>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> Twhere - Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for Twhere - T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>where - Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>where - Self: Display,

Causes self to use its Display implementation when -Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>where - Self: LowerExp,

Causes self to use its LowerExp implementation when -Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>where - Self: LowerHex,

Causes self to use its LowerHex implementation when -Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>where - Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>where - Self: Pointer,

Causes self to use its Pointer implementation when -Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>where - Self: UpperExp,

Causes self to use its UpperExp implementation when -Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>where - Self: UpperHex,

Causes self to use its UpperHex implementation when -Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>where - &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: ?Sized,
source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere + T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> Pipe for Twhere - T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere - Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere - R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere - R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> Rwhere - Self: Borrow<B>, - B: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( - &'a mut self, - func: impl FnOnce(&'a mut B) -> R -) -> Rwhere - Self: BorrowMut<B>, - B: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe -function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> Rwhere - Self: AsRef<U>, - U: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> Rwhere - Self: AsMut<U>, - U: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe -function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> Rwhere - Self: Deref<Target = T>, - T: 'a + ?Sized, - R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( - &'a mut self, - func: impl FnOnce(&'a mut T) -> R -) -> Rwhere - Self: DerefMut<Target = T> + Deref, - T: 'a + ?Sized, - R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe -function.
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Selfwhere - Self: Borrow<B>, - B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release -builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Selfwhere - Self: BorrowMut<B>, - B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release -builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Selfwhere - Self: AsRef<R>, - R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release -builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Selfwhere - Self: AsMut<R>, - R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release -builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Selfwhere - Self: Deref<Target = T>, - T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release -builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Selfwhere - Self: DerefMut<Target = T> + Deref, - T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release -builds.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>where - Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for Twhere +

source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> StaticTypeInfo for Twhere - T: TypeInfo + 'static,

\ No newline at end of file + T: TypeInfo + 'static,
§

impl<T> TypeId for Twhere + T: Debug + Default,

\ No newline at end of file diff --git a/search-index.js b/search-index.js index dfedc355cb..87b3a989bd 100644 --- a/search-index.js +++ b/search-index.js @@ -1,17 +1,17 @@ var searchIndex = JSON.parse('{\ -"ink":{"doc":"","t":"IGNDNNYYRQCEGNNIQIDLLLLOLLLLLLLLLLLXLLLLLAOXOLLLLLLLLLLLLCLXLLLLLLLLLKLLLLLLLLLLCLLCCACXCOOLLLAXLXKLLLXLLLLLLLLLLLLLLLLLQIDDIQQQQIIIIIDDQLLLLLLLLKKKKFKKKKLLLLLLLLLLLLLLLLLLLLALLLLDLLFLLLLLLLSSIDIIINIEIIQQISSSSQQNNSSSSSQQSSSSNSSSQQDIIQQNLKLLLLLLLLLLKLKLLLLLLLLLLLLLLLLLLLLLLLDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLDISDIQDIYIYIYIYQQLLLLLLLLLLLLLLLKFLLLKKLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLL","n":["ChainExtensionInstance","ConstructorResult","CouldNotReadInput","EnvAccess","Err","Err","Event","EventMetadata","IIP2_WILDCARD_COMPLEMENT_SELECTOR","Instance","IsResultType","LangError","MessageResult","Ok","Ok","Output","ReturnType","ToAccountId","ValueReturned","__clone_box","__clone_box","account_id","balance","blake2x256","block_number","block_timestamp","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call_runtime","caller","caller_is_origin","chain_extension","clone","clone","clone_into","clone_into","code_hash","codegen","combine_extensions","contract","contract_ref","decode","decode","decode_all","decode_all_with_depth_limit","decode_with_depth_limit","default","ecdsa_recover","ecdsa_to_eth_address","emit_event","encode","encode_to","encoded_size","env","eq","event","extension","fmt","fmt","from","from","from","gas_left","hash_bytes","hash_encoded","instantiate","instantiate_contract","instantiate_contract_v1","into","into","into","invoke_contract","invoke_contract_delegate","invoke_contract_v1","is_contract","lock_delegate_dependency","metadata","minimum_balance","own_code_hash","prelude","primitives","reflect","scale","scale_derive","scale_info","selector_bytes","selector_id","set_code_hash","size_hint","sr25519_verify","storage","storage_item","terminate_contract","test","to_account_id","to_keyed_vec","to_owned","to_owned","trait_definition","transfer","transferred_value","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_info","unlock_delegate_dependency","vzip","vzip","vzip","weight_to_fee","Builder","ContractCallBuilder","DispatchInput","DispatchOutput","Env","EnvAccess","EnvAccess","Forwarder","Forwarder","ImpliesReturn","StaticEnv","TraitCallBuilder","TraitCallForwarder","TraitCallForwarderFor","TraitMessagePayable","TraitMessageSelector","Type","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build_mut","call","call_mut","deny_payment","env","env","forward","forward_mut","from","from","from","from","into","into","into","into","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","utils","vzip","vzip","vzip","vzip","IsSameType","borrow","borrow_mut","consume_type","from","into","new","try_from","try_into","type_id","vzip","CALLABLE","CALLABLE","ConstructorOutput","ConstructorOutputValue","ContractConstructorDecoder","ContractMessageDecoder","ContractName","CouldNotReadInput","DecodeDispatch","DispatchError","DispatchableConstructorInfo","DispatchableMessageInfo","Error","Error","ExecuteDispatchable","ID","IS_RESULT","IS_RESULT","IS_RESULT","Input","Input","InvalidParameters","InvalidSelector","LABEL","LABEL","MUTATES","NAME","NAME","Output","Output","PATH","PAYABLE","PAYABLE","PAYABLE","PaidUnpayableMessage","SELECTOR","SELECTOR","SELECTOR","Storage","Storage","TraitDefinitionRegistry","TraitInfo","TraitMessageInfo","Type","Type","UnknownSelector","__clone_box","as_result","as_result","as_result","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","decode_dispatch","eq","execute_dispatchable","fmt","fmt","from","from","from","into","into","into","new","to_owned","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Lazy","Mapping","StorageVec","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clear","clear_at","contains","decode","decode","decode","default","default","default","encode","encode","encode","encoded_size","encoded_size","encoded_size","fmt","fmt","fmt","from","from","from","from_iter","get","get","get","get_or_default","insert","into","into","into","is_empty","layout","layout","layout","len","new","new","new","peek","pop","push","remove","set","set","size","take","traits","try_from","try_from","try_from","try_get","try_get","try_get","try_insert","try_into","try_into","try_into","try_peek","try_pop","try_push","try_set","try_set","try_take","type_id","type_id","type_id","type_info","type_info","type_info","vzip","vzip","vzip","AutoKey","AutoStorableHint","KEY","ManualKey","Packed","PreferredKey","ResolverKey","Storable","Storable","StorableHint","StorableHint","StorageKey","StorageKey","StorageLayout","StorageLayout","Type","Type","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","decode","decode_all","default","default","default","encode","encoded_size","eq","eq","eq","fmt","fmt","fmt","from","from","from","into","into","into","key","layout","partial_cmp","partial_cmp","partial_cmp","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_info","type_info","type_info","vzip","vzip","vzip"],"q":[[0,"ink"],[120,"ink::codegen"],[179,"ink::codegen::utils"],[190,"ink::reflect"],[274,"ink::storage"],[355,"ink::storage::traits"],[429,"dyn_clone::sealed"],[430,"ink_env::types"],[431,"ink_env::error"],[432,"parity_scale_codec::codec"],[433,"core::clone"],[434,"parity_scale_codec::error"],[435,"core::result"],[436,"parity_scale_codec::codec"],[437,"parity_scale_codec::codec"],[438,"core::fmt"],[439,"core::fmt"],[440,"ink_env::call::create_builder"],[441,"ink_env::call::create_builder"],[442,"ink_env::call::call_builder"],[443,"core::any"],[444,"scale_info::ty"],[445,"alloc::string"],[446,"parity_scale_codec::encode_like"],[447,"core::iter::traits::collect"],[448,"core::option"],[449,"core::default"],[450,"ink_metadata::layout"],[451,"ink_env::error"],[452,"core::fmt"]],"d":["Trait implemented by chain extensions.","The Result type for ink! constructors.","Failed to read execution input for the dispatchable.","The API behind the self.env() and Self::env() syntax in …","Contains the error value","Contains the error value","Derives an implementation of the [ink::Event] trait for …","Derives the [ink::EventMetadata] trait for the given struct…","A well know selector reserved for the message required to …","The type of the chain extension instance.","","An error emitted by the smart contracting language.","The Result type for ink! messages.","Contains the success value","Contains the success value","Only implemented for ValueReturned.","","Implemented by contracts that are compiled as dependencies.","Represents some abstract value that is returned by a …","","","Returns the account ID of the executed contract.","Returns the balance of the executed contract.","Computes and expands into the BLAKE2b 256-bit hash of the …","Returns the current block number.","Returns the timestamp of the current block.","","","","","","","","Returns the address of the caller of the executed contract.","Checks whether the caller of the current contract is the …","Defines the interface for a chain extension.","","","","","Returns the code hash of the contract at the given account …","Definitions and facilities mainly used by the ink! codegen.","Macro defines the combined chain extension via structure …","Entry point for writing ink! smart contracts.","Generates a wrapper which can be used for interacting with …","","","","","","","Recovers the compressed ECDSA public key for given …","Returns an Ethereum address from the ECDSA compressed …","Emits an event.","","","","","","Implements the necessary traits for a struct to be emitted …","Allows to call one of the available defined chain …","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the amount of gas left for the contract execution.","Computes the hash of the given bytes using the …","Computes the hash of the given SCALE encoded value using …","Creates a new instance of the chain extension to use …","Instantiates another contract using the supplied code hash.","Instantiates another contract using the supplied code hash.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invokes a contract message and returns its result.","Invokes in delegate manner a code message and returns its …","Invokes a contract message and returns its result.","Checks whether a specified account belongs to a contract.","Adds a new delegate dependency lock for the given code_hash…","","Returns the minimum balance that is required for creating …","Returns the code hash of the contract at the given account …","","","Definitions and utilities for ink! smart contract static …","","Derive the re-exported traits ink::scale::Encode, …","","Computes the ink! selector of the string and expands into …","Computes the ink! selector of the string and expands into …","Replace the contract code at the specified address with …","","Verifies a SR25519 signature against a message and a …","","Prepares the type to be fully compatible and usable with …","Terminates the existence of a contract.","Defines a unit test that makes use of ink!’s off-chain …","Returns the underlying account identifier of the …","","","","Marks trait definitions to ink! as special ink! trait …","Transfers value from the contract to the destination …","Returns the transferred value for the contract execution.","","","","","","","","","","","Removes the delegate dependency lock from this contract …","","","","Returns the price for the specified amount of gas.","The call builder type.","Used to refer to the generated contract call builder.","Used to check if T is allowed as ink! input parameter type.","Used to check if T is allowed as ink! output parameter …","Simplifies interaction with the host environment via self.","The access wrapper.","The access wrapper.","The call forwarder type.","","Trait used as bound for the outputs of ink! trait …","Simplifies interaction with the host environment via Self.","The global call builder type for an ink! trait definition.","Implemented by the global trait info provider.","Implemented by call builders of smart contracts.","Used as payable property guard for ink! trait messages.","Used as selector property guard for ink! trait messages.","The generated contract call builder type.","","","","","","","","","Builds up the &self call.","Builds up the &mut self call.","Returns a shared reference to the global call builder type.","Returns an exclusive reference to the global call builder …","Returns Ok if the caller did not transfer additional value …","Accesses the host environment with self.env() syntax.","Accesses the host environment with Self::env() syntax.","Forwards the &self call.","Forwards the &mut self call.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","Utility types and definitions used by the ink! codegen.","","","","","Can be used to check equality of types.","","","Takes a generic type as input and just consumes it while …","Returns the argument unchanged.","Calls U::from(self).","Creates a new const instance.","","","","","The closure that can be used to dispatch into the …","The closure that can be used to dispatch into the …","Guards against using invalid contract initializer types.","Stores the actual value of the constructor return type.","Generated type used to decode all dispatchable ink! …","Generated type used to decode all dispatchable ink! …","Stores the name of the ink! smart contract.","Failed to read execution input for the dispatchable.","Decodes an ink! dispatch input into a known selector and …","An error that can occur during dispatch of ink! …","Stores various information of the respective dispatchable …","Stores various information of the respective dispatchable …","The type of the error returned from the constructor. …","The error type of the constructor return type.","Starts the execution of the respective ink! message or …","The unique id of the ink! trait definition.","True if the constructor returns a Result.","Is true if Self is Result<C, E>.","Is true if Self is Result<C, E>.","Reflects the input types of the dispatchable ink! message.","Reflects the input types of the dispatchable ink! …","Failed to decode the parameters for the selected …","Failed to decode into a valid dispatch selector.","The label of the dispatchable ink! message.","The label of the dispatchable ink! constructor.","Yields true if the dispatchable ink! message mutates the …","The name of the ink! smart contract.","The name of the ink! trait.","Reflects the output type of the dispatchable ink! message.","Reflects the output type of the dispatchable ink! …","The module path of the ink! trait definition.","Yields true if the dispatchable ink! message is payable.","Yields true if the dispatchable ink! constructor is …","Is true if the ink! trait message has been annotated with …","Invalidly paid an unpayable dispatchable.","The selectors of the dispatchable ink! message.","The selectors of the dispatchable ink! constructor.","The unique selector of the ink! trait message.","The ink! storage struct type.","The ink! storage struct type.","Type that is guaranteed by ink! to implement all ink! …","Captures info about an ink! trait definition.","Stores information for every ink! trait message of an ink! …","The ink! smart contract message decoder type.","The ink! smart contract constructor decoder type.","The decoded selector is not known to the dispatch decoder.","","Converts the return value into a Result instance.","","","","","","","","","","","","","Executes the ink! smart contract message or constructor.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","A simple wrapper around a type to store it in a separate …","A mapping of key-value pairs directly into contract …","A vector of values (elements) directly on contract storage.","","","","","","","Delete all elements from storage.","Clears the value of the element at index. It doesn’t …","Checks if a value is stored at the given key in the …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Get the value at key from the contract storage.","Access an element at given index.","Reads the value from the contract storage, if it exists.","Reads the value from the contract storage.","Insert the given value to the contract storage.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns true if the vector contains no elements.","","","","Returns the number of elements in the vector, also …","Creates a new empty Mapping.","Creates a new empty StorageVec.","Creates a new empty Lazy.","Get a copy of the last element without removing it from …","Clears the last element from the storage and returns it. …","Appends an element to the back of the vector.","Clears the value at key from storage.","Set the value at given index.","Writes the given value to the contract storage.","Get the size in bytes of a value stored at key in the …","Removes the value at key, returning the previous value at …","","","","","Try to get the value at the given key.","Try to access an element at given index.","Try to read the value from the contract storage.","Try to insert the given value into the mapping under given …","","","","Try to get a copy of the last element without removing it …","Try to clear and return the last element from storage. …","Try to append an element to the back of the vector.","Try to set the value at given index.","Try to set the given value to the contract storage.","Try to take the value at the given key. On success, this …","","","","","","","","","","Auto key type means that the storage key should be …","Automatically returns the type that should be used for …","Storage key of the type.","Manual key type specifies the storage key.","Trait for describing types that can be read and written to …","The storage key that the type prefers. It can be …","Resolver key type selects between preferred key and …","Trait for representing types which can be read and written …","Derives ink::storage’s Storable trait for the given …","Describes the type that should be used for storing the …","Derives ink::storage’s StorableHint trait for the given …","Holds storage key for the type.","Derives ink::storage’s StorageKey trait for the given …","Implemented by types that have a storage layout.","Derives ink::storage’s StorageLayout trait for the given …","Storable type with storage key inside.","Storable type with storage key inside.","","","","","","","","","","","","","","","","Attempt to deserialize the value from input.","Decode and consume all of the given input data.","","","","Convert self to a slice and append it to the destination.","The exact number of bytes this type consumes in the …","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the storage key.","Returns the static storage layout of Self.","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,8,0,34,27,0,0,0,65,0,0,0,34,27,0,66,0,0,8,3,3,3,0,3,3,8,67,3,8,67,3,3,3,3,0,8,3,8,3,3,0,0,0,0,8,8,8,8,8,3,3,3,3,8,8,8,0,8,0,3,8,3,8,67,3,3,3,3,65,3,3,8,67,3,3,3,3,3,3,0,3,3,0,0,0,0,0,0,0,0,3,8,3,0,0,3,0,68,8,8,3,0,3,3,8,67,3,8,67,3,8,67,3,8,3,8,67,3,3,69,0,0,0,0,70,71,72,73,0,0,0,0,0,0,0,74,75,76,77,78,75,76,77,78,73,73,69,69,0,70,71,73,73,75,76,77,78,75,76,77,78,75,76,77,78,75,76,77,78,75,76,77,78,0,75,76,77,78,0,43,43,0,43,43,43,43,43,43,43,79,80,0,0,0,0,0,42,0,0,0,0,80,81,0,82,80,81,81,79,80,42,42,79,80,79,83,82,79,80,82,79,80,84,42,79,80,84,79,80,0,0,0,85,86,42,42,81,44,44,44,87,42,44,87,42,42,42,88,42,89,42,42,44,87,42,44,87,42,44,42,42,44,87,42,44,87,42,44,87,42,44,87,42,0,0,0,49,46,51,49,46,51,46,46,49,49,46,51,49,46,51,49,46,51,49,46,51,49,46,51,49,46,51,46,49,46,51,51,49,49,46,51,46,49,46,51,46,49,46,51,46,46,46,49,46,51,49,49,0,49,46,51,49,46,51,49,49,46,51,46,46,46,46,51,49,49,46,51,49,46,51,49,46,51,0,0,48,0,0,90,0,0,0,0,0,0,0,0,0,90,91,58,59,60,58,59,60,58,59,60,58,59,60,58,59,60,54,0,58,59,60,54,54,58,59,60,58,59,60,58,59,60,58,59,60,48,92,58,59,60,58,59,60,58,59,60,58,59,60,58,59,60,58,59,60,58,59,60],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[[3,[-1]]],[],4],[[[3,[-1]]],[],4],0,[[[3,[-1]]],[],4],[[[3,[-1]]],[],4],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[3,[-1]],-2],[[5,[2]]],4,6],[[[3,[-1]]],[],4],[[[3,[-1]]],7,4],0,[8,8],[[[3,[-1]]],[[3,[-1]]],9],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[3,[-1]]],5,4],0,0,0,0,[-1,[[11,[-2,10]]],12,[]],[-1,[[11,[8,10]]],12],[[[14,[13]]],[[11,[-1,10]]],[]],[[15,[14,[13]]],[[11,[-1,10]]],[]],[[15,-1],[[11,[-2,10]]],12,[]],[[],[[3,[-1]]],[]],[[[3,[-1]],[16,[13]],[16,[13]]],[[5,[[16,[13]]]]],4],[[[3,[-1]],[16,[13]]],[[5,[[16,[13]]]]],4],[[[3,[-1]],-2],2,4,17],[[-1,-2],2,[],[18,19]],[[8,-1],2,[18,19]],[-1,20,[]],0,[[8,8],7],0,[[[3,[-1]]],[],4],[[8,21],[[11,[2,22]]]],[[[3,[-1]],21],23,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[3,[-1]]],24,4],[[[3,[-1]],[14,[13]]],[],4],[[[3,[-1]],-2],[],4,6],[[]],[[[3,[-1]],[26,[-1,-2,[25,[-1]],-3,-4,-5]]],[[5,[27]]],4,[[28,[-1]]],6,[[29,[[14,[13]]]]],[[30,[-2]]]],[[[3,[-1]],[26,[-1,-2,31,-3,-4,-5]]],[[5,[27]]],4,[[28,[-1]]],6,[[29,[[14,[13]]]]],[[30,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[3,[-1]],[33,[-1,[32,[-1]],-2,-3]]],[[5,[[34,[-3]]]]],4,6,35],[[[3,[-1]],[33,[-1,[36,[-1]],-2,-3]]],[[5,[[34,[-3]]]]],4,6,35],[[[3,[-1]],[33,[-1,[37,[-1]],-2,-3]]],[[5,[[34,[-3]]]]],4,6,35],[[[3,[-1]]],7,4],[[[3,[-1]]],2,4],0,[[[3,[-1]]],[],4],[[[3,[-1]]],5,4],0,0,0,0,0,0,0,0,[[[3,[-1]]],[[5,[2]]],4],[8,20],[[[3,[-1]],[16,[13]],[14,[13]],[16,[13]]],[[5,[2]]],4],0,0,[[[3,[-1]]],38,4],0,[-1,[],[]],[[-1,[14,[13]]],[[39,[13]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[[3,[-1]]],[[5,[2]]],4],[[[3,[-1]]],[],4],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[[],41],[[[3,[-1]]],2,4],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[3,[-1]],24],[],4],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[],[]],[-1,[],[]],[-1,[],[]],[-1,[],[]],[[],[[11,[2,42]]]],[-1,[],[]],[[]],[-1,[],[]],[-1,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[],2],[-1,-1,[]],[-1,-2,[],[]],[[],[[43,[-1]]],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[-1,[[11,[-2]]],[],[]],[[[44,[[11,[-1,-2]]]]],[[11,[-1]]],[],[]],[[[44,[-1]]],[[11,[-1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[42,42],[[-1,-2],2,[],[]],[-1,[[11,[-2,42]]],12,[]],[[42,42],7],[-1,[[11,[2,42]]],[]],[[42,21],23],[[42,21],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[44,[-1]]],[]],[-1,-2,[],[]],[-1,45,[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[46,[-1,-2]]],2,47,48],[[[46,[-1,-2]],15],2,47,48],[[[49,[-1,-2,-3]],-4],7,6,47,48,[[50,[-1]]]],[-1,[[11,[[49,[-2,-3,-4]],10]]],12,[],47,48],[-1,[[11,[[46,[-2,-3]],10]]],12,47,48],[-1,[[11,[[51,[-2,-3]],10]]],12,[],48],[[],[[49,[-1,-2,-3]]],[],47,48],[[],[[46,[-1,-2]]],47,48],[[],[[51,[-1,-2]]],[],48],[[[49,[-1,-2,-3]],-4],2,[],47,48,[18,19]],[[[46,[-1,-2]],-3],2,47,48,[18,19]],[[[51,[-1,-2]],-3],2,[],48,[18,19]],[[[49,[-1,-2,-3]]],20,[],47,48],[[[46,[-1,-2]]],20,47,48],[[[51,[-1,-2]]],20,[],48],[[[49,[-1,-2,-3]],21],[[11,[2,22]]],[],47,48],[[[46,[-1,-2]],21],[[11,[2,22]]],47,48],[[[51,[-1,-2]],21],[[11,[2,22]]],[],48],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,[[46,[-2,-3]]],52,[47,50],48],[[[49,[-1,-2,-3]],-4],[[53,[-2]]],6,47,48,[[50,[-1]]]],[[[46,[-1,-2]],15],[[53,[-1]]],47,48],[[[51,[-1,-2]]],[[53,[-1]]],54,48],[[[51,[-1,-2]]],-1,[54,55],48],[[[49,[-1,-2,-3]],-4,-5],[[53,[15]]],6,47,48,[[50,[-1]]],[54,[50,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[46,[-1,-2]]],7,47,48],[15,56],[15,56],[15,56],[[[46,[-1,-2]]],15,47,48],[[],[[49,[-1,-2,-3]]],[],47,48],[[],[[46,[-1,-2]]],47,48],[[],[[51,[-1,-2]]],[],48],[[[46,[-1,-2]]],[[53,[-1]]],47,48],[[[46,[-1,-2]]],[[53,[-1]]],47,48],[[[46,[-1,-2]],-3],2,47,48,[54,[50,[-1]]]],[[[49,[-1,-2,-3]],-4],2,6,47,48,[[50,[-1]]]],[[[46,[-1,-2]],15,-3],[[53,[15]]],47,48,[54,[50,[-1]]]],[[[51,[-1,-2]],-1],2,54,48],[[[49,[-1,-2,-3]],-4],[[53,[15]]],6,47,48,[[50,[-1]]]],[[[49,[-1,-2,-3]],-4],[[53,[-2]]],6,47,48,[[50,[-1]]]],0,[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[[[49,[-1,-2,-3]],-4],[[53,[[11,[-2,57]]]]],6,47,48,[[50,[-1]]]],[[[46,[-1,-2]],15],[[53,[[11,[-1,57]]]]],47,48],[[[51,[-1,-2]]],[[53,[[11,[-1,57]]]]],54,48],[[[49,[-1,-2,-3]],-4,-5],[[11,[[53,[15]],57]]],6,47,48,[[50,[-1]]],[54,[50,[-2]]]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[[[46,[-1,-2]]],[[53,[[11,[-1,57]]]]],47,48],[[[46,[-1,-2]]],[[53,[[11,[-1,57]]]]],47,48],[[[46,[-1,-2]],-3],[[11,[2,57]]],47,48,[54,[50,[-1]]]],[[[46,[-1,-2]],15,-3],[[11,[[53,[15]],57]]],47,48,[54,[50,[-1]]]],[[[51,[-1,-2]],-1],[[11,[2,57]]],54,48],[[[49,[-1,-2,-3]],-4],[[53,[[11,[-2,57]]]]],6,47,48,[[50,[-1]]]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[[],41],[[],41],[[],41],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[58,58],[[[59,[-1]]],[[59,[-1]]],[9,48]],[[[60,[-1,-2]]],[[60,[-1,-2]]],9,9],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[-1,[[11,[-2,10]]],12,[]],[[[14,[13]]],[[11,[-1,10]]],54],[[],58],[[],[[59,[-1]]],[55,48]],[[],[[60,[-1,-2]]],55,55],[[-1,-2],2,[],[18,19]],[-1,20,[]],[[58,58],7],[[[59,[-1]],[59,[-1]]],7,[61,48]],[[[60,[-1,-2]],[60,[-1,-2]]],7,61,61],[[58,21],[[11,[2,22]]]],[[[59,[-1]],21],[[11,[2,22]]],48],[[[60,[-1,-2]],21],[[11,[2,22]]],62,62],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,15,[]],[15,56],[[58,58],[[53,[63]]]],[[[59,[-1]],[59,[-1]]],[[53,[63]]],[64,48]],[[[60,[-1,-2]],[60,[-1,-2]]],[[53,[63]]],64,64],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[[],41],[[],41],[[],41],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Private",429],[15,"tuple"],[3,"EnvAccess",0],[8,"Environment",430],[6,"Result",431],[8,"Encode",432],[15,"bool"],[4,"LangError",0],[8,"Clone",433],[3,"Error",434],[4,"Result",435],[8,"Input",432],[15,"u8"],[15,"slice"],[15,"u32"],[15,"array"],[8,"Event",436],[8,"Output",432],[8,"Sized",437],[15,"usize"],[3,"Formatter",438],[3,"Error",438],[6,"Result",438],[15,"u64"],[3,"LimitParamsV2",439],[3,"CreateParams",439],[6,"ConstructorResult",0],[8,"FromAccountId",439],[8,"AsRef",440],[8,"ConstructorReturnType",439],[3,"LimitParamsV1",439],[3,"Call",441],[3,"CallParams",441],[6,"MessageResult",0],[8,"Decode",432],[3,"DelegateCall",441],[3,"CallV1",441],[15,"never"],[3,"Vec",442],[3,"TypeId",443],[3,"Type",444],[4,"DispatchError",190],[3,"IsSameType",179],[3,"ConstructorOutputValue",190],[3,"String",445],[3,"StorageVec",274],[8,"Packed",355],[8,"StorageKey",355],[3,"Mapping",274],[8,"EncodeLike",446],[3,"Lazy",274],[8,"IntoIterator",447],[4,"Option",448],[8,"Storable",355],[8,"Default",449],[4,"Layout",450],[4,"Error",431],[3,"AutoKey",355],[3,"ManualKey",355],[3,"ResolverKey",355],[8,"PartialEq",451],[8,"Debug",438],[4,"Ordering",451],[8,"PartialOrd",451],[8,"ChainExtensionInstance",0],[8,"Output",0],[3,"ValueReturned",0],[8,"ToAccountId",0],[8,"TraitCallBuilder",120],[8,"Env",120],[8,"StaticEnv",120],[8,"TraitCallForwarder",120],[8,"TraitCallForwarderFor",120],[8,"ContractCallBuilder",120],[3,"DispatchInput",120],[3,"DispatchOutput",120],[3,"TraitMessagePayable",120],[3,"TraitMessageSelector",120],[8,"DispatchableMessageInfo",190],[8,"DispatchableConstructorInfo",190],[8,"ConstructorOutput",190],[8,"TraitInfo",190],[8,"ContractName",190],[8,"TraitMessageInfo",190],[8,"ContractMessageDecoder",190],[8,"ContractConstructorDecoder",190],[3,"TraitDefinitionRegistry",190],[8,"DecodeDispatch",190],[8,"ExecuteDispatchable",190],[8,"StorableHint",355],[8,"AutoStorableHint",355],[8,"StorageLayout",355]],"b":[[238,"impl-ConstructorOutput%3CC%3E-for-ConstructorOutputValue%3CResult%3CC,+E%3E%3E"],[239,"impl-ConstructorOutput%3CC%3E-for-ConstructorOutputValue%3CC%3E"],[251,"impl-Display-for-DispatchError"],[252,"impl-Debug-for-DispatchError"]]},\ +"ink":{"doc":"","t":"IGNDNNYYRQCEGNNIQIDLLLLOLLLLLLLLLLLXLLLLLAOXOLLLLLLLLLLLLCLXLLLLLLLLLKLLLLLLLLLLCLLCCACXCOOLLLAXLXKLLLXLLLLLLLLLLLLLLLLLQIDDIQQQQIIIIIDDQLLLLLLLLKKKKFKKKKLLLLLLLLLLLLLLLLLLLLALLLLDLLFLLLLLLLSSIDIIINIEIIQQISSSSQQNNSSSSSQQSSSSNSSSQQDIIQQNLKLLLLLLLLLLKLKLLLLLLLLLLLLLLLLLLLLLLLDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLDISDIQDIYIYIYIYQQLLLLLLLLLLLLLLLKFLLLKKLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLL","n":["ChainExtensionInstance","ConstructorResult","CouldNotReadInput","EnvAccess","Err","Err","Event","EventMetadata","IIP2_WILDCARD_COMPLEMENT_SELECTOR","Instance","IsResultType","LangError","MessageResult","Ok","Ok","Output","ReturnType","ToAccountId","ValueReturned","__clone_box","__clone_box","account_id","balance","blake2x256","block_number","block_timestamp","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call_runtime","caller","caller_is_origin","chain_extension","clone","clone","clone_into","clone_into","code_hash","codegen","combine_extensions","contract","contract_ref","decode","decode","decode_all","decode_all_with_depth_limit","decode_with_depth_limit","default","ecdsa_recover","ecdsa_to_eth_address","emit_event","encode","encode_to","encoded_size","env","eq","event","extension","fmt","fmt","from","from","from","gas_left","hash_bytes","hash_encoded","instantiate","instantiate_contract","instantiate_contract_v1","into","into","into","invoke_contract","invoke_contract_delegate","invoke_contract_v1","is_contract","lock_delegate_dependency","metadata","minimum_balance","own_code_hash","prelude","primitives","reflect","scale","scale_derive","scale_info","selector_bytes","selector_id","set_code_hash","size_hint","sr25519_verify","storage","storage_item","terminate_contract","test","to_account_id","to_keyed_vec","to_owned","to_owned","trait_definition","transfer","transferred_value","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_info","unlock_delegate_dependency","vzip","vzip","vzip","weight_to_fee","Builder","ContractCallBuilder","DispatchInput","DispatchOutput","Env","EnvAccess","EnvAccess","Forwarder","Forwarder","ImpliesReturn","StaticEnv","TraitCallBuilder","TraitCallForwarder","TraitCallForwarderFor","TraitMessagePayable","TraitMessageSelector","Type","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build_mut","call","call_mut","deny_payment","env","env","forward","forward_mut","from","from","from","from","into","into","into","into","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","utils","vzip","vzip","vzip","vzip","IsSameType","borrow","borrow_mut","consume_type","from","into","new","try_from","try_into","type_id","vzip","CALLABLE","CALLABLE","ConstructorOutput","ConstructorOutputValue","ContractConstructorDecoder","ContractMessageDecoder","ContractName","CouldNotReadInput","DecodeDispatch","DispatchError","DispatchableConstructorInfo","DispatchableMessageInfo","Error","Error","ExecuteDispatchable","ID","IS_RESULT","IS_RESULT","IS_RESULT","Input","Input","InvalidParameters","InvalidSelector","LABEL","LABEL","MUTATES","NAME","NAME","Output","Output","PATH","PAYABLE","PAYABLE","PAYABLE","PaidUnpayableMessage","SELECTOR","SELECTOR","SELECTOR","Storage","Storage","TraitDefinitionRegistry","TraitInfo","TraitMessageInfo","Type","Type","UnknownSelector","__clone_box","as_result","as_result","as_result","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","decode_dispatch","eq","execute_dispatchable","fmt","fmt","from","from","from","into","into","into","new","to_owned","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip","Lazy","Mapping","StorageVec","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clear","clear_at","contains","decode","decode","decode","default","default","default","encode","encode","encode","encoded_size","encoded_size","encoded_size","fmt","fmt","fmt","from","from","from","from_iter","get","get","get","get_or_default","insert","into","into","into","is_empty","layout","layout","layout","len","new","new","new","peek","pop","push","remove","set","set","size","take","traits","try_from","try_from","try_from","try_get","try_get","try_get","try_insert","try_into","try_into","try_into","try_peek","try_pop","try_push","try_set","try_set","try_take","type_id","type_id","type_id","type_info","type_info","type_info","vzip","vzip","vzip","AutoKey","AutoStorableHint","KEY","ManualKey","Packed","PreferredKey","ResolverKey","Storable","Storable","StorableHint","StorableHint","StorageKey","StorageKey","StorageLayout","StorageLayout","Type","Type","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","decode","decode_all","default","default","default","encode","encoded_size","eq","eq","eq","fmt","fmt","fmt","from","from","from","into","into","into","key","layout","partial_cmp","partial_cmp","partial_cmp","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_info","type_info","type_info","vzip","vzip","vzip"],"q":[[0,"ink"],[120,"ink::codegen"],[179,"ink::codegen::utils"],[190,"ink::reflect"],[274,"ink::storage"],[355,"ink::storage::traits"],[429,"dyn_clone::sealed"],[430,"ink_env::types"],[431,"ink_env::error"],[432,"parity_scale_codec::codec"],[433,"core::clone"],[434,"parity_scale_codec::error"],[435,"core::result"],[436,"parity_scale_codec::codec"],[437,"parity_scale_codec::codec"],[438,"core::fmt"],[439,"core::fmt"],[440,"ink_env::call::create_builder"],[441,"ink_env::call::create_builder"],[442,"ink_env::call::call_builder"],[443,"core::any"],[444,"scale_info::ty"],[445,"alloc::string"],[446,"parity_scale_codec::encode_like"],[447,"core::iter::traits::collect"],[448,"core::option"],[449,"core::default"],[450,"ink_metadata::layout"],[451,"ink_env::error"],[452,"core::fmt"]],"d":["Trait implemented by chain extensions.","The Result type for ink! constructors.","Failed to read execution input for the dispatchable.","The API behind the self.env() and Self::env() syntax in …","Contains the error value","Contains the error value","Derives an implementation of the [ink::Event] trait for …","Derives the [ink::EventMetadata] trait for the given struct…","A well know selector reserved for the message required to …","The type of the chain extension instance.","","An error emitted by the smart contracting language.","The Result type for ink! messages.","Contains the success value","Contains the success value","Only implemented for ValueReturned.","","Implemented by contracts that are compiled as dependencies.","Represents some abstract value that is returned by a …","","","Returns the account ID of the executed contract.","Returns the balance of the executed contract.","Computes and expands into the BLAKE2b 256-bit hash of the …","Returns the current block number.","Returns the timestamp of the current block.","","","","","","","","Returns the address of the caller of the executed contract.","Checks whether the caller of the current contract is the …","Defines the interface for a chain extension.","","","","","Returns the code hash of the contract at the given account …","Definitions and facilities mainly used by the ink! codegen.","Macro defines the combined chain extension via structure …","Entry point for writing ink! smart contracts.","Generates a wrapper which can be used for interacting with …","","","","","","","Recovers the compressed ECDSA public key for given …","Returns an Ethereum address from the ECDSA compressed …","Emits an event.","","","","","","Implements the necessary traits for a struct to be emitted …","Allows to call one of the available defined chain …","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the amount of gas left for the contract execution.","Computes the hash of the given bytes using the …","Computes the hash of the given SCALE encoded value using …","Creates a new instance of the chain extension to use …","Instantiates another contract using the supplied code hash.","Instantiates another contract using the supplied code hash.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invokes a contract message and returns its result.","Invokes in delegate manner a code message and returns its …","Invokes a contract message and returns its result.","Checks whether a specified account belongs to a contract.","Adds a new delegate dependency lock for the given code_hash…","","Returns the minimum balance that is required for creating …","Returns the code hash of the contract at the given account …","","","Definitions and utilities for ink! smart contract static …","","Derive the re-exported traits ink::scale::Encode, …","","Computes the ink! selector of the string and expands into …","Computes the ink! selector of the string and expands into …","Replace the contract code at the specified address with …","","Verifies a SR25519 signature against a message and a …","","Prepares the type to be fully compatible and usable with …","Terminates the existence of a contract.","Defines a unit test that makes use of ink!’s off-chain …","Returns the underlying account identifier of the …","","","","Marks trait definitions to ink! as special ink! trait …","Transfers value from the contract to the destination …","Returns the transferred value for the contract execution.","","","","","","","","","","","Removes the delegate dependency lock from this contract …","","","","Returns the price for the specified amount of gas.","The call builder type.","Used to refer to the generated contract call builder.","Used to check if T is allowed as ink! input parameter type.","Used to check if T is allowed as ink! output parameter …","Simplifies interaction with the host environment via self.","The access wrapper.","The access wrapper.","The call forwarder type.","","Trait used as bound for the outputs of ink! trait …","Simplifies interaction with the host environment via Self.","The global call builder type for an ink! trait definition.","Implemented by the global trait info provider.","Implemented by call builders of smart contracts.","Used as payable property guard for ink! trait messages.","Used as selector property guard for ink! trait messages.","The generated contract call builder type.","","","","","","","","","Builds up the &self call.","Builds up the &mut self call.","Returns a shared reference to the global call builder type.","Returns an exclusive reference to the global call builder …","Returns Ok if the caller did not transfer additional value …","Accesses the host environment with self.env() syntax.","Accesses the host environment with Self::env() syntax.","Forwards the &self call.","Forwards the &mut self call.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","Utility types and definitions used by the ink! codegen.","","","","","Can be used to check equality of types.","","","Takes a generic type as input and just consumes it while …","Returns the argument unchanged.","Calls U::from(self).","Creates a new const instance.","","","","","The closure that can be used to dispatch into the …","The closure that can be used to dispatch into the …","Guards against using invalid contract initializer types.","Stores the actual value of the constructor return type.","Generated type used to decode all dispatchable ink! …","Generated type used to decode all dispatchable ink! …","Stores the name of the ink! smart contract.","Failed to read execution input for the dispatchable.","Decodes an ink! dispatch input into a known selector and …","An error that can occur during dispatch of ink! …","Stores various information of the respective dispatchable …","Stores various information of the respective dispatchable …","The type of the error returned from the constructor. …","The error type of the constructor return type.","Starts the execution of the respective ink! message or …","The unique id of the ink! trait definition.","True if the constructor returns a Result.","Is true if Self is Result<C, E>.","Is true if Self is Result<C, E>.","Reflects the input types of the dispatchable ink! message.","Reflects the input types of the dispatchable ink! …","Failed to decode the parameters for the selected …","Failed to decode into a valid dispatch selector.","The label of the dispatchable ink! message.","The label of the dispatchable ink! constructor.","Yields true if the dispatchable ink! message mutates the …","The name of the ink! smart contract.","The name of the ink! trait.","Reflects the output type of the dispatchable ink! message.","Reflects the output type of the dispatchable ink! …","The module path of the ink! trait definition.","Yields true if the dispatchable ink! message is payable.","Yields true if the dispatchable ink! constructor is …","Is true if the ink! trait message has been annotated with …","Invalidly paid an unpayable dispatchable.","The selectors of the dispatchable ink! message.","The selectors of the dispatchable ink! constructor.","The unique selector of the ink! trait message.","The ink! storage struct type.","The ink! storage struct type.","Type that is guaranteed by ink! to implement all ink! …","Captures info about an ink! trait definition.","Stores information for every ink! trait message of an ink! …","The ink! smart contract message decoder type.","The ink! smart contract constructor decoder type.","The decoded selector is not known to the dispatch decoder.","","Converts the return value into a Result instance.","","","","","","","","","","","","","Executes the ink! smart contract message or constructor.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","A simple wrapper around a type to store it in a separate …","A mapping of key-value pairs directly into contract …","A vector of values (elements) directly on contract storage.","","","","","","","Delete all elements from storage.","Clears the value of the element at index. It doesn’t …","Checks if a value is stored at the given key in the …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Get the value at key from the contract storage.","Access an element at given index.","Reads the value from the contract storage, if it exists.","Reads the value from the contract storage.","Insert the given value to the contract storage.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns true if the vector contains no elements.","","","","Returns the number of elements in the vector, also …","Creates a new empty Mapping.","Creates a new empty StorageVec.","Creates a new empty Lazy.","Get a copy of the last element without removing it from …","Clears the last element from the storage and returns it. …","Appends an element to the back of the vector.","Clears the value at key from storage.","Set the value at given index.","Writes the given value to the contract storage.","Get the size in bytes of a value stored at key in the …","Removes the value at key, returning the previous value at …","","","","","Try to get the value at the given key.","Try to access an element at given index.","Try to read the value from the contract storage.","Try to insert the given value into the mapping under given …","","","","Try to get a copy of the last element without removing it …","Try to clear and return the last element from storage. …","Try to append an element to the back of the vector.","Try to set the value at given index.","Try to set the given value to the contract storage.","Try to take the value at the given key. On success, this …","","","","","","","","","","Auto key type means that the storage key should be …","Automatically returns the type that should be used for …","Storage key of the type.","Manual key type specifies the storage key.","Trait for describing types that can be read and written to …","The storage key that the type prefers. It can be …","Resolver key type selects between preferred key and …","Trait for representing types which can be read and written …","Derives ink::storage’s Storable trait for the given …","Describes the type that should be used for storing the …","Derives ink::storage’s StorableHint trait for the given …","Holds storage key for the type.","Derives ink::storage’s StorageKey trait for the given …","Implemented by types that have a storage layout.","Derives ink::storage’s StorageLayout trait for the given …","Storable type with storage key inside.","Storable type with storage key inside.","","","","","","","","","","","","","","","","Attempt to deserialize the value from input.","Decode and consume all of the given input data.","","","","Convert self to a slice and append it to the destination.","The exact number of bytes this type consumes in the …","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the storage key.","Returns the static storage layout of Self.","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,8,0,34,27,0,0,0,65,0,0,0,34,27,0,66,0,0,8,3,3,3,0,3,3,67,8,3,67,8,3,3,3,3,0,8,3,8,3,3,0,0,0,0,8,8,8,8,8,3,3,3,3,8,8,8,0,8,0,3,8,3,67,8,3,3,3,3,65,3,3,67,8,3,3,3,3,3,3,0,3,3,0,0,0,0,0,0,0,0,3,8,3,0,0,3,0,68,8,8,3,0,3,3,67,8,3,67,8,3,67,8,3,8,3,67,8,3,3,69,0,0,0,0,70,71,72,73,0,0,0,0,0,0,0,74,75,76,77,78,75,76,77,78,73,73,69,69,0,70,71,73,73,75,76,77,78,75,76,77,78,75,76,77,78,75,76,77,78,75,76,77,78,0,75,76,77,78,0,43,43,0,43,43,43,43,43,43,43,79,80,0,0,0,0,0,42,0,0,0,0,80,81,0,82,80,81,81,79,80,42,42,79,80,79,83,82,79,80,82,79,80,84,42,79,80,84,79,80,0,0,0,85,86,42,42,81,44,44,44,87,42,44,87,42,42,42,88,42,89,42,42,44,87,42,44,87,42,44,42,42,44,87,42,44,87,42,44,87,42,44,87,42,0,0,0,49,46,51,49,46,51,46,46,49,49,46,51,49,46,51,49,46,51,49,46,51,49,46,51,49,46,51,46,49,46,51,51,49,49,46,51,46,49,46,51,46,49,46,51,46,46,46,49,46,51,49,49,0,49,46,51,49,46,51,49,49,46,51,46,46,46,46,51,49,49,46,51,49,46,51,49,46,51,0,0,48,0,0,90,0,0,0,0,0,0,0,0,0,90,91,58,59,60,58,59,60,58,59,60,58,59,60,58,59,60,54,0,58,59,60,54,54,58,59,60,58,59,60,58,59,60,58,59,60,48,92,58,59,60,58,59,60,58,59,60,58,59,60,58,59,60,58,59,60,58,59,60],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[[3,[-1]]],[],4],[[[3,[-1]]],[],4],0,[[[3,[-1]]],[],4],[[[3,[-1]]],[],4],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[3,[-1]],-2],[[5,[2]]],4,6],[[[3,[-1]]],[],4],[[[3,[-1]]],7,4],0,[8,8],[[[3,[-1]]],[[3,[-1]]],9],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[3,[-1]]],5,4],0,0,0,0,[-1,[[11,[8,10]]],12],[-1,[[11,[-2,10]]],12,[]],[[[14,[13]]],[[11,[-1,10]]],[]],[[15,[14,[13]]],[[11,[-1,10]]],[]],[[15,-1],[[11,[-2,10]]],12,[]],[[],[[3,[-1]]],[]],[[[3,[-1]],[16,[13]],[16,[13]]],[[5,[[16,[13]]]]],4],[[[3,[-1]],[16,[13]]],[[5,[[16,[13]]]]],4],[[[3,[-1]],-2],2,4,17],[[-1,-2],2,[],[18,19]],[[8,-1],2,[18,19]],[-1,20,[]],0,[[8,8],7],0,[[[3,[-1]]],[],4],[[8,21],[[11,[2,22]]]],[[[3,[-1]],21],23,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[3,[-1]]],24,4],[[[3,[-1]],[14,[13]]],[],4],[[[3,[-1]],-2],[],4,6],[[]],[[[3,[-1]],[26,[-1,-2,[25,[-1]],-3,-4,-5]]],[[5,[27]]],4,[[28,[-1]]],6,[[29,[[14,[13]]]]],[[30,[-2]]]],[[[3,[-1]],[26,[-1,-2,31,-3,-4,-5]]],[[5,[27]]],4,[[28,[-1]]],6,[[29,[[14,[13]]]]],[[30,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[3,[-1]],[33,[-1,[32,[-1]],-2,-3]]],[[5,[[34,[-3]]]]],4,6,35],[[[3,[-1]],[33,[-1,[36,[-1]],-2,-3]]],[[5,[[34,[-3]]]]],4,6,35],[[[3,[-1]],[33,[-1,[37,[-1]],-2,-3]]],[[5,[[34,[-3]]]]],4,6,35],[[[3,[-1]]],7,4],[[[3,[-1]]],2,4],0,[[[3,[-1]]],[],4],[[[3,[-1]]],5,4],0,0,0,0,0,0,0,0,[[[3,[-1]]],[[5,[2]]],4],[8,20],[[[3,[-1]],[16,[13]],[14,[13]],[16,[13]]],[[5,[2]]],4],0,0,[[[3,[-1]]],38,4],0,[-1,[],[]],[[-1,[14,[13]]],[[39,[13]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[[3,[-1]]],[[5,[2]]],4],[[[3,[-1]]],[],4],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[[],41],[[[3,[-1]]],2,4],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[3,[-1]],24],[],4],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[],[]],[-1,[],[]],[-1,[],[]],[-1,[],[]],[[],[[11,[2,42]]]],[-1,[],[]],[[]],[-1,[],[]],[-1,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[],2],[-1,-1,[]],[-1,-2,[],[]],[[],[[43,[-1]]],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[-1,[[11,[-2]]],[],[]],[[[44,[-1]]],[[11,[-1]]],[]],[[[44,[[11,[-1,-2]]]]],[[11,[-1]]],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[42,42],[[-1,-2],2,[],[]],[-1,[[11,[-2,42]]],12,[]],[[42,42],7],[-1,[[11,[2,42]]],[]],[[42,21],23],[[42,21],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[44,[-1]]],[]],[-1,-2,[],[]],[-1,45,[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[46,[-1,-2]]],2,47,48],[[[46,[-1,-2]],15],2,47,48],[[[49,[-1,-2,-3]],-4],7,6,47,48,[[50,[-1]]]],[-1,[[11,[[49,[-2,-3,-4]],10]]],12,[],47,48],[-1,[[11,[[46,[-2,-3]],10]]],12,47,48],[-1,[[11,[[51,[-2,-3]],10]]],12,[],48],[[],[[49,[-1,-2,-3]]],[],47,48],[[],[[46,[-1,-2]]],47,48],[[],[[51,[-1,-2]]],[],48],[[[49,[-1,-2,-3]],-4],2,[],47,48,[18,19]],[[[46,[-1,-2]],-3],2,47,48,[18,19]],[[[51,[-1,-2]],-3],2,[],48,[18,19]],[[[49,[-1,-2,-3]]],20,[],47,48],[[[46,[-1,-2]]],20,47,48],[[[51,[-1,-2]]],20,[],48],[[[49,[-1,-2,-3]],21],[[11,[2,22]]],[],47,48],[[[46,[-1,-2]],21],[[11,[2,22]]],47,48],[[[51,[-1,-2]],21],[[11,[2,22]]],[],48],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,[[46,[-2,-3]]],52,[47,50],48],[[[49,[-1,-2,-3]],-4],[[53,[-2]]],6,47,48,[[50,[-1]]]],[[[46,[-1,-2]],15],[[53,[-1]]],47,48],[[[51,[-1,-2]]],[[53,[-1]]],54,48],[[[51,[-1,-2]]],-1,[54,55],48],[[[49,[-1,-2,-3]],-4,-5],[[53,[15]]],6,47,48,[[50,[-1]]],[54,[50,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[46,[-1,-2]]],7,47,48],[15,56],[15,56],[15,56],[[[46,[-1,-2]]],15,47,48],[[],[[49,[-1,-2,-3]]],[],47,48],[[],[[46,[-1,-2]]],47,48],[[],[[51,[-1,-2]]],[],48],[[[46,[-1,-2]]],[[53,[-1]]],47,48],[[[46,[-1,-2]]],[[53,[-1]]],47,48],[[[46,[-1,-2]],-3],2,47,48,[54,[50,[-1]]]],[[[49,[-1,-2,-3]],-4],2,6,47,48,[[50,[-1]]]],[[[46,[-1,-2]],15,-3],[[53,[15]]],47,48,[54,[50,[-1]]]],[[[51,[-1,-2]],-1],2,54,48],[[[49,[-1,-2,-3]],-4],[[53,[15]]],6,47,48,[[50,[-1]]]],[[[49,[-1,-2,-3]],-4],[[53,[-2]]],6,47,48,[[50,[-1]]]],0,[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[[[49,[-1,-2,-3]],-4],[[53,[[11,[-2,57]]]]],6,47,48,[[50,[-1]]]],[[[46,[-1,-2]],15],[[53,[[11,[-1,57]]]]],47,48],[[[51,[-1,-2]]],[[53,[[11,[-1,57]]]]],54,48],[[[49,[-1,-2,-3]],-4,-5],[[11,[[53,[15]],57]]],6,47,48,[[50,[-1]]],[54,[50,[-2]]]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[[[46,[-1,-2]]],[[53,[[11,[-1,57]]]]],47,48],[[[46,[-1,-2]]],[[53,[[11,[-1,57]]]]],47,48],[[[46,[-1,-2]],-3],[[11,[2,57]]],47,48,[54,[50,[-1]]]],[[[46,[-1,-2]],15,-3],[[11,[[53,[15]],57]]],47,48,[54,[50,[-1]]]],[[[51,[-1,-2]],-1],[[11,[2,57]]],54,48],[[[49,[-1,-2,-3]],-4],[[53,[[11,[-2,57]]]]],6,47,48,[[50,[-1]]]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[[],41],[[],41],[[],41],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[58,58],[[[59,[-1]]],[[59,[-1]]],[9,48]],[[[60,[-1,-2]]],[[60,[-1,-2]]],9,9],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[-1,[[11,[-2,10]]],12,[]],[[[14,[13]]],[[11,[-1,10]]],54],[[],58],[[],[[59,[-1]]],[55,48]],[[],[[60,[-1,-2]]],55,55],[[-1,-2],2,[],[18,19]],[-1,20,[]],[[58,58],7],[[[59,[-1]],[59,[-1]]],7,[61,48]],[[[60,[-1,-2]],[60,[-1,-2]]],7,61,61],[[58,21],[[11,[2,22]]]],[[[59,[-1]],21],[[11,[2,22]]],48],[[[60,[-1,-2]],21],[[11,[2,22]]],62,62],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,15,[]],[15,56],[[58,58],[[53,[63]]]],[[[59,[-1]],[59,[-1]]],[[53,[63]]],[64,48]],[[[60,[-1,-2]],[60,[-1,-2]]],[[53,[63]]],64,64],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,40,[]],[-1,40,[]],[-1,40,[]],[[],41],[[],41],[[],41],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Private",429],[15,"tuple"],[3,"EnvAccess",0],[8,"Environment",430],[6,"Result",431],[8,"Encode",432],[15,"bool"],[4,"LangError",0],[8,"Clone",433],[3,"Error",434],[4,"Result",435],[8,"Input",432],[15,"u8"],[15,"slice"],[15,"u32"],[15,"array"],[8,"Event",436],[8,"Output",432],[8,"Sized",437],[15,"usize"],[3,"Formatter",438],[3,"Error",438],[6,"Result",438],[15,"u64"],[3,"LimitParamsV2",439],[3,"CreateParams",439],[6,"ConstructorResult",0],[8,"FromAccountId",439],[8,"AsRef",440],[8,"ConstructorReturnType",439],[3,"LimitParamsV1",439],[3,"Call",441],[3,"CallParams",441],[6,"MessageResult",0],[8,"Decode",432],[3,"DelegateCall",441],[3,"CallV1",441],[15,"never"],[3,"Vec",442],[3,"TypeId",443],[3,"Type",444],[4,"DispatchError",190],[3,"IsSameType",179],[3,"ConstructorOutputValue",190],[3,"String",445],[3,"StorageVec",274],[8,"Packed",355],[8,"StorageKey",355],[3,"Mapping",274],[8,"EncodeLike",446],[3,"Lazy",274],[8,"IntoIterator",447],[4,"Option",448],[8,"Storable",355],[8,"Default",449],[4,"Layout",450],[4,"Error",431],[3,"AutoKey",355],[3,"ManualKey",355],[3,"ResolverKey",355],[8,"PartialEq",451],[8,"Debug",438],[4,"Ordering",451],[8,"PartialOrd",451],[8,"ChainExtensionInstance",0],[8,"Output",0],[3,"ValueReturned",0],[8,"ToAccountId",0],[8,"TraitCallBuilder",120],[8,"Env",120],[8,"StaticEnv",120],[8,"TraitCallForwarder",120],[8,"TraitCallForwarderFor",120],[8,"ContractCallBuilder",120],[3,"DispatchInput",120],[3,"DispatchOutput",120],[3,"TraitMessagePayable",120],[3,"TraitMessageSelector",120],[8,"DispatchableMessageInfo",190],[8,"DispatchableConstructorInfo",190],[8,"ConstructorOutput",190],[8,"TraitInfo",190],[8,"ContractName",190],[8,"TraitMessageInfo",190],[8,"ContractMessageDecoder",190],[8,"ContractConstructorDecoder",190],[3,"TraitDefinitionRegistry",190],[8,"DecodeDispatch",190],[8,"ExecuteDispatchable",190],[8,"StorableHint",355],[8,"AutoStorableHint",355],[8,"StorageLayout",355]],"b":[[238,"impl-ConstructorOutput%3CC%3E-for-ConstructorOutputValue%3CC%3E"],[239,"impl-ConstructorOutput%3CC%3E-for-ConstructorOutputValue%3CResult%3CC,+E%3E%3E"],[251,"impl-Display-for-DispatchError"],[252,"impl-Debug-for-DispatchError"]]},\ "ink_allocator":{"doc":"Crate providing allocator support for all Wasm …","t":"","n":[],"q":[],"d":[],"i":[],"f":[],"c":[],"p":[],"b":[]},\ "ink_codegen":{"doc":"The ink! code generation.","t":"IQFF","n":["CodeGenerator","Generator","generate_code","generate_type_spec"],"q":[[0,"ink_codegen"],[4,"proc_macro2"],[5,"syn::ty"]],"d":["Types for which code can be generated by this crate.","The underlying generator generating the code.","Generates the entire code for the given ink! contract.","Generates the ink! metadata for the given type."],"i":[0,2,0,0],"f":[0,0,[-1,1,2],[3,1]],"c":[],"p":[[3,"TokenStream",4],[8,"CodeGenerator",0],[4,"Type",5]],"b":[]},\ -"ink_e2e":{"doc":"Module for the logic behind ink!’s End-to-End testing …","t":"QENNQNNDGDDINNDINNDIGQQNNQQNNDHDDDDRNEDDDDNDLLLLMFLMLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLFLLLLLLLLLLLLMLLLLMLLKLLFFLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLFALMMMMLLLLFLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFFFLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLKLLLLLLLLLALLLLLCCXLLLLLLLLLLLLLLLLCCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDLLLLLLLLLLLLLLLLLLLLLLLLLMMMMLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLENNDNDGDLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLFFFFFFFF","n":["AccountId","AccountKeyring","Alice","AliceStash","Balance","Bob","BobStash","CallBuilder","CallBuilderFinal","CallDryRunResult","CallResult","ChainBackend","Charlie","CharlieStash","Client","ContractsBackend","Dave","DaveStash","DefaultSandbox","E2EBackend","Error","Error","Error","Eve","EveStash","EventLog","EventLog","Ferdie","FerdieStash","H256","INIT","InstantiateBuilder","InstantiateDryRunResult","InstantiationResult","Keypair","LOG_PREFIX","One","PolkadotConfig","RpcClient","SandboxClient","TestNodeProcess","TestNodeProcessBuilder","Two","UploadResult","__clone_box","__clone_box","__clone_box","__clone_box","_marker","account_id","account_id","account_id","address","alice","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_bits","as_byte_slice","as_bytes","as_bytes_mut","as_fixed_bytes","as_fixed_bytes_mut","as_mut","as_mut_bits","as_mut_byte_slice","as_mut_ptr","as_mut_slice_of","as_ptr","as_ref","as_slice_of","assign_from_slice","bitand","bitand","bitand_assign","bitand_assign","bitor","bitor","bitor_assign","bitor_assign","bitxor","bitxor","bitxor_assign","bitxor_assign","blake2_128","blake2_128_concat","blake2_256","block_number","bob","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build_block","build_blocks","build_root_and_contract_dependencies","build_with_env_or_default","call","call","call_builder","call_contract","charlie","check_equal","clear","client","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","code_hash","compare","constructor_result","contains_event","contract_emitted_events","contract_result","convert_account_to_origin","covers","create_and_fund_account","create_and_fund_account","create_and_fund_account","create_call_builder","dave","debug_message","debug_message","debug_message","decode","decode","decode_all","decode_all_with_depth_limit","decode_as_type_maybe_compact","decode_with_depth_limit","decode_with_metadata","default","default","default_actor","defensive_max","defensive_min","defensive_strict_max","defensive_strict_min","deploy_contract","deref","derive","deserialize","drop","dry_run","dry_run","dry_run","dry_run","dry_run","dry_run","encode","encode_as","encode_as_type_to","encode_hex","encode_hex_upper","encode_with_metadata","encoded_size","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","eve","events","events","events","events","events","exec_result","exec_return_value","execute_with","extra_gas_portion","extra_gas_portion","ferdie","finalize_block","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","free_balance","free_balance","free_balance","free_balance","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_account_id","from_ffi_value","from_h256_public","from_inner","from_insecure_url","from_low_u64_be","from_low_u64_le","from_low_u64_ne","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_phrase","from_public","from_raw_public","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_seed","from_slice","from_str","from_str","from_uri","from_url","gas_limit","gas_limit","get_hash","get_hash","get_metadata","get_timestamp","hash","hash","identity","index","index_mut","initialize_block","inner","instantiate","instantiate","instantiate_contract","instantiate_return_value","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_ffi_value","into_inner","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_visitor","is_clear","is_err","is_err","is_zero","iter","iter","kill","len_bytes","log_error","log_info","log_prefix","max_encoded_len","message_result","message_result","mint_into","new","new","new","new","new","new","numeric","numeric_id","one","pair","partial_cmp","public","public_key","random","random_using","randomize","randomize_using","register_extension","remove_code","remove_code","repeat_byte","request","reset_events","return_data","return_data","return_value","return_value","rpc","runtime_call","runtime_call","runtime_call","runtime_call","serialize","set_timestamp","sign","sign","sign","spawn","sr25519","storage_deposit_limit","storage_deposit_limit","submit","submit","subscribe","subxt","subxt_signer","test","to_account_id","to_fixed_bytes","to_h256_public","to_keyed_vec","to_low_u64_be","to_low_u64_le","to_low_u64_ne","to_owned","to_owned","to_owned","to_owned","to_raw_public","to_raw_public_vec","to_seed","to_string","to_string","tokio","tracing_subscriber","try_as_bits","try_as_mut_bits","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","two","twox_128","twox_256","twox_64_concat","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_info","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","upload","upload","upload_contract","url","using_encoded","value","value","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","with_authority","zero","CodeStoredEvent","ContractEmitted","ContractInstantiatedEvent","EventWithTopics","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","blake2_128","blake2_128","blake2_128","blake2_128_concat","blake2_128_concat","blake2_128_concat","blake2_256","blake2_256","blake2_256","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","code_hash","contract","contract","data","decode","decode","decode","decode","decode","decode","decode_all","decode_all","decode_all","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_as_fields","decode_as_fields","decode_as_fields","decode_as_type_maybe_compact","decode_as_type_maybe_compact","decode_as_type_maybe_compact","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","decode_with_metadata","decode_with_metadata","decode_with_metadata","deployer","encode","encode","encode","encode","encode_as","encode_as","encode_as","encode_as_fields_to","encode_as_fields_to","encode_as_fields_to","encode_as_type_to","encode_as_type_to","encode_as_type_to","encode_to","encode_to","encode_to","encode_with_metadata","encode_with_metadata","encode_with_metadata","encoded_size","encoded_size","encoded_size","event","fmt","fmt","fmt","from","from","from","from","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","identity","identity","identity","into","into","into","into","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_key","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","into_ref","into_visitor","into_visitor","into_visitor","size_hint","size_hint","size_hint","to_keyed_vec","to_keyed_vec","to_keyed_vec","topics","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","try_into_key","twox_128","twox_128","twox_128","twox_256","twox_256","twox_256","twox_64_concat","twox_64_concat","twox_64_concat","type_id","type_id","type_id","type_id","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","using_encoded","vzip","vzip","vzip","vzip","Error","Hex","InvalidSeed","Keypair","Phrase","PublicKey","Seed","Signature","__clone_box","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_bits","as_bits","as_byte_slice","as_byte_slice","as_ref","as_ref","as_slice_of","as_slice_of","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","dev","encode_hex","encode_hex","encode_hex_upper","encode_hex_upper","eq","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from","from","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","source","to_account_id","to_address","to_owned","to_string","try_as_bits","try_as_bits","try_from","try_from","try_from","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","type_id","type_id","type_id","unchecked_into","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","verify","vzip","vzip","vzip","alice","bob","charlie","dave","eve","ferdie","one","two"],"q":[[0,"ink_e2e"],[730,"ink_e2e::events"],[913,"ink_e2e::sr25519"],[1024,"ink_e2e::sr25519::dev"],[1032,"dyn_clone::sealed"],[1033,"ink_primitives::types"],[1034,"core::any"],[1035,"bitvec::slice"],[1036,"bitvec::order"],[1037,"byte_slice_cast"],[1038,"core::result"],[1039,"byte_slice_cast"],[1040,"std::ffi::os_str"],[1041,"core::convert"],[1042,"core::clone"],[1043,"subxt::config"],[1044,"std::path"],[1045,"core::marker"],[1046,"core::marker"],[1047,"core::marker"],[1048,"sp_weights::weight_v2"],[1049,"core::option"],[1050,"pallet_contracts::wasm"],[1051,"pallet_contracts::primitives"],[1052,"sp_runtime"],[1053,"frame_system"],[1054,"pallet_contracts::primitives"],[1055,"core::cmp"],[1056,"ink_primitives"],[1057,"subxt::blocks::extrinsic_types"],[1058,"subxt::error"],[1059,"core::future::future"],[1060,"alloc::boxed"],[1061,"core::pin"],[1062,"ink_sandbox"],[1063,"alloc::string"],[1064,"parity_scale_codec::error"],[1065,"parity_scale_codec::codec"],[1066,"scale_decode::error"],[1067,"subxt::metadata::metadata_type"],[1068,"pallet_contracts::primitives"],[1069,"serde::de"],[1070,"core::ops::function"],[1071,"parity_scale_codec::codec"],[1072,"core::iter::traits::collect"],[1073,"core::fmt"],[1074,"sp_keyring::ed25519"],[1075,"sp_core::sr25519"],[1076,"sp_core::ed25519"],[1077,"sp_core::crypto"],[1078,"sp_wasm_interface"],[1079,"bip39"],[1080,"rustc_hex"],[1081,"subxt_signer::crypto::secret_uri"],[1082,"core::hash"],[1083,"core::hash"],[1084,"core::hash"],[1085,"ink_env::call::common"],[1086,"ink_env::call::create_builder"],[1087,"ink_env::call::common"],[1088,"ink_env::call::create_builder::state"],[1089,"ink_env::call::common"],[1090,"alloc::rc"],[1091,"core::iter::traits::iterator"],[1092,"sp_keyring::sr25519"],[1093,"ink_primitives"],[1094,"subxt::backend::rpc::rpc_client_t"],[1095,"sp_core::sr25519"],[1096,"sp_externalities::extensions"],[1097,"subxt::backend::rpc::rpc_client"],[1098,"serde::de"],[1099,"sp_runtime"],[1100,"sp_core::sr25519"],[1101,"core::any"],[1102,"pallet_contracts::primitives"],[1103,"scale_encode"],[1104,"scale_encode"],[1105,"core::error"],[1106,"subxt::utils::account_id"],[1107,"subxt::utils::multi_address"]],"d":["Account type.","Set of test accounts.","","","Balance type.","","","Allows to build an end-to-end call using a builder pattern.","Represents an initialized contract message builder.","Result of the dry run of a contract call.","Result of a contract call.","General chain operations useful in contract testing.","","","The Client takes care of communicating with the node.","Contract-specific operations.","","","","Full E2E testing backend: combines general chain API and …","","Error type.","Error type.","","","Event log type.","Event log type.","","","Fixed-size uninterpreted hash type with 32 bytes (256 …","We use this to only initialize env_logger once.","Allows to build an end-to-end instantiation call using a …","Result of the dry run of a contract call.","Result of a contract instantiation.","An sr25519 keypair implementation. While the API is …","This prefix will be used for log output. It is set by each …","","Default set of commonly used types by Polkadot nodes.","A concrete wrapper around an RpcClientT which provides …","","Spawn a local substrate node for testing.","Construct a test node process.","","Result of a contract upload.","","","","","","Get an ink! ink_primitives::AccountId for a given keyring …","","The account id at which the contract was instantiated.","","Equivalent to {DEV_PHRASE}//Alice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Extracts a byte slice containing the entire fixed hash.","Extracts a mutable byte slice containing the entire fixed …","Extracts a reference to the byte array containing the …","Extracts a reference to the byte array containing the …","","","","Returns a mutable raw pointer to the value.","","Returns a constant raw pointer to the value.","","","Assign the bytes from the byte slice src to self.","","","","","","","","","","","","","","","","","Equivalent to {DEV_PHRASE}//Bob.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Construct a builder for spawning a test node process.","","","Builds the “root” contract (the contract in which the …","Construct a builder for spawning a test node process, …","Start building a call using a builder pattern.","Start building a call using a builder pattern.","Returns the account id at which the contract was …","","Equivalent to {DEV_PHRASE}//Charlie.","","","Returns the subxt client connected to the running node.","","","","","","","","","","The hash with which the contract can be instantiated.","","Returns the encoded return value from the constructor.","Returns true if the specified event was triggered by the …","Returns all the ContractEmitted events emitted by the …","The result of the dry run, contains debug messages if …","","Returns true if all bits set in b are also set in self.","Generate a new account and fund it with the given amount …","","","Creates a call builder builder for Contract, based on an …","Equivalent to {DEV_PHRASE}//Dave.","Returns any debug message output by the contract decoded …","Returns any debug message output by the contract decoded …","Returns any debug message output by the contract decoded …","","","","","","","","","","","","","","","","","Derive a child key from this one given a series of …","","","Dry run the call.","Dry run the instantiate call.","","The result of the dry run, contains debug messages if …","The result of the dry run, contains debug messages if …","The result of the dry run, contains debug messages if …","","","","","","SCALE encode this type to bytes, possibly with the help of …","","","","","","","","","","","","","","Equivalent to {DEV_PHRASE}//Eve.","","","Events that happened with the contract instantiation.","Events that happened with the contract instantiation.","Events that happened with the contract instantiation.","The result of the dry run, contains debug messages if …","Returns the ExecReturnValue resulting from the dry-run …","","Increases the gas limit marginally by a specified percent. …","Increases the gas limit marginally by a specified percent. …","Equivalent to {DEV_PHRASE}//Ferdie.","","","","","","","","","","","","","","","Returns the free balance of account.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Constructs a hash type from the given reference to the …","Constructs a hash type from the given reference to the …","Constructs a hash type from the given bytes array of fixed …","Returns the argument unchanged.","","","","","Returns the argument unchanged.","","","","","Create a default RPC client pointed at some URL, currently …","Creates a new hash type from the given u64 value.","Creates a new hash type from the given u64 value.","Creates a new hash type from the given u64 value.","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","Create am sr25519 keypair from a BIP-39 mnemonic phrase …","","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","Turn a 32 byte seed into a keypair.","Create a new fixed-hash from the given slice src.","","Creates a hash type instance from the given string.","Create am sr25519 keypair from a SecretUri. See the …","Create a default RPC client pointed at some URL, currently …","Specifies the raw gas limit as part of the call.","Specifies the raw gas limit as part of the call.","","","","","","","","","","","","Start building an instantiate call using a builder pattern.","Start building an instantiate call using a builder pattern.","","Returns the InstantiateReturnValue resulting from the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns true if the dry-run execution resulted in an error.","Returns true if the dry-run execution resulted in an error.","Returns true if no bits are set.","Returns an iterator over all test accounts.","","Attempt to kill the running substrate process.","Returns the size of this hash in bytes.","Writes msg to stderr.","Writes msg to stdout.","Returns the name of the test which is currently executed.","","Returns the MessageResult from the execution of the …","Returns the MessageResult from the execution of the …","","Initialize a call builder with defaults values.","Initialize a call builder with essential values.","","","Creates a new Client instance using a subxt client.","Create a new RpcClient from an arbitrary RpcClientT …","Create a crypto Pair from a numeric value.","Get account id of a numeric account.","Equivalent to {DEV_PHRASE}//One.","","","","Obtain the PublicKey part of this key pair, which can be …","Create a new hash with cryptographically random content.","Create a new hash with cryptographically random content …","Assign self to a cryptographically random value.","Assign self to a cryptographically random value using the …","","Start building a remove code call.","Start building a remove code call.","Returns a new fixed hash where all bits are set to the …","Make an RPC request, given a method name and some …","","Returns the return value as raw bytes of the message from …","Returns the return value as raw bytes of the message from …","Returns the decoded return value of the message from the …","Returns the decoded return value of the message from the …","Returns the subxt RPC client connected to the running node.","Executes a runtime call call_name for the pallet_name. The …","","","","","","","Sign some message. These bytes can be used directly in a …","","Spawn the substrate node at the given path, and wait for …","An sr25519 keypair implementation.","Specify the max amount of funds that can be charged for …","Specify the max amount of funds that can be charged for …","Submit the call for the on-chain execution.","Submit the instantiate call for the on-chain execution.","Subscribe to an RPC endpoint, providing the parameters and …","","","Defines an End-to-End test.","","Returns the inner bytes array.","","","Returns the lowest 8 bytes interpreted as big-endian.","Returns the lowest 8 bytes interpreted as little-endian.","Returns the lowest 8 bytes interpreted as native-endian.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Equivalent to {DEV_PHRASE}//Two.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Start building an upload call.","Start building an upload call.","","Returns the URL of the running node.","","Provide value with a call","Provide value with a call","","","","","","","","","","","","","","","","","","Set the authority development account for a node in …","Returns a new zero-initialized fixed hash.","Code with the specified hash has been stored.","A custom event emitted by the contract.","A contract was successfully instantiated.","A decoded event with its associated topics.","","","","","","","","","","","","","","","","","","","","","","","","","","Hash under which the contract code was stored.","Account id where the contract was instantiated to.","","","","","","","","","","","","","","","","","","","","","","","","","","","Account id of the deployer.","","","","","","","","","","","","","","","","","SCALE encode this type to bytes, possibly with the help of …","SCALE encode this type to bytes, possibly with the help of …","SCALE encode this type to bytes, possibly with the help of …","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","An error handed back if creating a keypair fails.","Invalid hex.","Invalid seed.","An sr25519 keypair implementation. While the API is …","Invalid phrase.","The public key for an Keypair key pair. This is equivalent …","Seed bytes used to generate a key pair.","A signature generated by Keypair::sign(). These bytes are …","","","","","","","","","","","","","","","","","","","","","","","","Dev accounts, helpful for testing but not to be used in …","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","A shortcut to obtain an AccountId32 from a PublicKey. We …","A shortcut to obtain a MultiAddress from a PublicKey. We …","","","","","","","","","","","","","","","","","","","","","","","Verify that some signature for a message was created by …","","","","Equivalent to {DEV_PHRASE}//Alice.","Equivalent to {DEV_PHRASE}//Bob.","Equivalent to {DEV_PHRASE}//Charlie.","Equivalent to {DEV_PHRASE}//Dave.","Equivalent to {DEV_PHRASE}//Eve.","Equivalent to {DEV_PHRASE}//Ferdie.","Equivalent to {DEV_PHRASE}//One.","Equivalent to {DEV_PHRASE}//Two."],"i":[140,0,3,3,140,3,3,0,0,0,0,0,3,3,0,0,3,3,0,0,0,140,141,3,3,140,141,3,3,0,0,0,0,0,0,0,3,0,0,0,0,0,3,0,3,5,11,42,60,0,5,31,5,0,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,66,0,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,40,66,66,0,40,141,141,31,66,0,11,11,40,3,5,11,42,3,5,11,42,11,82,11,44,47,47,44,66,11,140,56,58,0,0,47,44,60,11,11,11,11,11,11,11,66,11,66,11,11,11,11,66,42,5,11,40,25,70,66,31,82,47,11,11,11,11,11,11,11,3,11,3,3,3,3,3,11,11,11,11,11,0,0,66,31,82,47,60,60,66,25,70,0,66,3,3,31,82,5,47,44,60,11,11,11,11,42,140,66,56,58,25,70,3,31,82,5,47,66,44,44,40,17,56,58,60,142,11,11,11,11,11,11,11,11,11,42,3,11,3,11,42,11,11,11,25,25,70,70,3,3,31,31,82,82,5,5,47,47,66,66,44,44,40,40,17,17,56,56,58,58,60,60,142,142,11,11,42,42,5,3,3,25,25,70,70,3,3,31,31,82,82,5,5,47,47,66,66,44,44,40,40,17,17,56,56,58,58,60,60,142,142,11,11,42,42,5,11,3,11,5,42,25,70,3,11,66,66,3,11,11,11,11,66,11,141,141,66,44,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,11,11,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,11,11,44,60,11,3,3,40,11,0,0,0,11,47,60,66,25,70,17,56,58,42,3,3,0,3,11,3,5,11,11,11,11,66,141,141,11,42,66,47,60,47,60,40,140,66,56,58,11,66,3,5,5,17,0,25,70,25,70,42,0,0,0,3,11,3,11,11,11,11,3,5,11,42,3,3,3,3,11,0,0,11,11,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,0,11,11,11,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,11,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,141,141,66,40,11,25,70,25,70,3,31,82,5,47,66,44,40,17,56,58,60,142,11,42,17,11,0,0,0,0,51,130,131,50,51,130,131,50,130,131,50,130,131,50,130,131,50,51,130,131,50,51,130,131,50,131,130,50,50,130,130,131,131,50,50,130,131,50,130,131,50,130,131,50,130,131,50,130,131,50,130,131,50,130,130,131,131,50,130,131,50,130,131,50,130,131,50,130,131,50,130,131,50,130,131,50,51,130,131,50,51,130,131,50,51,51,130,130,131,131,50,50,51,51,130,130,131,131,50,50,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,130,131,50,130,131,50,130,131,50,51,51,130,131,50,51,130,131,50,51,130,131,50,130,131,50,130,131,50,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,131,51,130,131,50,0,91,91,0,91,0,0,0,124,114,124,91,114,124,91,114,124,114,124,114,124,114,124,114,124,91,114,124,91,124,124,0,114,124,114,124,124,124,124,124,124,124,91,91,114,124,91,91,91,114,114,124,124,91,91,114,114,124,124,91,91,114,124,91,114,124,91,114,124,91,114,124,91,114,124,91,114,124,91,114,124,91,91,114,114,124,91,114,124,114,124,91,114,124,91,114,124,91,114,124,91,114,124,91,114,124,91,0,114,124,91,0,0,0,0,0,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],0,[3,4],[5],0,[5],[[],5],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[7,[-2,-3]]],[],[],8],[-1,[[10,[9]]],[]],[11,[[10,[9]]]],[11,[[10,[9]]]],[11,[[12,[9]]]],[11,[[12,[9]]]],[11,[[10,[9]]]],[-1,[[7,[-2,-3]]],[],[],8],[-1,[[10,[9]]],[]],[11,9],[-1,[[14,[[10,[-2]],13]]],[],15],[11,9],[11,[[10,[9]]]],[-1,[[14,[[10,[-2]],13]]],[],15],[[11,[10,[9]]],2],[[11,11]],[[11,11]],[[11,11],2],[[11,11],2],[[11,11]],[[11,11]],[[11,11],2],[[11,11],2],[[11,11]],[[11,11]],[[11,11],2],[[11,11],2],[-1,[[12,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[],[]],[[],5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[17,[-2]]],[[19,[18]],20],21],[-1,[],[]],[[-1,22],[],[]],[[],[[16,[23]]]],[[],[[17,[-1]]],21],[[-2,5,[24,[-1,-3,-4]]],[[25,[-1,-3,-4,-2]]],[],[26,[0,[-1]]],[27,28,20],[29,30]],[[-2,5,[24,[-1,-3,-4]]],[[25,[-1,-3,-4,-2]]],[],[26,[0,[-1]]],[27,28,20],[29,30]],[[[31,[-1,-2]]],[],32,[]],[[-1,[16,[9]],33,34,35],[[39,[[14,[36,37]],38]]],[]],[[],5],[[11,11],2],[[],-1,[]],[[[40,[-1]]],[[41,[-1]]],21],[3,3],[5,5],[11,11],[42,42],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[11,11],43],0,[[-1,-2],43,[],[]],[[[44,[-1]]],[[45,[-2]]],32,30],[[[47,[-1,-2,[46,[-3]]]],48,48],49,32,[],21],[[[47,[-1,-2,[46,[-3]]]]],[[14,[[16,[[51,[[50,[-1]]]]]],52]]],32,[],21],0,[[]],[[11,11],49],[[-1,5],[[55,[[54,[53]]]]],[]],[[[56,[-1,-2,-3]],5],[[55,[[54,[53]]]]],[[19,[[12,[9]]]],29],[],57],[[[58,[-1,-2]],5],[[55,[[54,[53]]]]],[21,29,27],32],[[]],[[],5],[[[47,[-1,-2,-3]]],59,32,30,[]],[[[44,[-1]]],59,32],[[[60,[-1,-2]]],59,32,30],[-1,[[14,[-2,61]]],62,[]],[-1,[[14,[11,61]]],62],[[[10,[9]]],[[14,[-1,61]]],[]],[[22,[10,[9]]],[[14,[-1,61]]],[]],[[[10,[9]],22,63,49],[[14,[-1,64]]],[]],[[22,-1],[[14,[-2,61]]],62,[]],[[[10,[9]],22,65],[[14,[-1,52]]],[]],[[],66],[[],11],[[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,[16,[9]],[16,[9]],[16,[9]],33,34],[[39,[[14,[67,37]],38]]],[]],[42],[[5,-1],5,68],[-1,[[14,[11]]],69],[[[40,[-1]]],2,21],[[[25,[-1,-2,-3,-4]]],[[14,[[60,[-1,-3]]]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]]],[[14,[[44,[-1]]]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[66,-1],-2,71,[]],0,0,0,[[-1,-2],2,[],[72,26]],[-1,[[16,[9]]],[]],[[11,22,63,[16,[9]]],[[14,[2,73]]]],[-1,-2,[],[[75,[74]]]],[-1,-2,[],[[75,[74]]]],[[-1,22,65,[16,[9]]],[[14,[2,52]]],[]],[-1,76,[]],[[3,3],49],[[11,11],49],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[],5],0,[-1,[[16,[38]]],[]],0,0,0,0,[[[60,[-1,-2]]],36,32,30],[[66,-1],-2,71,[]],[[[25,[-1,-2,-3,-4]],77],[[25,[-1,-2,-3,-4]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]],77],[[70,[-1,-2,-3,-4,-5]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[],5],[[]],[[3,78],[[14,[2,79]]]],[[3,78],[[14,[2,79]]]],[[[31,[-1,-2]],78],80,32,81],[[[82,[-1,-2]],78],80,32,81],[[5,78],[[14,[2,79]]]],[[[47,[-1,-2,-3]],78],80,[81,32],81,81],[[[44,[-1]],78],80,32],[[[60,[-1,-2]],78],80,[81,32],81],[[11,78],[[14,[2,79]]]],[[11,78],[[14,[2,79]]]],[[11,78],[[14,[2,79]]]],[[11,78],[[14,[2,79]]]],[[42,78],[[14,[2,79]]]],[-1,[[55,[[54,[53]]]]],[]],[-1,[],[]],[[[56,[-1,-2,-3]]],[[55,[[54,[53]]]]],[[19,[[12,[9]]]],29],[],57],[[[58,[-1,-2]]],[[55,[[54,[53]]]]],[21,29,27],32],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[83,[2]]],[[44,[-1]]],32],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[3,11],[[[12,[9]]],11],[[[12,[9]]],11],[[[12,[9]]],11],[-1,-1,[]],[84,11],[85,11],[86,11],[87,11],[-1,-1,[]],[88,[[34,[3]]]],[89,[[14,[-1,59]]],[]],[11,[[34,[3]]]],[[],11],[-1,[[14,[42,52]]],[[19,[48]]]],[77,11],[77,11],[77,11],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[[90,[34,[48]]],[[14,[5,91]]]],[86,[[34,[3]]]],[[[12,[9]]],[[34,[3]]]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[[[12,[9]]],[[14,[5,91]]]],[[[10,[9]]],11],[48,[[14,[3]]]],[48,[[14,[11,92]]]],[93,[[14,[5,91]]]],[-1,[[14,[42,52]]],[[19,[48]]]],[[[25,[-1,-2,-3,-4]],33],[[25,[-1,-2,-3,-4]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]],33],[[70,[-1,-2,-3,-4,-5]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[-1,-2],77,[94,26],95],[[-1,-2],77,[94,26],95],[[],96],[-1,[],[]],[[3,-1],2,97],[[11,-1],2,97],[-1,[[16,[9]]],[]],[[11,-1],[],[[98,[[10,[9]]]]]],[[11,-1],[],[[98,[[10,[9]]]]]],[[],2],[11],[[-2,48,5,[105,[-1,-3,99,[101,[[100,[-1]]]],99,[101,[[102,[-4]]]],[99,[103]],[101,[[104,[-5]]]]]]],[[70,[-1,-3,-4,-5,-2]]],[],[26,[0,[-1]]],20,[29,20,28,27],[]],[[-2,48,5,[105,[-1,-3,99,[101,[[100,[-1]]]],99,[101,[[102,[-4]]]],[99,[103]],[101,[[104,[-5]]]]]]],[[70,[-1,-3,-4,-5,-2]]],[],[26,[0,[-1]]],20,[29,20,28,27],[]],[[-1,[16,[9]],[16,[9]],[16,[9]],33,34],[[39,[[14,[67,37]],38]]],[]],[[[44,[-1]]],67,32],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[-1,89],[[14,[59]]],[]],[11],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[]],[-1,49,[]],[[[44,[-1]]],49,32],[[[60,[-1,-2]]],49,32,30],[11,49],[[],[[0,[108]]]],[[],109],[[[40,[-1]]],[[14,[2,59]]],21],[[],76],[48,2],[48,2],[[],59],[[],76],[[[47,[-1,-2,-3]]],[[110,[-2]]],32,30,[]],[[[60,[-1,-2]]],[[110,[-2]]],32,30],[-1,[[14,[37]]],[]],[[-2,5,[24,[-1,-3,-4]]],[[25,[-1,-3,-4,-2]]],32,[[0,[-1]]],[27,28,20],[29,30]],[[-2,5,48,[105,[-1,-3,99,[101,[[100,[-1]]]],99,[101,[[102,[-4]]]],[99,[103]],[101,[[104,[-5]]]]]]],[[70,[-1,-3,-4,-5,-2]]],32,[[0,[-1]]],20,[28,20,29,27],[]],[-1,[[17,[-2]]],[[19,[18]]],21],[-1,[[56,[-2,-3,-4]]],68,[],[],[111,57]],[[42,-1],[[14,[[58,[-2,-3]],52]]],68,21,32],[-1,42,112],[76,113],[76,88],[[],5],[3,113],[[11,11],[[34,[43]]]],[3,86],[5,114],[[],11],[-1,11,[115,26]],[11,2],[[11,-1],2,[115,26]],[[66,-1],2,[6,116]],[[-2,5],[[0,[-1,-2]]],[],[26,[0,[-1]]]],[[-2,5],[[0,[-1,-2]]],[],[26,[0,[-1]]]],[9,11],[[42,48,117],[[14,[-1,52]]],118],[-1,2,[]],[[[47,[-1,-2,-3]]],[[10,[9]]],32,30,[]],[[[60,[-1,-2]]],[[10,[9]]],32,30],[[[47,[-1,-2,-3]]],-2,32,30,[]],[[[60,[-1,-2]]],-2,32,30],[[[40,[-1]]],42,21],[[-1,5,48,48,[16,[119]]],[[55,[[54,[53]]]]],[]],[[-1,-2],[[14,[120]]],[],121],[[[56,[-1,-2,-3]],5,48,48,[16,[119]]],[[55,[[54,[53]]]]],[[19,[[12,[9]]]],29],[],57],[[[58,[-1,-2]],5,48,48,[16,[119]]],[[55,[[54,[53]]]]],[21,29,27],32],[[11,-1],14,122],[-1,2,[]],[[3,[10,[9]]],123],[[5,[10,[9]]],124],[[5,[10,[9]]]],[[[17,[-1]]],[[14,[[40,[-1]],59]]],21],0,[[[25,[-1,-2,-3,-4]]],[[25,[-1,-2,-3,-4]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]]],[[70,[-1,-2,-3,-4,-5]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[[25,[-1,-2,-3,-4]]],[[14,[[47,[-1,-3]]]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]]],[[14,[[31,[-1]]]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[42,48,117,48],[[14,[[125,[-1]],52]]],118],0,0,0,[3,88],[11,[[12,[9]]]],[3,11],[[-1,[10,[9]]],[[16,[9]]],[]],[11,77],[11,77],[11,77],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[3,[[12,[9]]]],[3,[[16,[9]]]],[3,59],[-1,59,[]],[-1,59,[]],0,0,[-1,[[14,[[7,[-2,-3]],[126,[-2]]]]],[],[],8],[-1,[[14,[[7,[-2,-3]],[126,[-2]]]]],[],[],8],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[],5],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[16,[9]]],[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[[],128],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-2,48,5],[[0,[-1,-2]]],[],[26,[0,[-1]]]],[[-2,48,5],[[0,[-1,-2]]],[],[26,[0,[-1]]]],[[-1,[16,[9]],34,35],[[14,[129,37]]],[]],[[[40,[-1]]],48,21],[[11,-1],-2,71,[]],[[[25,[-1,-2,-3,-4]]],[[25,[-1,-2,-3,-4]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]]],[[70,[-1,-2,-3,-4,-5]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[17,[-1]],3],[[17,[-1]]],21],[[],11],0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[-1,[[14,[-2,61]]],62,[]],[-1,[[14,[[130,[-2]],61]]],62,32],[-1,[[14,[[131,[-2]],61]]],62,32],[-1,[[14,[-2,61]]],62,[]],[-1,[[14,[-2,61]]],62,[]],[-1,[[14,[[50,[-2]],61]]],62,32],[[[10,[9]]],[[14,[-1,61]]],[]],[[[10,[9]]],[[14,[-1,61]]],[]],[[[10,[9]]],[[14,[-1,61]]],[]],[[22,[10,[9]]],[[14,[-1,61]]],[]],[[22,[10,[9]]],[[14,[-1,61]]],[]],[[22,[10,[9]]],[[14,[-1,61]]],[]],[[[10,[9]],132,63],[[14,[[130,[-1]],64]]],32],[[[10,[9]],132,63],[[14,[[131,[-1]],64]]],32],[[[10,[9]],132,63],[[14,[[50,[-1]],64]]],32],[[[10,[9]],22,63,49],[[14,[-1,64]]],[]],[[[10,[9]],22,63,49],[[14,[-1,64]]],[]],[[[10,[9]],22,63,49],[[14,[-1,64]]],[]],[[22,-1],[[14,[-2,61]]],62,[]],[[22,-1],[[14,[-2,61]]],62,[]],[[22,-1],[[14,[-2,61]]],62,[]],[[[10,[9]],22,65],[[14,[-1,52]]],[]],[[[10,[9]],22,65],[[14,[-1,52]]],[]],[[[10,[9]],22,65],[[14,[-1,52]]],[]],0,[[-1,-2],2,[],[72,26]],[[-1,-2],2,[],[72,26]],[[[131,[-1]]],[[16,[9]]],32],[[-1,-2],2,[],[72,26]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[[[130,[-1]],133,63,[16,[9]]],[[14,[2,73]]],[134,32]],[[[131,[-1]],133,63,[16,[9]]],[[14,[2,73]]],[134,32]],[[[50,[-1]],133,63,[16,[9]]],[[14,[2,73]]],[134,32]],[[[130,[-1]],22,63,[16,[9]]],[[14,[2,73]]],[134,32]],[[[131,[-1]],22,63,[16,[9]]],[[14,[2,73]]],[134,32]],[[[50,[-1]],22,63,[16,[9]]],[[14,[2,73]]],[134,32]],[[[130,[-1]],-2],2,32,[72,26]],[[[131,[-1]],-2],2,32,[72,26]],[[[50,[-1]],-2],2,32,[72,26]],[[-1,22,65,[16,[9]]],[[14,[2,52]]],[]],[[-1,22,65,[16,[9]]],[[14,[2,52]]],[]],[[-1,22,65,[16,[9]]],[[14,[2,52]]],[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],0,[[[130,[-1]],78],80,[81,32]],[[[131,[-1]],78],80,[81,32]],[[[50,[-1]],78],80,[81,32]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[]],[[]],[[]],[[[130,[-1]]],76,32],[[[131,[-1]]],76,32],[[[50,[-1]]],76,32],[[-1,[10,[9]]],[[16,[9]]],[]],[[-1,[10,[9]]],[[16,[9]]],[]],[[-1,[10,[9]]],[[16,[9]]],[]],0,[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[131,[-1]],-2],-3,32,71,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,[[-1,1],2,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[7,[-2,-3]]],[],[],8],[-1,[[7,[-2,-3]]],[],[],8],[-1,[[10,[9]]],[]],[-1,[[10,[9]]],[]],[114,[[10,[9]]]],[124,[[10,[9]]]],[-1,[[14,[[10,[-2]],13]]],[],15],[-1,[[14,[[10,[-2]],13]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[124,124],[[-1,-2],2,[],[]],0,[-1,-2,[],[[75,[74]]]],[-1,-2,[],[[75,[74]]]],[-1,-2,[],[[75,[74]]]],[-1,-2,[],[[75,[74]]]],[[124,124],49],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[91,78],[[14,[2,79]]]],[[91,78],[[14,[2,79]]]],[-1,-1,[]],[-1,-1,[]],[135,91],[136,91],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[106,[-1]]],[[106,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[91,[[34,[137]]]],[114,138],[114,[[139,[138,-1]]],[]],[-1,-2,[],[]],[-1,59,[]],[-1,[[14,[[7,[-2,-3]],[126,[-2]]]]],[],[],8],[-1,[[14,[[7,[-2,-3]],[126,[-2]]]]],[],[],8],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[124,-1,114],49,[[19,[[10,[9]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5]],"c":[],"p":[[3,"Private",1032],[15,"tuple"],[4,"AccountKeyring",0],[3,"AccountId",1033],[3,"Keypair",0],[8,"Any",1034],[3,"BitSlice",1035],[8,"BitOrder",1036],[15,"u8"],[15,"slice"],[3,"H256",0],[15,"array"],[4,"Error",1037],[4,"Result",1038],[8,"FromByteSlice",1037],[3,"Vec",1039],[3,"TestNodeProcessBuilder",0],[3,"OsStr",1040],[8,"AsRef",1041],[8,"Clone",1042],[8,"Config",1043],[15,"u32"],[3,"PathBuf",1044],[6,"CallBuilderFinal",0],[3,"CallBuilder",0],[8,"Sized",1045],[8,"Sync",1045],[8,"Encode",1046],[8,"Send",1045],[8,"Decode",1046],[3,"InstantiationResult",0],[8,"Environment",1047],[3,"Weight",1048],[4,"Option",1049],[4,"Determinism",1050],[3,"ExecReturnValue",1051],[4,"DispatchError",1052],[3,"EventRecord",1053],[3,"ContractResult",1051],[3,"TestNodeProcess",0],[3,"OnlineClient",1054],[3,"RpcClient",0],[4,"Ordering",1055],[3,"InstantiateDryRunResult",0],[6,"ConstructorResult",1056],[3,"ExtrinsicEvents",1057],[3,"CallResult",0],[15,"str"],[15,"bool"],[3,"ContractEmitted",730],[3,"EventWithTopics",730],[4,"Error",1058],[8,"Future",1059],[3,"Box",1060],[3,"Pin",1061],[3,"SandboxClient",0],[8,"Sandbox",1062],[3,"Client",0],[3,"String",1063],[3,"CallDryRunResult",0],[3,"Error",1064],[8,"Input",1046],[3,"PortableRegistry",1065],[3,"Error",1066],[3,"Metadata",1067],[3,"DefaultSandbox",0],[3,"InstantiateReturnValue",1051],[8,"IntoIterator",1068],[8,"Deserializer",1069],[3,"InstantiateBuilder",0],[8,"FnOnce",1070],[8,"Output",1046],[3,"Error",1071],[15,"char"],[8,"FromIterator",1068],[15,"usize"],[15,"u64"],[3,"Formatter",1072],[3,"Error",1072],[6,"Result",1072],[8,"Debug",1072],[3,"UploadResult",0],[6,"ContractInstantiateResult",1051],[3,"H160",1073],[4,"Keyring",1074],[3,"Public",1075],[3,"Public",1076],[3,"AccountId32",1077],[8,"FunctionContext",1078],[3,"Mnemonic",1079],[4,"Error",913],[4,"FromHexError",1080],[3,"SecretUri",1081],[8,"Hash",1082],[8,"BuildHasher",1082],[3,"RuntimeMetadataPrefixed",1083],[8,"Hasher",1082],[8,"SliceIndex",1084],[3,"Unset",1085],[3,"LimitParamsV2",1086],[3,"Set",1085],[3,"ExecutionInput",1087],[4,"Salt",1088],[3,"ReturnType",1085],[3,"CreateBuilder",1086],[3,"Arc",1089],[3,"Rc",1090],[8,"Iterator",1091],[3,"KeyringIter",1092],[6,"MessageResult",1056],[8,"Default",1093],[8,"RpcClientT",1094],[3,"Pair",1075],[3,"PublicKey",913],[8,"Rng",1095],[8,"Extension",1096],[3,"RpcParams",1097],[8,"DeserializeOwned",1069],[3,"Value",1098],[3,"DispatchErrorWithPostInfo",1052],[8,"Into",1041],[8,"Serializer",1099],[3,"Signature",1075],[3,"Signature",913],[3,"RpcSubscription",1097],[4,"BitSpanError",1100],[3,"TypeId",1034],[3,"Type",1101],[3,"CodeUploadReturnValue",1051],[3,"ContractInstantiatedEvent",730],[3,"CodeStoredEvent",730],[8,"FieldIter",1102],[8,"FieldIter",1103],[8,"EncodeAsType",1103],[4,"Error",1079],[4,"FromHexError",1104],[8,"Error",1105],[3,"AccountId32",1106],[4,"MultiAddress",1107],[8,"ChainBackend",0],[8,"ContractsBackend",0],[4,"PolkadotConfig",0]],"b":[[103,"impl-BitAnd-for-H256"],[104,"impl-BitAnd%3C%26H256%3E-for-%26H256"],[105,"impl-BitAndAssign-for-H256"],[106,"impl-BitAndAssign%3C%26H256%3E-for-H256"],[107,"impl-BitOr-for-H256"],[108,"impl-BitOr%3C%26H256%3E-for-%26H256"],[109,"impl-BitOrAssign%3C%26H256%3E-for-H256"],[110,"impl-BitOrAssign-for-H256"],[111,"impl-BitXor%3C%26H256%3E-for-%26H256"],[112,"impl-BitXor-for-H256"],[113,"impl-BitXorAssign-for-H256"],[114,"impl-BitXorAssign%3C%26H256%3E-for-H256"],[249,"impl-Display-for-AccountKeyring"],[250,"impl-Debug-for-AccountKeyring"],[257,"impl-UpperHex-for-H256"],[258,"impl-LowerHex-for-H256"],[259,"impl-Display-for-H256"],[260,"impl-Debug-for-H256"],[282,"impl-From%3CAccountKeyring%3E-for-H256"],[283,"impl-From%3C%26%5Bu8;+32%5D%3E-for-H256"],[284,"impl-From%3C%26mut+%5Bu8;+32%5D%3E-for-H256"],[285,"impl-From%3C%5Bu8;+32%5D%3E-for-H256"],[287,"impl-From%3CH160%3E-for-H256"],[288,"impl-From%3CEd25519Keyring%3E-for-H256"],[289,"impl-From%3CPublic%3E-for-H256"],[290,"impl-From%3CPublic%3E-for-H256"],[519,"impl-AccountKeyring"],[520,"impl-IntoEnumIterator-for-AccountKeyring"],[565,"impl-Keypair"],[566,"impl-Signer%3CT%3E-for-Keypair"],[955,"impl-Display-for-Error"],[956,"impl-Debug-for-Error"],[959,"impl-From%3CError%3E-for-Error"],[960,"impl-From%3CFromHexError%3E-for-Error"]]},\ +"ink_e2e":{"doc":"Module for the logic behind ink!’s End-to-End testing …","t":"QENNQNNDGDDINNDINNDIGQQNNQQNNDHDDDDRNEDDDDNDLLLLMFLMLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLFLLLLLLLLLLLLLMLLLLLMLLKLLFFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLFALMMMMLLLLFLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFFFLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLALLLLLCCXLLLLLLLLLLLLLLLLCCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDLLLLLLLLLLLLLLLLLLLLLLLLLMMMMLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLENNDNDGDLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLFFFFFFFF","n":["AccountId","AccountKeyring","Alice","AliceStash","Balance","Bob","BobStash","CallBuilder","CallBuilderFinal","CallDryRunResult","CallResult","ChainBackend","Charlie","CharlieStash","Client","ContractsBackend","Dave","DaveStash","DefaultSandbox","E2EBackend","Error","Error","Error","Eve","EveStash","EventLog","EventLog","Ferdie","FerdieStash","H256","INIT","InstantiateBuilder","InstantiateDryRunResult","InstantiationResult","Keypair","LOG_PREFIX","One","PolkadotConfig","RpcClient","SandboxClient","TestNodeProcess","TestNodeProcessBuilder","Two","UploadResult","__clone_box","__clone_box","__clone_box","__clone_box","_marker","account_id","account_id","account_id","address","alice","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_bits","as_byte_slice","as_bytes","as_bytes_mut","as_fixed_bytes","as_fixed_bytes_mut","as_mut","as_mut_bits","as_mut_byte_slice","as_mut_ptr","as_mut_slice_of","as_ptr","as_ref","as_slice_of","assign_from_slice","bitand","bitand","bitand_assign","bitand_assign","bitor","bitor","bitor_assign","bitor_assign","bitxor","bitxor","bitxor_assign","bitxor_assign","blake2_128","blake2_128_concat","blake2_256","block_number","bob","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build_block","build_blocks","build_root_and_contract_dependencies","build_with_env_or_default","call","call","call_builder","call_contract","charlie","check_equal","clear","client","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","cmp","code_hash","compare","compare","constructor_result","contains_event","contract_emitted_events","contract_result","convert_account_to_origin","covers","create_and_fund_account","create_and_fund_account","create_and_fund_account","create_call_builder","dave","debug_message","debug_message","debug_message","decode","decode","decode_all","decode_all_with_depth_limit","decode_as_type_maybe_compact","decode_with_depth_limit","decode_with_metadata","default","default","default_actor","defensive_max","defensive_max","defensive_min","defensive_min","defensive_strict_max","defensive_strict_max","defensive_strict_min","defensive_strict_min","deploy_contract","deref","derive","deserialize","drop","dry_run","dry_run","dry_run","dry_run","dry_run","dry_run","encode","encode_as","encode_as_type_to","encode_hex","encode_hex_upper","encode_with_metadata","encoded_size","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","eve","events","events","events","events","events","exec_result","exec_return_value","execute_with","extra_gas_portion","extra_gas_portion","ferdie","finalize_block","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","free_balance","free_balance","free_balance","free_balance","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_account_id","from_ffi_value","from_h256_public","from_inner","from_insecure_url","from_low_u64_be","from_low_u64_le","from_low_u64_ne","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_phrase","from_public","from_raw_public","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_seed","from_slice","from_str","from_str","from_uri","from_url","gas_limit","gas_limit","get_hash","get_hash","get_metadata","get_timestamp","hash","hash","identity","index","index_mut","initialize_block","inner","instantiate","instantiate","instantiate_contract","instantiate_return_value","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_ffi_value","into_inner","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_visitor","is_clear","is_err","is_err","is_zero","iter","iter","kill","len_bytes","log_error","log_info","log_prefix","max_encoded_len","message_result","message_result","mint_into","new","new","new","new","new","new","numeric","numeric_id","one","pair","partial_cmp","partial_cmp","public","public_key","random","random_using","randomize","randomize_using","register_extension","remove_code","remove_code","repeat_byte","request","reset_events","return_data","return_data","return_value","return_value","rpc","runtime_call","runtime_call","runtime_call","runtime_call","serialize","set_timestamp","sign","sign","sign","spawn","sr25519","storage_deposit_limit","storage_deposit_limit","submit","submit","subscribe","subxt","subxt_signer","test","to_account_id","to_fixed_bytes","to_h256_public","to_keyed_vec","to_low_u64_be","to_low_u64_le","to_low_u64_ne","to_owned","to_owned","to_owned","to_owned","to_raw_public","to_raw_public_vec","to_seed","to_string","to_string","tokio","tracing_subscriber","try_as_bits","try_as_mut_bits","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","two","twox_128","twox_256","twox_64_concat","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_info","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","upload","upload","upload_contract","url","using_encoded","value","value","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","with_authority","zero","CodeStoredEvent","ContractEmitted","ContractInstantiatedEvent","EventWithTopics","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","blake2_128","blake2_128","blake2_128","blake2_128_concat","blake2_128_concat","blake2_128_concat","blake2_256","blake2_256","blake2_256","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","code_hash","contract","contract","data","decode","decode","decode","decode","decode","decode","decode_all","decode_all","decode_all","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_as_fields","decode_as_fields","decode_as_fields","decode_as_type_maybe_compact","decode_as_type_maybe_compact","decode_as_type_maybe_compact","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","decode_with_metadata","decode_with_metadata","decode_with_metadata","deployer","encode","encode","encode","encode","encode_as","encode_as","encode_as","encode_as_fields_to","encode_as_fields_to","encode_as_fields_to","encode_as_type_to","encode_as_type_to","encode_as_type_to","encode_to","encode_to","encode_to","encode_with_metadata","encode_with_metadata","encode_with_metadata","encoded_size","encoded_size","encoded_size","event","fmt","fmt","fmt","from","from","from","from","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","identity","identity","identity","into","into","into","into","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_key","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","into_ref","into_visitor","into_visitor","into_visitor","size_hint","size_hint","size_hint","to_keyed_vec","to_keyed_vec","to_keyed_vec","topics","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","try_into_key","twox_128","twox_128","twox_128","twox_256","twox_256","twox_256","twox_64_concat","twox_64_concat","twox_64_concat","type_id","type_id","type_id","type_id","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","using_encoded","vzip","vzip","vzip","vzip","Error","Hex","InvalidSeed","Keypair","Phrase","PublicKey","Seed","Signature","__clone_box","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_bits","as_bits","as_byte_slice","as_byte_slice","as_ref","as_ref","as_slice_of","as_slice_of","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","dev","encode_hex","encode_hex","encode_hex_upper","encode_hex_upper","eq","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from","from","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","into","into","into","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","to_account_id","to_address","to_owned","to_string","try_as_bits","try_as_bits","try_from","try_from","try_from","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","type_id","type_id","type_id","unchecked_into","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","verify","vzip","vzip","vzip","alice","bob","charlie","dave","eve","ferdie","one","two"],"q":[[0,"ink_e2e"],[738,"ink_e2e::events"],[921,"ink_e2e::sr25519"],[1031,"ink_e2e::sr25519::dev"],[1039,"dyn_clone::sealed"],[1040,"ink_primitives::types"],[1041,"core::any"],[1042,"bitvec::slice"],[1043,"bitvec::order"],[1044,"byte_slice_cast"],[1045,"core::result"],[1046,"byte_slice_cast"],[1047,"std::ffi::os_str"],[1048,"core::convert"],[1049,"core::clone"],[1050,"subxt::config"],[1051,"std::path"],[1052,"core::marker"],[1053,"core::marker"],[1054,"core::marker"],[1055,"sp_weights::weight_v2"],[1056,"core::option"],[1057,"pallet_contracts::wasm"],[1058,"pallet_contracts::primitives"],[1059,"sp_runtime"],[1060,"frame_system"],[1061,"pallet_contracts::primitives"],[1062,"core::cmp"],[1063,"ink_primitives"],[1064,"subxt::blocks::extrinsic_types"],[1065,"subxt::error"],[1066,"core::future::future"],[1067,"alloc::boxed"],[1068,"core::pin"],[1069,"ink_sandbox"],[1070,"alloc::string"],[1071,"parity_scale_codec::error"],[1072,"parity_scale_codec::codec"],[1073,"scale_type_resolver"],[1074,"subxt::metadata::metadata_type"],[1075,"pallet_contracts::primitives"],[1076,"serde::de"],[1077,"core::ops::function"],[1078,"parity_scale_codec::codec"],[1079,"core::iter::traits::collect"],[1080,"core::fmt"],[1081,"sp_core::ed25519"],[1082,"sp_keyring::ed25519"],[1083,"sp_core::sr25519"],[1084,"subxt::backend::rpc::rpc_client_t"],[1085,"sp_core::crypto"],[1086,"sp_wasm_interface"],[1087,"bip39"],[1088,"rustc_hex"],[1089,"subxt_signer::crypto::secret_uri"],[1090,"core::hash"],[1091,"core::hash"],[1092,"core::hash"],[1093,"ink_env::call::common"],[1094,"ink_env::call::create_builder"],[1095,"ink_env::call::common"],[1096,"ink_env::call::create_builder::state"],[1097,"ink_env::call::common"],[1098,"alloc::rc"],[1099,"sp_keyring::sr25519"],[1100,"core::iter::traits::iterator"],[1101,"ink_primitives"],[1102,"sp_core::sr25519"],[1103,"sp_externalities::extensions"],[1104,"subxt::backend::rpc::rpc_client"],[1105,"serde::de"],[1106,"sp_runtime"],[1107,"sp_core::sr25519"],[1108,"core::any"],[1109,"pallet_contracts::primitives"],[1110,"hex::error"],[1111,"bip39"],[1112,"subxt::utils::multi_address"]],"d":["Account type.","Set of test accounts.","","","Balance type.","","","Allows to build an end-to-end call using a builder pattern.","Represents an initialized contract message builder.","Result of the dry run of a contract call.","Result of a contract call.","General chain operations useful in contract testing.","","","The Client takes care of communicating with the node.","Contract-specific operations.","","","","Full E2E testing backend: combines general chain API and …","","Error type.","Error type.","","","Event log type.","Event log type.","","","Fixed-size uninterpreted hash type with 32 bytes (256 …","We use this to only initialize env_logger once.","Allows to build an end-to-end instantiation call using a …","Result of the dry run of a contract call.","Result of a contract instantiation.","An sr25519 keypair implementation. While the API is …","This prefix will be used for log output. It is set by each …","","Default set of commonly used types by Polkadot nodes.","A concrete wrapper around an RpcClientT which provides …","","Spawn a local substrate node for testing.","Construct a test node process.","","Result of a contract upload.","","","","","","Get an ink! ink_primitives::AccountId for a given keyring …","","The account id at which the contract was instantiated.","","Equivalent to {DEV_PHRASE}//Alice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Extracts a byte slice containing the entire fixed hash.","Extracts a mutable byte slice containing the entire fixed …","Extracts a reference to the byte array containing the …","Extracts a reference to the byte array containing the …","","","","Returns a mutable raw pointer to the value.","","Returns a constant raw pointer to the value.","","","Assign the bytes from the byte slice src to self.","","","","","","","","","","","","","","","","","Equivalent to {DEV_PHRASE}//Bob.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Construct a builder for spawning a test node process.","","","Builds the “root” contract (the contract in which the …","Construct a builder for spawning a test node process, …","Start building a call using a builder pattern.","Start building a call using a builder pattern.","Returns the account id at which the contract was …","","Equivalent to {DEV_PHRASE}//Charlie.","","","Returns the subxt client connected to the running node.","","","","","","","","","","","The hash with which the contract can be instantiated.","","","Returns the encoded return value from the constructor.","Returns true if the specified event was triggered by the …","Returns all the ContractEmitted events emitted by the …","The result of the dry run, contains debug messages if …","","Returns true if all bits set in b are also set in self.","Generate a new account and fund it with the given amount …","","","Creates a call builder builder for Contract, based on an …","Equivalent to {DEV_PHRASE}//Dave.","Returns any debug message output by the contract decoded …","Returns any debug message output by the contract decoded …","Returns any debug message output by the contract decoded …","","","","","","","","","","","","","","","","","","","","","Derive a child key from this one given a series of …","","","Dry run the call.","Dry run the instantiate call.","","The result of the dry run, contains debug messages if …","The result of the dry run, contains debug messages if …","The result of the dry run, contains debug messages if …","","","","","","SCALE encode this type to bytes, possibly with the help of …","","","","","","","","","","","","","","Equivalent to {DEV_PHRASE}//Eve.","","","Events that happened with the contract instantiation.","Events that happened with the contract instantiation.","Events that happened with the contract instantiation.","The result of the dry run, contains debug messages if …","Returns the ExecReturnValue resulting from the dry-run …","","Increases the gas limit marginally by a specified percent. …","Increases the gas limit marginally by a specified percent. …","Equivalent to {DEV_PHRASE}//Ferdie.","","","","","","","","","","","","","","","Returns the free balance of account.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Constructs a hash type from the given reference to the …","","Returns the argument unchanged.","","","Constructs a hash type from the given bytes array of fixed …","Constructs a hash type from the given reference to the …","Returns the argument unchanged.","","","","","","Create a default RPC client pointed at some URL, currently …","Creates a new hash type from the given u64 value.","Creates a new hash type from the given u64 value.","Creates a new hash type from the given u64 value.","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Create am sr25519 keypair from a BIP-39 mnemonic phrase …","","","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","Turn a 32 byte seed into a keypair.","Create a new fixed-hash from the given slice src.","","Creates a hash type instance from the given string.","Create am sr25519 keypair from a SecretUri. See the …","Create a default RPC client pointed at some URL, currently …","Specifies the raw gas limit as part of the call.","Specifies the raw gas limit as part of the call.","","","","","","","","","","","","Start building an instantiate call using a builder pattern.","Start building an instantiate call using a builder pattern.","","Returns the InstantiateReturnValue resulting from the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns true if the dry-run execution resulted in an error.","Returns true if the dry-run execution resulted in an error.","Returns true if no bits are set.","","Returns an iterator over all test accounts.","Attempt to kill the running substrate process.","Returns the size of this hash in bytes.","Writes msg to stderr.","Writes msg to stdout.","Returns the name of the test which is currently executed.","","Returns the MessageResult from the execution of the …","Returns the MessageResult from the execution of the …","","Initialize a call builder with defaults values.","Initialize a call builder with essential values.","","","Creates a new Client instance using a subxt client.","Create a new RpcClient from an arbitrary RpcClientT …","Create a crypto Pair from a numeric value.","Get account id of a numeric account.","Equivalent to {DEV_PHRASE}//One.","","","","","Obtain the PublicKey part of this key pair, which can be …","Create a new hash with cryptographically random content.","Create a new hash with cryptographically random content …","Assign self to a cryptographically random value.","Assign self to a cryptographically random value using the …","","Start building a remove code call.","Start building a remove code call.","Returns a new fixed hash where all bits are set to the …","Make an RPC request, given a method name and some …","","Returns the return value as raw bytes of the message from …","Returns the return value as raw bytes of the message from …","Returns the decoded return value of the message from the …","Returns the decoded return value of the message from the …","Returns the subxt RPC client connected to the running node.","Executes a runtime call call_name for the pallet_name. The …","","","","","","","Sign some message. These bytes can be used directly in a …","","Spawn the substrate node at the given path, and wait for …","An sr25519 keypair implementation.","Specify the max amount of funds that can be charged for …","Specify the max amount of funds that can be charged for …","Submit the call for the on-chain execution.","Submit the instantiate call for the on-chain execution.","Subscribe to an RPC endpoint, providing the parameters and …","","","Defines an End-to-End test.","","Returns the inner bytes array.","","","Returns the lowest 8 bytes interpreted as big-endian.","Returns the lowest 8 bytes interpreted as little-endian.","Returns the lowest 8 bytes interpreted as native-endian.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Equivalent to {DEV_PHRASE}//Two.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Start building an upload call.","Start building an upload call.","","Returns the URL of the running node.","","Provide value with a call","Provide value with a call","","","","","","","","","","","","","","","","","","Set the authority development account for a node in …","Returns a new zero-initialized fixed hash.","Code with the specified hash has been stored.","A custom event emitted by the contract.","A contract was successfully instantiated.","A decoded event with its associated topics.","","","","","","","","","","","","","","","","","","","","","","","","","","Hash under which the contract code was stored.","Account id where the contract was instantiated to.","","","","","","","","","","","","","","","","","","","","","","","","","","","Account id of the deployer.","","","","","","","","","","","","","","","","","SCALE encode this type to bytes, possibly with the help of …","SCALE encode this type to bytes, possibly with the help of …","SCALE encode this type to bytes, possibly with the help of …","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","An error handed back if creating a keypair fails.","Invalid hex.","Invalid seed.","An sr25519 keypair implementation. While the API is …","Invalid phrase.","The public key for an Keypair key pair. This is equivalent …","Seed bytes used to generate a key pair.","A signature generated by Keypair::sign(). These bytes are …","","","","","","","","","","","","","","","","","","","","","","","","Dev accounts, helpful for testing but not to be used in …","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","A shortcut to obtain an AccountId32 from a PublicKey. We …","A shortcut to obtain a MultiAddress from a PublicKey. We …","","","","","","","","","","","","","","","","","","","","","","","Verify that some signature for a message was created by …","","","","Equivalent to {DEV_PHRASE}//Alice.","Equivalent to {DEV_PHRASE}//Bob.","Equivalent to {DEV_PHRASE}//Charlie.","Equivalent to {DEV_PHRASE}//Dave.","Equivalent to {DEV_PHRASE}//Eve.","Equivalent to {DEV_PHRASE}//Ferdie.","Equivalent to {DEV_PHRASE}//One.","Equivalent to {DEV_PHRASE}//Two."],"i":[138,0,3,3,138,3,3,0,0,0,0,0,3,3,0,0,3,3,0,0,0,138,139,3,3,138,139,3,3,0,0,0,0,0,0,0,3,0,0,0,0,0,3,0,3,5,11,42,60,0,5,31,5,0,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,66,0,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,40,66,66,0,40,139,139,31,66,0,11,11,40,3,5,11,42,3,5,11,42,3,11,82,3,11,44,47,47,44,66,11,138,56,58,0,0,47,44,60,11,11,11,11,11,11,11,66,11,66,3,11,3,11,3,11,3,11,66,42,5,11,40,25,70,66,31,82,47,11,11,11,11,11,11,11,3,11,3,3,3,3,3,11,11,11,11,11,0,0,66,31,82,47,60,60,66,25,70,0,66,3,3,31,82,47,5,44,60,11,11,11,11,42,138,66,56,58,25,70,3,31,82,47,5,66,44,44,40,17,56,58,60,140,11,11,11,11,11,11,11,11,11,42,42,3,11,3,11,42,11,11,11,25,25,70,70,3,3,31,31,82,82,47,47,5,5,66,66,44,44,40,40,17,17,56,56,58,58,60,60,140,140,11,11,42,42,5,3,3,25,25,70,70,3,3,31,31,82,82,47,47,5,5,66,66,44,44,40,40,17,17,56,56,58,58,60,60,140,140,11,11,42,42,5,11,3,11,5,42,25,70,3,11,66,66,3,11,11,11,11,66,11,139,139,66,44,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,11,11,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,11,11,44,60,11,3,3,40,11,0,0,0,11,47,60,66,25,70,17,56,58,42,3,3,0,3,3,11,3,5,11,11,11,11,66,139,139,11,42,66,47,60,47,60,40,138,66,56,58,11,66,3,5,5,17,0,25,70,25,70,42,0,0,0,3,11,3,11,11,11,11,3,5,11,42,3,3,3,3,11,0,0,11,11,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,0,11,11,11,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,11,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,139,139,66,40,11,25,70,25,70,3,31,82,47,5,66,44,40,17,56,58,60,140,11,42,17,11,0,0,0,0,51,130,131,50,51,130,131,50,130,131,50,130,131,50,130,131,50,51,130,131,50,51,130,131,50,131,130,50,50,130,130,131,131,50,50,130,131,50,130,131,50,130,131,50,130,131,50,130,131,50,130,131,50,130,130,131,131,50,130,131,50,130,131,50,130,131,50,130,131,50,130,131,50,130,131,50,51,130,131,50,51,130,131,50,51,51,130,130,131,131,50,50,51,51,130,130,131,131,50,50,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,130,131,50,130,131,50,130,131,50,51,51,130,131,50,51,130,131,50,51,130,131,50,130,131,50,130,131,50,130,131,50,51,130,131,50,51,130,131,50,51,130,131,50,131,51,130,131,50,0,92,92,0,92,0,0,0,124,114,124,92,114,124,92,114,124,114,124,114,124,114,124,114,124,92,114,124,92,124,124,0,114,124,114,124,124,124,124,124,124,124,92,92,114,124,92,92,92,114,114,124,124,92,92,114,114,124,124,92,92,114,124,92,114,124,92,114,124,92,114,124,92,114,124,92,114,124,92,114,124,92,114,114,124,92,114,124,114,124,92,114,124,92,114,124,92,114,124,92,114,124,92,114,124,92,0,114,124,92,0,0,0,0,0,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],0,[3,4],[5],0,[5],[[],5],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[7,[-2,-3]]],[],[],8],[-1,[[10,[9]]],[]],[11,[[10,[9]]]],[11,[[10,[9]]]],[11,[[12,[9]]]],[11,[[12,[9]]]],[11,[[10,[9]]]],[-1,[[7,[-2,-3]]],[],[],8],[-1,[[10,[9]]],[]],[11,9],[-1,[[14,[[10,[-2]],13]]],[],15],[11,9],[11,[[10,[9]]]],[-1,[[14,[[10,[-2]],13]]],[],15],[[11,[10,[9]]],2],[[11,11]],[[11,11]],[[11,11],2],[[11,11],2],[[11,11]],[[11,11]],[[11,11],2],[[11,11],2],[[11,11]],[[11,11]],[[11,11],2],[[11,11],2],[-1,[[12,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[],[]],[[],5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[17,[-2]]],[[19,[18]],20],21],[-1,[],[]],[[-1,22],[],[]],[[],[[16,[23]]]],[[],[[17,[-1]]],21],[[-2,5,[24,[-1,-3,-4]]],[[25,[-1,-3,-4,-2]]],[],[26,[0,[-1]]],[27,28,20],[29,30]],[[-2,5,[24,[-1,-3,-4]]],[[25,[-1,-3,-4,-2]]],[],[26,[0,[-1]]],[27,28,20],[29,30]],[[[31,[-1,-2]]],[],32,[]],[[-1,[16,[9]],33,34,35],[[39,[[14,[36,37]],38]]],[]],[[],5],[[11,11],2],[[],-1,[]],[[[40,[-1]]],[[41,[-1]]],21],[3,3],[5,5],[11,11],[42,42],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[3,3],43],[[11,11],43],0,[[-1,-2],43,[],[]],[[-1,-2],43,[],[]],[[[44,[-1]]],[[45,[-2]]],32,30],[[[47,[-1,-2,[46,[-3]]]],48,48],49,32,[],21],[[[47,[-1,-2,[46,[-3]]]]],[[14,[[16,[[51,[[50,[-1]]]]]],52]]],32,[],21],0,[[]],[[11,11],49],[[-1,5],[[55,[[54,[53]]]]],[]],[[[56,[-1,-2,-3]],5],[[55,[[54,[53]]]]],[[19,[[12,[9]]]],29],[],57],[[[58,[-1,-2]],5],[[55,[[54,[53]]]]],[21,29,27],32],[[]],[[],5],[[[47,[-1,-2,-3]]],59,32,30,[]],[[[44,[-1]]],59,32],[[[60,[-1,-2]]],59,32,30],[-1,[[14,[-2,61]]],62,[]],[-1,[[14,[11,61]]],62],[[[10,[9]]],[[14,[-1,61]]],[]],[[22,[10,[9]]],[[14,[-1,61]]],[]],[[[10,[9]],-1,49],[[14,[-2,63]]],64,[]],[[22,-1],[[14,[-2,61]]],62,[]],[[[10,[9]],22,65],[[14,[-1,52]]],[]],[[],66],[[],11],[[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,[16,[9]],[16,[9]],[16,[9]],33,34],[[39,[[14,[67,37]],38]]],[]],[42],[[5,-1],5,68],[-1,[[14,[11]]],69],[[[40,[-1]]],2,21],[[[25,[-1,-2,-3,-4]]],[[14,[[60,[-1,-3]]]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]]],[[14,[[44,[-1]]]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[66,-1],-2,71,[]],0,0,0,[[-1,-2],2,[],[72,26]],[-1,[[16,[9]]],[]],[[11,-1,[16,[9]]],[[14,[2,73]]],64],[-1,-2,[],[[75,[74]]]],[-1,-2,[],[[75,[74]]]],[[-1,22,65,[16,[9]]],[[14,[2,52]]],[]],[-1,76,[]],[[3,3],49],[[11,11],49],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[],5],0,[-1,[[16,[38]]],[]],0,0,0,0,[[[60,[-1,-2]]],36,32,30],[[66,-1],-2,71,[]],[[[25,[-1,-2,-3,-4]],77],[[25,[-1,-2,-3,-4]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]],77],[[70,[-1,-2,-3,-4,-5]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[],5],[[]],[[3,78],[[14,[2,79]]]],[[3,78],[[14,[2,79]]]],[[[31,[-1,-2]],78],80,32,81],[[[82,[-1,-2]],78],80,32,81],[[[47,[-1,-2,-3]],78],80,[81,32],81,81],[[5,78],[[14,[2,79]]]],[[[44,[-1]],78],80,32],[[[60,[-1,-2]],78],80,[81,32],81],[[11,78],[[14,[2,79]]]],[[11,78],[[14,[2,79]]]],[[11,78],[[14,[2,79]]]],[[11,78],[[14,[2,79]]]],[[42,78],[[14,[2,79]]]],[-1,[[55,[[54,[53]]]]],[]],[-1,[],[]],[[[56,[-1,-2,-3]]],[[55,[[54,[53]]]]],[[19,[[12,[9]]]],29],[],57],[[[58,[-1,-2]]],[[55,[[54,[53]]]]],[21,29,27],32],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[83,[2]]],[[44,[-1]]],32],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[84,11],[85,11],[[[12,[9]]],11],[86,11],[-1,-1,[]],[3,11],[87,11],[[[12,[9]]],11],[[[12,[9]]],11],[-1,-1,[]],[-1,42,88],[89,[[34,[3]]]],[90,[[14,[-1,59]]],[]],[11,[[34,[3]]]],[[],11],[-1,[[14,[42,52]]],[[19,[48]]]],[77,11],[77,11],[77,11],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[[91,[34,[48]]],[[14,[5,92]]]],[87,[[34,[3]]]],[[[12,[9]]],[[34,[3]]]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[[[12,[9]]],[[14,[5,92]]]],[[[10,[9]]],11],[48,[[14,[3]]]],[48,[[14,[11,93]]]],[94,[[14,[5,92]]]],[-1,[[14,[42,52]]],[[19,[48]]]],[[[25,[-1,-2,-3,-4]],33],[[25,[-1,-2,-3,-4]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]],33],[[70,[-1,-2,-3,-4,-5]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[-1,-2],77,[95,26],96],[[-1,-2],77,[95,26],96],[[],97],[-1,[],[]],[[3,-1],2,98],[[11,-1],2,98],[-1,[[16,[9]]],[]],[[11,-1],[],[[99,[[10,[9]]]]]],[[11,-1],[],[[99,[[10,[9]]]]]],[[],2],[11],[[-2,48,5,[106,[-1,-3,100,[102,[[101,[-1]]]],100,[102,[[103,[-4]]]],[100,[104]],[102,[[105,[-5]]]]]]],[[70,[-1,-3,-4,-5,-2]]],[],[26,[0,[-1]]],20,[29,20,28,27],[]],[[-2,48,5,[106,[-1,-3,100,[102,[[101,[-1]]]],100,[102,[[103,[-4]]]],[100,[104]],[102,[[105,[-5]]]]]]],[[70,[-1,-3,-4,-5,-2]]],[],[26,[0,[-1]]],20,[29,20,28,27],[]],[[-1,[16,[9]],[16,[9]],[16,[9]],33,34],[[39,[[14,[67,37]],38]]],[]],[[[44,[-1]]],67,32],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[-1,90],[[14,[59]]],[]],[11],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[]],[-1,49,[]],[[[44,[-1]]],49,32],[[[60,[-1,-2]]],49,32,30],[11,49],[[],109],[[],[[0,[110]]]],[[[40,[-1]]],[[14,[2,59]]],21],[[],76],[48,2],[48,2],[[],59],[[],76],[[[47,[-1,-2,-3]]],[[111,[-2]]],32,30,[]],[[[60,[-1,-2]]],[[111,[-2]]],32,30],[-1,[[14,[37]]],[]],[[-2,5,[24,[-1,-3,-4]]],[[25,[-1,-3,-4,-2]]],32,[[0,[-1]]],[27,28,20],[29,30]],[[-2,5,48,[106,[-1,-3,100,[102,[[101,[-1]]]],100,[102,[[103,[-4]]]],[100,[104]],[102,[[105,[-5]]]]]]],[[70,[-1,-3,-4,-5,-2]]],32,[[0,[-1]]],20,[28,20,29,27],[]],[-1,[[17,[-2]]],[[19,[18]]],21],[-1,[[56,[-2,-3,-4]]],68,[],[],[112,57]],[[42,-1],[[14,[[58,[-2,-3]],52]]],68,21,32],[-1,42,88],[76,113],[76,89],[[],5],[3,113],[[3,3],[[34,[43]]]],[[11,11],[[34,[43]]]],[3,87],[5,114],[[],11],[-1,11,[115,26]],[11,2],[[11,-1],2,[115,26]],[[66,-1],2,[6,116]],[[-2,5],[[0,[-1,-2]]],[],[26,[0,[-1]]]],[[-2,5],[[0,[-1,-2]]],[],[26,[0,[-1]]]],[9,11],[[42,48,117],[[14,[-1,52]]],118],[-1,2,[]],[[[47,[-1,-2,-3]]],[[10,[9]]],32,30,[]],[[[60,[-1,-2]]],[[10,[9]]],32,30],[[[47,[-1,-2,-3]]],-2,32,30,[]],[[[60,[-1,-2]]],-2,32,30],[[[40,[-1]]],42,21],[[-1,5,48,48,[16,[119]]],[[55,[[54,[53]]]]],[]],[[-1,-2],[[14,[120]]],[],121],[[[56,[-1,-2,-3]],5,48,48,[16,[119]]],[[55,[[54,[53]]]]],[[19,[[12,[9]]]],29],[],57],[[[58,[-1,-2]],5,48,48,[16,[119]]],[[55,[[54,[53]]]]],[21,29,27],32],[[11,-1],14,122],[-1,2,[]],[[3,[10,[9]]],123],[[5,[10,[9]]],124],[[5,[10,[9]]]],[[[17,[-1]]],[[14,[[40,[-1]],59]]],21],0,[[[25,[-1,-2,-3,-4]]],[[25,[-1,-2,-3,-4]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]]],[[70,[-1,-2,-3,-4,-5]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[[25,[-1,-2,-3,-4]]],[[14,[[47,[-1,-3]]]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]]],[[14,[[31,[-1]]]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[[42,48,117,48],[[14,[[125,[-1]],52]]],118],0,0,0,[3,89],[11,[[12,[9]]]],[3,11],[[-1,[10,[9]]],[[16,[9]]],[]],[11,77],[11,77],[11,77],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[3,[[12,[9]]]],[3,[[16,[9]]]],[3,59],[-1,59,[]],[-1,59,[]],0,0,[-1,[[14,[[7,[-2,-3]],[126,[-2]]]]],[],[],8],[-1,[[14,[[7,[-2,-3]],[126,[-2]]]]],[],[],8],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[[],5],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[16,[9]]],[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[[],128],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-2,48,5],[[0,[-1,-2]]],[],[26,[0,[-1]]]],[[-2,48,5],[[0,[-1,-2]]],[],[26,[0,[-1]]]],[[-1,[16,[9]],34,35],[[14,[129,37]]],[]],[[[40,[-1]]],48,21],[[11,-1],-2,71,[]],[[[25,[-1,-2,-3,-4]]],[[25,[-1,-2,-3,-4]]],32,[27,28,20],[29,30],[[0,[-1]]]],[[[70,[-1,-2,-3,-4,-5]]],[[70,[-1,-2,-3,-4,-5]]],32,20,[28,20,29,27],[],[[0,[-1]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[17,[-1]],3],[[17,[-1]]],21],[[],11],0,0,0,0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[-1,[[14,[-2,61]]],62,[]],[-1,[[14,[[130,[-2]],61]]],62,32],[-1,[[14,[[131,[-2]],61]]],62,32],[-1,[[14,[-2,61]]],62,[]],[-1,[[14,[[50,[-2]],61]]],62,32],[-1,[[14,[-2,61]]],62,[]],[[[10,[9]]],[[14,[-1,61]]],[]],[[[10,[9]]],[[14,[-1,61]]],[]],[[[10,[9]]],[[14,[-1,61]]],[]],[[22,[10,[9]]],[[14,[-1,61]]],[]],[[22,[10,[9]]],[[14,[-1,61]]],[]],[[22,[10,[9]]],[[14,[-1,61]]],[]],[[[10,[9]],132,-1],[[14,[[130,[-2]],63]]],64,32],[[[10,[9]],132,-1],[[14,[[131,[-2]],63]]],64,32],[[[10,[9]],132,-1],[[14,[[50,[-2]],63]]],64,32],[[[10,[9]],-1,49],[[14,[-2,63]]],64,[]],[[[10,[9]],-1,49],[[14,[-2,63]]],64,[]],[[[10,[9]],-1,49],[[14,[-2,63]]],64,[]],[[22,-1],[[14,[-2,61]]],62,[]],[[22,-1],[[14,[-2,61]]],62,[]],[[22,-1],[[14,[-2,61]]],62,[]],[[[10,[9]],22,65],[[14,[-1,52]]],[]],[[[10,[9]],22,65],[[14,[-1,52]]],[]],[[[10,[9]],22,65],[[14,[-1,52]]],[]],0,[[-1,-2],2,[],[72,26]],[[[131,[-1]]],[[16,[9]]],32],[[-1,-2],2,[],[72,26]],[[-1,-2],2,[],[72,26]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[[[130,[-1]],132,-2,[16,[9]]],[[14,[2,73]]],[133,32],64],[[[131,[-1]],132,-2,[16,[9]]],[[14,[2,73]]],[133,32],64],[[[50,[-1]],132,-2,[16,[9]]],[[14,[2,73]]],[133,32],64],[[[130,[-1]],-2,[16,[9]]],[[14,[2,73]]],[133,32],64],[[[131,[-1]],-2,[16,[9]]],[[14,[2,73]]],[133,32],64],[[[50,[-1]],-2,[16,[9]]],[[14,[2,73]]],[133,32],64],[[[130,[-1]],-2],2,32,[72,26]],[[[131,[-1]],-2],2,32,[72,26]],[[[50,[-1]],-2],2,32,[72,26]],[[-1,22,65,[16,[9]]],[[14,[2,52]]],[]],[[-1,22,65,[16,[9]]],[[14,[2,52]]],[]],[[-1,22,65,[16,[9]]],[[14,[2,52]]],[]],[-1,76,[]],[-1,76,[]],[-1,76,[]],0,[[[130,[-1]],78],80,[81,32]],[[[131,[-1]],78],80,[81,32]],[[[50,[-1]],78],80,[81,32]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[]],[[]],[[]],[[[130,[-1]]],76,32],[[[131,[-1]]],76,32],[[[50,[-1]]],76,32],[[-1,[10,[9]]],[[16,[9]]],[]],[[-1,[10,[9]]],[[16,[9]]],[]],[[-1,[10,[9]]],[[16,[9]]],[]],0,[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[12,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,[[16,[9]]],[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[131,[-1]],-2],-3,32,71,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,[[-1,1],2,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[7,[-2,-3]]],[],[],8],[-1,[[7,[-2,-3]]],[],[],8],[-1,[[10,[9]]],[]],[-1,[[10,[9]]],[]],[114,[[10,[9]]]],[124,[[10,[9]]]],[-1,[[14,[[10,[-2]],13]]],[],15],[-1,[[14,[[10,[-2]],13]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[124,124],[[-1,-2],2,[],[]],0,[-1,-2,[],[[75,[74]]]],[-1,-2,[],[[75,[74]]]],[-1,-2,[],[[75,[74]]]],[-1,-2,[],[[75,[74]]]],[[124,124],49],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[-1,-2],49,[],[]],[[92,78],[[14,[2,79]]]],[[92,78],[[14,[2,79]]]],[-1,-1,[]],[-1,-1,[]],[134,92],[135,92],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[54,[-1]]],[[54,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[107,[-1]]],[[107,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[[[108,[-1]]],[[108,[6]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[114,136],[114,[[137,[136,-1]]],[]],[-1,-2,[],[]],[-1,59,[]],[-1,[[14,[[7,[-2,-3]],[126,[-2]]]]],[],[],8],[-1,[[14,[[7,[-2,-3]],[126,[-2]]]]],[],[],8],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,[[14,[-2]]],[],[]],[-1,127,[]],[-1,127,[]],[-1,127,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[124,-1,114],49,[[19,[[10,[9]]]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5]],"c":[],"p":[[3,"Private",1039],[15,"tuple"],[4,"AccountKeyring",0],[3,"AccountId",1040],[3,"Keypair",0],[8,"Any",1041],[3,"BitSlice",1042],[8,"BitOrder",1043],[15,"u8"],[15,"slice"],[3,"H256",0],[15,"array"],[4,"Error",1044],[4,"Result",1045],[8,"FromByteSlice",1044],[3,"Vec",1046],[3,"TestNodeProcessBuilder",0],[3,"OsStr",1047],[8,"AsRef",1048],[8,"Clone",1049],[8,"Config",1050],[15,"u32"],[3,"PathBuf",1051],[6,"CallBuilderFinal",0],[3,"CallBuilder",0],[8,"Sized",1052],[8,"Sync",1052],[8,"Encode",1053],[8,"Send",1052],[8,"Decode",1053],[3,"InstantiationResult",0],[8,"Environment",1054],[3,"Weight",1055],[4,"Option",1056],[4,"Determinism",1057],[3,"ExecReturnValue",1058],[4,"DispatchError",1059],[3,"EventRecord",1060],[3,"ContractResult",1058],[3,"TestNodeProcess",0],[3,"OnlineClient",1061],[3,"RpcClient",0],[4,"Ordering",1062],[3,"InstantiateDryRunResult",0],[6,"ConstructorResult",1063],[3,"ExtrinsicEvents",1064],[3,"CallResult",0],[15,"str"],[15,"bool"],[3,"ContractEmitted",738],[3,"EventWithTopics",738],[4,"Error",1065],[8,"Future",1066],[3,"Box",1067],[3,"Pin",1068],[3,"SandboxClient",0],[8,"Sandbox",1069],[3,"Client",0],[3,"String",1070],[3,"CallDryRunResult",0],[3,"Error",1071],[8,"Input",1053],[3,"Error",1072],[8,"TypeResolver",1073],[3,"Metadata",1074],[3,"DefaultSandbox",0],[3,"InstantiateReturnValue",1058],[8,"IntoIterator",1075],[8,"Deserializer",1076],[3,"InstantiateBuilder",0],[8,"FnOnce",1077],[8,"Output",1053],[3,"Error",1078],[15,"char"],[8,"FromIterator",1075],[15,"usize"],[15,"u64"],[3,"Formatter",1079],[3,"Error",1079],[6,"Result",1079],[8,"Debug",1079],[3,"UploadResult",0],[6,"ContractInstantiateResult",1058],[3,"H160",1080],[3,"Public",1081],[4,"Keyring",1082],[3,"Public",1083],[8,"RpcClientT",1084],[3,"AccountId32",1085],[8,"FunctionContext",1086],[3,"Mnemonic",1087],[4,"Error",921],[4,"FromHexError",1088],[3,"SecretUri",1089],[8,"Hash",1090],[8,"BuildHasher",1090],[3,"RuntimeMetadataPrefixed",1091],[8,"Hasher",1090],[8,"SliceIndex",1092],[3,"Unset",1093],[3,"LimitParamsV2",1094],[3,"Set",1093],[3,"ExecutionInput",1095],[4,"Salt",1096],[3,"ReturnType",1093],[3,"CreateBuilder",1094],[3,"Arc",1097],[3,"Rc",1098],[3,"KeyringIter",1099],[8,"Iterator",1100],[6,"MessageResult",1063],[8,"Default",1101],[3,"Pair",1083],[3,"PublicKey",921],[8,"Rng",1102],[8,"Extension",1103],[3,"RpcParams",1104],[8,"DeserializeOwned",1076],[3,"Value",1105],[3,"DispatchErrorWithPostInfo",1059],[8,"Into",1048],[8,"Serializer",1106],[3,"Signature",1083],[3,"Signature",921],[3,"RpcSubscription",1104],[4,"BitSpanError",1107],[3,"TypeId",1041],[3,"Type",1108],[3,"CodeUploadReturnValue",1058],[3,"ContractInstantiatedEvent",738],[3,"CodeStoredEvent",738],[8,"FieldIter",1073],[8,"EncodeAsType",1109],[4,"FromHexError",1110],[4,"Error",1087],[3,"AccountId32",1111],[4,"MultiAddress",1112],[8,"ChainBackend",0],[8,"ContractsBackend",0],[4,"PolkadotConfig",0]],"b":[[103,"impl-BitAnd%3C%26H256%3E-for-%26H256"],[104,"impl-BitAnd-for-H256"],[105,"impl-BitAndAssign%3C%26H256%3E-for-H256"],[106,"impl-BitAndAssign-for-H256"],[107,"impl-BitOr%3C%26H256%3E-for-%26H256"],[108,"impl-BitOr-for-H256"],[109,"impl-BitOrAssign%3C%26H256%3E-for-H256"],[110,"impl-BitOrAssign-for-H256"],[111,"impl-BitXor-for-H256"],[112,"impl-BitXor%3C%26H256%3E-for-%26H256"],[113,"impl-BitXorAssign%3C%26H256%3E-for-H256"],[114,"impl-BitXorAssign-for-H256"],[255,"impl-Debug-for-AccountKeyring"],[256,"impl-Display-for-AccountKeyring"],[263,"impl-LowerHex-for-H256"],[264,"impl-Display-for-H256"],[265,"impl-Debug-for-H256"],[266,"impl-UpperHex-for-H256"],[288,"impl-From%3CH160%3E-for-H256"],[289,"impl-From%3CPublic%3E-for-H256"],[290,"impl-From%3C%26%5Bu8;+32%5D%3E-for-H256"],[291,"impl-From%3CEd25519Keyring%3E-for-H256"],[293,"impl-From%3CAccountKeyring%3E-for-H256"],[294,"impl-From%3CPublic%3E-for-H256"],[295,"impl-From%3C%5Bu8;+32%5D%3E-for-H256"],[296,"impl-From%3C%26mut+%5Bu8;+32%5D%3E-for-H256"],[526,"impl-IntoEnumIterator-for-AccountKeyring"],[527,"impl-AccountKeyring"],[573,"impl-Keypair"],[574,"impl-Signer%3CT%3E-for-Keypair"],[963,"impl-Debug-for-Error"],[964,"impl-Display-for-Error"],[967,"impl-From%3CFromHexError%3E-for-Error"],[968,"impl-From%3CError%3E-for-Error"]]},\ "ink_e2e_macro":{"doc":"","t":"X","n":["test"],"q":[[0,"ink_e2e_macro"]],"d":["Defines an End-to-End test."],"i":[0],"f":[0],"c":[],"p":[],"b":[]},\ -"ink_engine":{"doc":"","t":"NEINENNNNNLLLLKLLLLAKLLLLLLLLALLLLLLLNNNDNNDENNNNNNNNNNNLLLLMLLLLLLLLLLMMLLLLLMLLLLLLMLLLLLMLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLDDDLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLL","n":["Account","AccountError","ChainExtension","Decoding","Error","NoAccountForId","UnexpectedUserAccount","UninitializedBlocks","UninitializedExecutionContext","UnregisteredChainExtension","borrow","borrow","borrow_mut","borrow_mut","call","clone","clone_into","eq","eq","ext","ext_id","fmt","fmt","from","from","from","from","into","into","test_api","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","CallRuntimeFailed","CalleeReverted","CalleeTrapped","ChainSpec","CodeNotFound","EcdsaRecoveryFailed","Engine","Error","KeyNotFound","LoggingDisabled","NotCallable","Sr25519VerifyFailed","Success","TransferFailed","Unknown","XcmExecutionFailed","XcmSendFailed","_BelowSubsistenceThreshold","_EndowmentTooLow","address","advance_block","balance","block_number","block_time","block_timestamp","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","call_chain_extension","caller","chain_extension_handler","chain_spec","clear_storage","contains_storage","count_reads","count_used_storage_cells","count_writes","database","debug_message","default","default","deposit_event","ecdsa_recover","eq","exec_context","fmt","from","from","from","gas_left","gas_price","get_balance","get_callee","get_contract_storage_rw","get_emitted_debug_messages","get_emitted_events","get_storage","hash_blake2_128","hash_blake2_256","hash_keccak_256","hash_sha2_256","initialize_or_reset","instantiate","into","into","into","is_contract","minimum_balance","minimum_balance","new","set_balance","set_block_number","set_block_timestamp","set_callee","set_caller","set_contract","set_storage","set_value_transferred","take_storage","terminate","transfer","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","value_transferred","weight_to_fee","DebugInfo","EmittedEvent","RecordedDebugMessages","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clear","clone","clone","clone_into","clone_into","data","default","default","fmt","from","from","from","inc_reads","inc_writes","into","into","into","into_iter","new","new","record","record_cell_for_account","record_debug_message","record_event","remove_cell_for_account","reset","to_owned","to_owned","topics","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id"],"q":[[0,"ink_engine"],[37,"ink_engine::ext"],[133,"ink_engine::test_api"],[180,"alloc::vec"],[181,"core::fmt"],[182,"core::fmt"],[183,"core::result"],[184,"core::any"],[185,"core::option"],[186,"core::fmt"],[187,"alloc::string"]],"d":["","Errors encountered upon interacting with accounts.","Types implementing this trait can be used as chain …","","Errors which can happen when interacting with this crate.","","","","","","","","","","Calls the chain extension with the given input.","","","","","Provides the same interface as Substrate’s FRAME contract…","The static ID of the chain extension.","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","The call dispatched by call_runtime was executed but …","The called function ran to completion but decided to …","The called function trapped and has its state changes …","The chain specification.","No code could be found at the supplied code hash.","ECDSA public key recovery failed. Most probably wrong …","The off-chain engine.","Every error that can be returned to a contract when it …","The passed key does not exist in storage.","The call to debug_message had no effect because debug …","The account that was called is no contract.","sr25519 signature verification failed.","API call successful.","Transfer failed for other not further specified reason. …","Returns if an unknown error was received from the host …","The xcm_execute call failed.","The xcm_send call failed.","Deprecated and no longer returned: There is only the …","Deprecated and no longer returned: Endowment is no longer …","Returns the address of the executed contract.","Advances the chain by a single block.","Returns the balance of the executed contract.","Returns the current block number.","The targeted block time.","Returns the timestamp of the current block.","","","","","","","","Calls the chain extension method registered at func_id …","Returns the address of the caller.","Handler for registered chain extensions.","The chain specification.","Removes the storage entries at the given key. Returns the …","Returns the size of the value stored in the contract …","Returns the total number of reads executed.","Returns the amount of storage cells used by the account …","Returns the total number of writes executed.","The environment database.","Records the given debug message and appends to stdout.","","","Deposits an event identified by the supplied topics and …","Recovers the compressed ECDSA public key for given …","","The current execution context.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","The current gas price.","Returns the current balance of account_id.","Returns the callee, i.e. the currently executing contract.","Returns the total number of reads and writes of the …","Returns the contents of the past performed environmental …","Returns the recorded emitted events in order.","Returns the contract storage bytes at the key if any.","Conduct the BLAKE-2 128-bit hash and place the result into …","Conduct the BLAKE-2 256-bit hash and place the result into …","Conduct the KECCAK 256-bit hash and place the result into …","Conduct the SHA-2 256-bit hash and place the result into …","Resets the environment.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns boolean value indicating whether the account is a …","Returns the minimum balance that is required for creating …","The minimum value an account of the chain must have (i.e. …","","Sets the balance of account_id to new_balance.","Set the block number for the execution context.","Set the block timestamp for the execution context.","Sets the callee for the next call.","Sets a caller for the next call.","Sets a known contract by adding it to a vector of known …","Writes the encoded value into the storage at the given key.","Sets the value transferred from the caller to the callee …","Removes the storage entries at the given key, returning …","Remove the calling account and transfer remaining balance.","Transfers value from the contract to the destination …","","","","","","","","","","Returns the transferred value for the called contract.","Emulates gas price calculation.","Recorder for relevant interactions with this crate.","Record for an emitted event.","","","","","","","","","","","","","Recorded encoding of the emitted event.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Increases the number of storage reads for the supplied …","Increases the number of storage writes for the supplied …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","Records that a cell exists for an account under key.","Records a debug message.","Records an event.","Removes the cell under key for the supplied account.","Resets the recorder.","","","Recorded topics of the emitted event.","","","","","","","","",""],"i":[9,0,0,6,0,6,6,9,9,9,6,9,6,9,31,6,6,6,9,0,31,6,9,6,6,9,9,6,9,0,6,6,9,6,9,6,9,17,17,17,0,17,17,0,0,17,17,17,17,17,17,17,17,17,17,17,15,15,15,15,21,15,15,21,17,15,21,17,15,15,15,15,15,15,15,15,15,15,15,15,15,21,15,15,17,15,17,15,21,17,15,21,15,15,15,15,15,15,15,15,15,15,15,15,15,21,17,15,15,21,15,15,15,15,15,15,15,15,15,15,15,15,15,21,17,15,21,17,15,21,17,15,15,0,0,0,29,28,25,29,28,25,25,28,25,28,25,28,29,25,28,29,28,25,29,29,29,28,25,25,29,25,25,29,29,29,29,29,28,25,28,29,28,25,29,28,25,29,28,25],"f":[0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,1,[3,[2]],[4,[2]]],5,[]],[6,6],[[-1,-2],7,[],[]],[[6,6],8],[[9,9],8],0,[-1,1,[]],[[6,10],11],[[9,10],11],[-1,-1,[]],[12,6],[-1,-1,[]],[6,9],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,14,[]],[-1,14,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[15,[3,[2]]],7],[15,7],[[15,[3,[2]]],7],[[15,[3,[2]]],7],0,[[15,[3,[2]]],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[15,[3,[2]],16,[3,[2]],[3,[2]],[3,[2]]],[[13,[7,17]]]],[[15,5,[3,[2]],[3,[2]]],7],[[15,[3,[2]]],7],0,0,[[15,[3,[2]]],[[18,[5]]]],[[15,[3,[2]]],[[18,[5]]]],[15,19],[[15,[3,[2]]],[[13,[19,9]]]],[15,19],0,[[15,20],7],[[],15],[[],21],[[15,[3,[2]],[3,[2]]],7],[[15,[22,[2]],[22,[2]],[22,[2]]],[[13,[7,17]]]],[[17,17],8],0,[[17,10],[[13,[7,23]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[15,[3,[2]]],7],0,[[15,[4,[2]]],[[13,[24,9]]]],[15,[[4,[2]]]],[[15,[4,[2]]],[[7,[19,19]]]],[15,25],[15,[[0,[26]]]],[[15,[3,[2]]],[[13,[[3,[2]],17]]]],[[[3,[2]],[22,[2]]],7],[[[3,[2]],[22,[2]]],7],[[[3,[2]],[22,[2]]],7],[[[3,[2]],[22,[2]]],7],[15,7],[[15,[3,[2]],16,[3,[2]],[3,[2]],[3,[2]],[3,[2]],[3,[2]]],[[13,[7,17]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[15,[4,[2]]],8],[[15,[3,[2]]],7],0,[[],15],[[15,[4,[2]],24],7],[[15,5],7],[[15,16],7],[[15,[4,[2]]],7],[[15,[4,[2]]],7],[[15,[4,[2]]],7],[[15,[3,[2]],[3,[2]]],[[18,[5]]]],[[15,24],7],[[15,[3,[2]]],[[13,[[4,[2]],17]]]],[[15,[3,[2]]],27],[[15,[3,[2]],[3,[2]]],[[13,[7,17]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,14,[]],[-1,14,[]],[-1,14,[]],[[15,[3,[2]]],7],[[15,16,[3,[2]]],7],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[25,7],[28,28],[25,25],[[-1,-2],7,[],[]],[[-1,-2],7,[],[]],0,[[],29],[[],25],[[28,10],11],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[25],[[],29],[[],25],[[25,30],7],0,[[29,30],7],[[29,28],7],0,[29,7],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,14,[]],[-1,14,[]],[-1,14,[]]],"c":[],"p":[[15,"u16"],[15,"u8"],[15,"slice"],[3,"Vec",180],[15,"u32"],[4,"AccountError",0],[15,"tuple"],[15,"bool"],[4,"Error",0],[3,"Formatter",181],[6,"Result",181],[3,"Error",182],[4,"Result",183],[3,"TypeId",184],[3,"Engine",37],[15,"u64"],[4,"Error",37],[4,"Option",185],[15,"usize"],[15,"str"],[3,"ChainSpec",37],[15,"array"],[3,"Error",181],[15,"u128"],[3,"RecordedDebugMessages",133],[8,"Iterator",186],[15,"never"],[3,"EmittedEvent",133],[3,"DebugInfo",133],[3,"String",187],[8,"ChainExtension",0]],"b":[]},\ -"ink_env":{"doc":"The ink_env utilities used to interoperate with the …","t":"SQIRQQNQSDNNNQNIINENQINEISIGQNNSENNNSQGNEDSNNSQNQNNNNNLLLFLLFLLLLLLLLLLLLLLFFLLLLLLLLLLLLAFFFAFLLLLLLLLFLLLLFFOOFLLFFFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKFFALLFFLLFFLLLLLLLLLLFFFLLFLLFFLLFLLOLLFLLFFFLLLLLLFFALLLLLKFFLLLLLLLLLLLLLLLLLLLLLLFLLLLLLFDDDDIDDDQDISSDDQDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLELLLLLLLLGDDDGQDDDILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLDQIIQLLLLLLLLLKLLLLLALLLLDELLLLLLLLLLLLLLLLLLEEIIEEQLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLDIDDLLFMFMLLLLLLKFMLLLLFMLLLLLFMLLLLMKLMLLLLFFLLLFLLOLFFFFLFFFFFFFFLLLLLMFLLLLLLLLLLLL","n":["ALLOW_REENTRY","AccountId","AccountIdGuard","BUFFER_SIZE","Balance","BlockNumber","BufferTooSmall","Bytes","CLONE_INPUT","CallFlags","CallRuntimeFailed","CalleeReverted","CalleeTrapped","ChainExtension","CodeNotFound","ContractEnv","ContractReference","Decode","DefaultEnvironment","EcdsaRecoveryFailed","Env","Environment","Err","Error","Event","FORWARD_INPUT","FromLittleEndian","Gas","Hash","KeyNotFound","LoggingDisabled","MAX_EVENT_TOPICS","NoChainExtension","NotCallable","OffChain","Ok","REVERT","RemainingTopics","Result","ReturnError","ReturnErrorCode","ReturnFlags","SIGNATURE_TOPIC","Sr25519VerifyFailed","Success","TAIL_CALL","Timestamp","TransferFailed","Type","Unknown","XcmExecutionFailed","XcmSendFailed","_BelowSubsistenceThreshold","_EndowmentTooLow","__clone_box","__clone_box","__clone_box","account_id","all","all","balance","bitand","bitand","bitand_assign","bitand_assign","bitor","bitor","bitor_assign","bitor_assign","bits","bits","bitxor","bitxor","bitxor_assign","bitxor_assign","block_number","block_timestamp","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","call","call_runtime","caller","caller_is_origin","chain_extension","clear_contract_storage","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","code_hash","complement","complement","contains","contains","contains_contract_storage","debug_message","debug_print","debug_println","decode_input","difference","difference","ecdsa_recover","ecdsa_to_eth_address","emit_event","empty","empty","eq","eq","eq","eq","eq","extend","extend","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_bits","from_bits","from_bits_truncate","from_bits_truncate","from_bits_unchecked","from_bits_unchecked","from_iter","from_iter","from_le_bytes","gas_left","get_contract_storage","hash","hash","hash","hash_bytes","hash_encoded","insert","insert","instantiate_contract","instantiate_contract_v1","intersection","intersection","intersects","intersects","into","into","into","into","into","into","invoke_contract","invoke_contract_delegate","invoke_contract_v1","is_all","is_all","is_contract","is_empty","is_empty","lock_delegate_dependency","minimum_balance","not","not","own_code_hash","partial_cmp","partial_cmp","pay_with_call","remove","remove","return_value","set","set","set_code_hash","set_contract_storage","sr25519_verify","sub","sub","sub_assign","sub_assign","symmetric_difference","symmetric_difference","take_contract_storage","terminate_contract","test","to_owned","to_owned","to_owned","toggle","toggle","topics","transfer","transferred_value","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_info","type_info","union","union","unlock_delegate_dependency","vzip","vzip","vzip","vzip","vzip","vzip","weight_to_fee","Call","CallBuilder","CallParams","CallV1","ConstructorReturnType","CreateBuilder","CreateParams","DelegateCall","Error","ExecutionInput","FromAccountId","IS_RESULT","IS_RESULT","LimitParamsV1","LimitParamsV2","Output","Selector","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_call","build_create","call","call_flags","call_flags","call_type","call_v1","call_v1","callee","callee","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","code_hash","code_hash","code_hash","code_hash","code_hash","decode","decode","decode_all","decode_all_with_depth_limit","decode_with_depth_limit","default","default","delegate","encode","encode","encode_to","encode_to","encoded_size","endowment","endowment","eq","err","err","exec_input","exec_input","exec_input","exec_input","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from_account_id","gas_limit","gas_limit","gas_limit","gas_limit","gas_limit","instantiate","instantiate","instantiate","instantiate","instantiate_v1","into","into","into","into","into","into","into","into","into","into","into","invoke","invoke","invoke","invoke","invoke","invoke","invoke","invoke","invoke","new","new","new","new","new","ok","params","params","params","params","params","params","params","proof_size_limit","proof_size_limit","proof_size_limit","proof_size_limit","push_arg","push_arg","ref_time_limit","ref_time_limit","ref_time_limit","ref_time_limit","returns","returns","salt_bytes","salt_bytes","size_hint","size_hint","state","storage_deposit_limit","storage_deposit_limit","storage_deposit_limit","storage_deposit_limit","to_bytes","to_keyed_vec","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","transferred_value","transferred_value","transferred_value","transferred_value","transferred_value","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_instantiate","try_instantiate","try_instantiate","try_instantiate","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_selector","update_selector","using_encoded","utils","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Salt","borrow","borrow_mut","from","into","try_from","try_into","type_id","vzip","ArgsList","Argument","ArgumentList","ArgumentListEnd","EmptyArgumentList","Output","ReturnType","Set","Unset","Unwrap","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","default","empty","empty","encode_to","encode_to","encode_to","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","into","into","into","into","into","into","push_arg","push_arg","push_arg","size_hint","size_hint","size_hint","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","unwrap_or_else","unwrap_or_else","unwrap_or_else","value","vzip","vzip","vzip","vzip","vzip","vzip","ChainExtensionMethod","Err","FromStatusCode","IsResultType","Ok","borrow","borrow_mut","build","call","call","call","call","fmt","from","from_status_code","handle_error_code","ignore_error_code","input","into","output","state","try_from","try_into","type_id","vzip","HandleErrorCode","IgnoreErrorCode","borrow","borrow","borrow_mut","borrow_mut","fmt","fmt","from","from","into","into","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Blake2x128","Blake2x256","CryptoHash","HashOutput","Keccak256","Sha2x256","Type","__clone_box","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","eq","eq","eq","eq","fmt","fmt","fmt","fmt","from","from","from","from","hash","hash","hash","hash","hash","into","into","into","into","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","CallData","ChainExtension","DefaultAccounts","EmittedEvent","__clone_box","__clone_box","advance_block","alice","assert_contract_termination","bob","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","callee","charlie","clone","clone","clone_into","clone_into","count_used_storage_cells","data","decode","decode","decode_all","decode_all_with_depth_limit","decode_with_depth_limit","default_accounts","django","encode","encode_to","encoded_size","eq","eve","ext_id","fmt","frank","from","from","from","from","get_account_balance","get_contract_storage_rw","into","into","into","is_contract","new","params","pay_with_call","push_arg","recorded_debug_messages","recorded_events","register_chain_extension","run_test","selector","set_account_balance","set_block_number","set_block_timestamp","set_callee","set_caller","set_clear_storage_disabled","set_contract","set_value_transferred","size_hint","to_bytes","to_keyed_vec","to_owned","to_owned","topics","transfer_in","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip"],"q":[[0,"ink_env"],[252,"ink_env::call"],[515,"ink_env::call::state"],[524,"ink_env::call::utils"],[631,"ink_env::chain_extension"],[656,"ink_env::chain_extension::state"],[676,"ink_env::hash"],[744,"ink_env::test"],[830,"dyn_clone::sealed"],[831,"parity_scale_codec::codec"],[832,"core::option"],[833,"core::cmp"],[834,"parity_scale_codec::codec"],[835,"core::fmt"],[836,"core::fmt"],[837,"core::fmt"],[838,"ink_engine::types"],[839,"parity_scale_codec::error"],[840,"ink_storage_traits::storage"],[841,"core::hash"],[842,"ink_primitives"],[843,"core::convert"],[844,"ink_primitives"],[845,"scale_info::ty"],[846,"core::clone"],[847,"parity_scale_codec::codec"],[848,"alloc::vec"],[849,"parity_scale_codec::codec"],[850,"core::fmt"],[851,"core::ops::function"],[852,"ink_engine::test_api"],[853,"ink_engine::test_api"]],"d":["Allow the callee to reenter into the current contract.","The account id type.","A trait to enforce that a type should be an …","The capacity of the static buffer. Usually set to 16 kB. …","The type of balances.","The type of block number.","The static buffer used during ABI encoding or ABI decoding …","The little-endian bytes representation.","Identical to Self::FORWARD_INPUT but without consuming the …","Flags used to change the behaviour of seal_call and …","The call dispatched by call_runtime was executed but …","The called function ran to completion but decided to …","The called function trapped and has its state changes …","The chain extension for the environment.","No code could be found at the supplied code hash.","Stores the used host environment type of the ink! smart …","Refers to the generated ink! smart contract reference type.","Error upon decoding an encoded value.","The fundamental types of the default configuration.","ECDSA public key recovery failed. Most probably wrong …","The environment type.","The environmental types usable by contracts defined with …","Contains the error value","Errors that can be encountered upon environmental …","Implemented by event types to guide the event topic …","Forward the input of current function to the callee.","Allows to instantiate a type from its little-endian bytes …","The default gas type.","The type of hash.","The passed key does not exist in storage.","The call to debug_message had no effect because debug …","The maximum number of supported event topics provided by …","Placeholder for chains that have no defined chain …","The account that was called is no contract.","An error that can only occur in the off-chain environment.","Contains the success value","If this bit is set all changes made by the contract …","Type state indicating how many event topics are to be …","A result of environmental operations.","The error returned by the contract.","Every error that can be returned to a contract when it …","Flags used by a contract to customize exit behaviour.","The unique signature topic of the event. None for …","sr25519 signature verification failed.","API call successful.","Do not return from the call but rather return the result …","The type of a timestamp.","Transfer failed for other not further specified reason. …","The generated contract reference type.","Returns if an unknown error was received from the host …","The xcm_execute call failed.","The xcm_send call failed.","Deprecated and no longer returned: There is only the …","Deprecated and no longer returned: Endowment is no longer …","","","","Returns the account ID of the executed contract.","Returns the set containing all flags.","Returns the set containing all flags.","Returns the balance of the executed contract.","Returns the intersection between the two sets of flags.","Returns the intersection between the two sets of flags.","Disables all flags disabled in the set.","Disables all flags disabled in the set.","Returns the union of the two sets of flags.","Returns the union of the two sets of flags.","Adds the set of flags.","Adds the set of flags.","Returns the raw value of the flags currently stored.","Returns the raw value of the flags currently stored.","Returns the left flags, but with all the right flags …","Returns the left flags, but with all the right flags …","Toggles the set of flags.","Toggles the set of flags.","Returns the current block number.","Returns the current block timestamp.","","","","","","","","","","","","","Utilities to call or instantiate contracts on the chain.","Tries to trigger a runtime dispatchable, i.e. an extrinsic …","Returns the address of the caller of the executed contract.","Checks whether the caller of the current contract is the …","Definitions and utilities for calling chain extension …","Clears the contract’s storage entry under the given …","","","","","","","","","Retrieves the code hash of the contract at the specified …","Returns the complement of this set of flags.","Returns the complement of this set of flags.","Returns true if all of the flags in other are contained …","Returns true if all of the flags in other are contained …","Checks whether there is a value stored under the given …","Appends the given message to the debug message buffer.","Appends a formatted string to the debug_message buffer if …","Appends a formatted string to the debug_message buffer, as …","Returns the execution input to the executed contract and …","Returns the difference between the flags in self and other.","Returns the difference between the flags in self and other.","Recovers the compressed ECDSA public key for given …","Returns an Ethereum address from the ECDSA compressed …","Emits an event with the given event data.","Returns an empty set of flags.","Returns an empty set of flags.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Convert from underlying bit representation, unless that …","Convert from underlying bit representation, unless that …","Convert from underlying bit representation, dropping any …","Convert from underlying bit representation, dropping any …","Convert from underlying bit representation, preserving all …","Convert from underlying bit representation, preserving all …","","","Create a new instance from the little-endian bytes …","Returns the amount of gas left for the contract execution.","Returns the value stored under the given storage key in …","Provides type definitions and traits for the built-in …","","","Conducts the crypto hash of the given input and stores the …","Conducts the crypto hash of the given encoded input and …","Inserts the specified flags in-place.","Inserts the specified flags in-place.","Instantiates another contract.","Instantiates another contract.","Returns the intersection between the flags in self and …","Returns the intersection between the flags in self and …","Returns true if there are flags common to both self and …","Returns true if there are flags common to both self and …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invokes a contract message and returns its result.","Invokes a contract message via delegate call and returns …","Invokes a contract message and returns its result.","Returns true if all flags are currently set.","Returns true if all flags are currently set.","Checks whether the specified account is a contract.","Returns true if no flags are currently stored.","Returns true if no flags are currently stored.","Adds a new delegate dependency lock to the contract.","Returns the minimum balance that is required for creating …","Returns the complement of this set of flags.","Returns the complement of this set of flags.","Retrieves the code hash of the currently executing …","","","Prepend contract message call with value transfer. Used …","Removes the specified flags in-place.","Removes the specified flags in-place.","Returns the value back to the caller of the executed …","Inserts or removes the specified flags depending on the …","Inserts or removes the specified flags depending on the …","Replace the contract code at the specified address with …","Writes the value to the contract storage under the given …","Verifies a sr25519 signature.","Returns the set difference of the two sets of flags.","Returns the set difference of the two sets of flags.","Disables all flags enabled in the set.","Disables all flags enabled in the set.","Returns the symmetric difference between the flags in self …","Returns the symmetric difference between the flags in self …","Removes the value at key, returning the previous value at …","Terminates the existence of the currently executed smart …","Operations on the off-chain testing environment.","","","","Toggles the specified flags in-place.","Toggles the specified flags in-place.","Guides event topic serialization using the given topics …","Transfers value from the contract to the destination …","Returns the transferred value for the contract execution.","","","","","","","","","","","","","","","","","","","","","Returns the union of between the flags in self and other.","Returns the union of between the flags in self and other.","Unlocks the delegate dependency from the contract.","","","","","","","Returns the price for the specified amount of gas.","The default call type for cross-contract calls, for …","Builds up a cross contract call.","The final parameters to the cross-contract call.","The legacy call type for cross-contract calls. Performs a …","Represents any type that can be returned from an ink! …","Builds up contract instantiations.","Builds up contract instantiations.","The delegatecall call type. Performs a call with the given …","The error type of the constructor return type.","The input data for a smart contract execution.","Contracts that can be constructed from an AccountId.","Is true if Self is Result<C, E>.","Is true if Self is Result<C, E>.","Defines the limit params for the legacy ext::instantiate_v1…","Defines the limit params for the new ext::instantiate host …","The actual return type of the constructor.","The function selector.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns a new CallBuilder to build up the parameters to a …","Returns a new CreateBuilder to build up the parameters to …","Prepares the CallBuilder for a cross-contract Call to the …","Returns the call flags.","The flags used to change the behavior of the contract call.","The type of the call.","Switch to the original call host function API, which only …","Prepares the CallBuilder for a cross-contract CallV1, …","Returns the account ID of the called contract instance.","Returns the account ID of the called contract instance.","","","","","","","","","","","","","","","","","","","Returns the code hash which we use to perform a delegate …","Sets the code_hash to perform a delegate call with.","Sets the code_hash to perform a delegate call with.","The code hash of the contract.","Sets the used code hash for the contract instantiation.","","","","","","","","Prepares the CallBuilder for a cross-contract DelegateCall.","","","","","","The endowment for the instantiated contract.","Sets the value transferred upon the execution of the call.","","Construct an error value of the Output type.","Construct an error value of the Output type.","Returns the execution input.","Sets the execution input to the given value.","The raw encoded input data.","Sets the value transferred upon the execution of the call.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Creates the contract instance from the account ID of the …","Returns the chosen gas limit for the called contract …","Sets the gas_limit for the current cross-contract call.","Sets the gas_limit for the current cross-contract call.","The gas limit for the contract instantiation.","Sets the maximum allowed gas costs for the contract …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Switch to the original instantiate host function API, …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invoke the contract using Delegate Call semantics with the …","Invokes the contract with the given built-up call …","Invokes the contract with the given built-up call …","Invokes the cross-chain function call and returns the …","Invokes the cross-chain function call using Delegate Call …","Invokes the cross-chain function call using Delegate Call …","Invokes the cross-chain function call.","Invokes the cross-chain function call.","Invokes the cross-chain function call and returns the …","Returns a clean builder for CallV1.","Returns a clean builder for CallV1.","Returns a clean builder for DelegateCall","Creates a new execution input with the given selector.","Creates a selector directly from 4 bytes.","Construct a success value of the Output type.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the create builder, allowing it to instantiate a …","Returns the chosen proof size limit for the called …","Sets the proof_size_limit part of the weight limit for the …","Gets the proof_size_limit part of the weight limit for the …","Sets the proof_size_limit part of the weight limit for the …","Pushes an argument to the execution input.","Pushes an argument to the execution input.","Returns the chosen ref time limit for the called contract …","Sets the ref_time_limit part of the weight limit for the …","Gets the ref_time_limit part of the weight limit for the …","Sets the ref_time_limit part of the weight limit for the …","Sets the type of the returned value upon the execution of …","Sets the type of the returned value upon the execution of …","The salt for determining the hash for the contract account …","Sets the value transferred upon the execution of the call.","","","Type states that tell what state of a instantiation …","Returns the chosen storage deposit limit for the called …","Sets the storage_deposit_limit for the current …","Gets the storage_deposit_limit for the contract …","Sets the storage_deposit_limit for the contract …","Returns the underlying bytes of the selector.","","","","","","","","","","","Returns the transferred value for the called contract.","Returns the transferred value for the called contract.","Sets the transferred_value for the current cross-contract …","Sets the transferred_value for the current cross-contract …","Sets the transferred_value for the current cross-contract …","","","","","","","","","","","","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","","","","","","","","","","","","Invoke the contract using Delegate Call semantics with the …","Invokes the contract with the given built-up call …","Invokes the contract with the given built-up call …","Invokes the cross-chain function call using Delegate Call …","Invokes the cross-chain function call.","Invokes the cross-chain function call.","Invokes the cross-chain function call using Delegate Call …","Invokes the cross-chain function call and returns the …","Invokes the cross-chain function call and returns the …","","","","","","","","","","","","Modify the selector.","Modify the selector.","","Utility types for the cross-contract calling API.","","","","","","","","","","","","Type state for the salt used for contract instantiation.","","","Returns the argument unchanged.","Calls U::from(self).","","","","","Minor simplification of an argument list with a head and …","A single argument and its reference to a known value.","An argument list.","The end of an argument list.","An empty argument list.","The output type of the unwrap_or_else operation.","Represents a return type.","A parameter that has been set to some value.","A parameter that has not been set, yet.","Implemented by Set and Unset in order to unwrap their …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Creates a new empty argument list.","Creates a new empty argument list.","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Pushes the first argument to the empty argument list.","Pushes another argument to the argument list.","Pushes the first argument to the empty argument list.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the set value or evaluates the given closure.","","","Returns the set value.","","","","","","","A concrete instance of a chain extension method.","The E type of the Result<T, E>.","Implemented by error codes in order to construct them from …","Extract Ok and Err variants from Result type.","The T type of the Result<T, E>.","","","Creates a new chain extension method instance.","Calls the chain extension method for case 1.A described …","Calls the chain extension method for case 2.A described …","Calls the chain extension method for case 2.B described …","Calls the chain extension method for case 1.B described …","","Returns the argument unchanged.","Returns Ok if the status code for the called chain …","Makes the chain extension method call handle the returned …","Makes the chain extension method call assume that the …","Sets the input types of the chain extension method call to …","Calls U::from(self).","Sets the output type, O, of the chain extension method …","Type states of the chain extension method instance.","","","","","Type state meaning that the chain extension method uses …","Type state meaning that the chain extension method ignores …","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","The BLAKE-2 crypto hash with 128-bit output.","The BLAKE-2 crypto hash with 256-bit output.","Types that are usable as built-in cryptographic hashes.","The output type of built-in cryptographic hash functions.","The KECCAK crypto hash with 256-bit output.","The SHA-2 crypto hash with 256-bit output.","The output type of the crypto hash.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Hashes the given raw byte input and copies the result into …","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","The raw ABI respecting input data to a call.","Types implementing this trait can be used as chain …","The default accounts.","Record for an emitted event.","","","Advances the chain by a single block.","The predefined ALICE account holding substantial amounts …","Tests if a contract terminates successfully after …","The predefined BOB account holding some amounts of value.","","","","","","","Calls the chain extension with the given input.","Gets the currently set callee.","The predefined CHARLIE account holding some amounts of …","","","","","Returns the amount of storage cells used by the account …","Recorded encoding of the emitted event.","","","","","","Returns the default accounts for testing purposes: Alice, …","The predefined DJANGO account holding no value.","","","","","The predefined EVE account holding no value.","The static ID of the chain extension.","","The predefined FRANK account holding no value.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the balance of the account.","Returns the total number of reads and writes of the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns a boolean to indicate whether an account is a …","Creates new call ABI data for the given selector.","Returns the underlying bytes of the encoded input …","Prepend contract message call with value transfer. Used …","Pushes the given argument onto the call ABI data in …","Returns the contents of the past performed environmental …","Returns the recorded emitted events in order.","Registers a new chain extension.","Runs the given closure test function with the default …","Returns the selector of self.","Sets the balance of the account to the given balance.","Sets the block number for the next advance_block …","Sets the block timestamp for the next advance_block …","Sets the callee for the next call.","Sets a caller for the next call.","Set to true to disable clearing storage","Sets an account as a contract","Sets the value transferred from the caller to the callee …","","Returns the underlying byte representation.","","","","Recorded topics of the emitted event.","Transfers value from the caller account to the contract.","","","","","","","","","","","",""],"i":[4,34,0,0,34,34,18,90,4,0,17,17,17,34,17,0,0,18,0,17,55,0,6,0,0,4,0,0,34,17,17,34,0,17,18,6,3,16,0,18,0,0,16,17,17,4,34,17,91,17,17,17,17,17,3,4,10,0,3,4,0,3,4,3,4,3,4,3,4,3,4,3,4,3,4,0,0,3,4,17,18,92,10,3,4,17,18,92,10,0,0,0,0,0,0,3,4,10,3,4,10,3,4,0,3,4,3,4,0,0,0,0,0,3,4,0,0,0,3,4,3,4,17,18,10,3,4,3,3,3,3,3,4,4,4,4,4,17,18,10,3,4,17,18,18,18,18,18,18,92,10,3,4,3,4,3,4,3,4,90,0,0,0,3,4,0,0,3,4,0,0,3,4,3,4,3,4,17,18,92,10,0,0,0,3,4,0,3,4,0,0,3,4,0,3,4,0,3,4,0,3,4,0,0,0,3,4,3,4,3,4,0,0,0,3,4,10,3,4,16,0,0,3,4,17,18,92,10,3,4,17,18,92,10,3,4,17,18,92,10,92,10,3,4,0,3,4,17,18,92,10,0,0,0,0,0,0,0,0,0,37,0,0,37,37,0,0,37,0,43,39,42,51,38,31,54,49,57,40,43,39,42,51,38,31,32,54,49,57,40,43,39,42,51,38,31,32,54,49,57,0,0,51,40,51,51,51,51,40,40,43,39,42,51,38,31,54,49,57,43,39,42,51,38,31,54,49,57,40,42,51,32,54,57,57,57,57,57,49,57,51,57,57,49,57,57,32,54,57,37,37,40,51,32,54,40,38,31,32,49,57,40,43,39,42,51,38,31,32,54,49,57,57,35,40,43,51,32,54,32,32,54,54,54,40,43,39,42,51,38,31,32,54,49,57,40,40,40,51,51,51,51,51,51,43,39,42,49,57,37,51,51,51,51,51,51,54,40,51,32,54,49,49,40,51,32,54,51,54,32,54,49,57,0,40,51,32,54,57,57,43,39,42,51,38,31,54,49,57,40,40,43,51,51,40,43,39,42,51,38,31,32,54,49,57,32,32,54,54,40,43,39,42,51,38,31,32,54,49,57,40,40,40,51,51,51,51,51,51,40,43,39,42,51,38,31,32,54,49,57,32,49,57,0,40,43,39,42,51,38,31,32,54,49,57,0,53,53,53,53,53,53,53,53,0,0,0,0,0,93,0,0,0,0,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,50,47,67,70,48,67,48,67,66,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,48,67,67,48,67,66,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,93,52,47,52,50,52,47,67,66,70,0,73,0,0,73,71,71,71,71,71,71,71,71,71,74,71,71,71,71,71,0,71,71,71,71,0,0,75,72,75,72,75,72,75,72,75,72,75,72,75,72,75,72,75,72,0,0,0,0,0,0,94,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,95,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,0,0,0,0,83,84,0,85,0,85,85,83,84,85,83,84,89,0,85,83,84,83,84,0,84,83,83,83,83,83,0,85,83,83,83,83,85,89,83,85,85,83,84,84,0,0,85,83,84,0,83,83,0,83,0,0,0,0,83,0,0,0,0,0,0,0,0,83,83,83,83,84,84,0,85,83,84,85,83,84,85,83,84,85,83,84],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[]],[[],3],[[],4],[[]],[[3,3],3],[[4,4],4],[[3,3],2],[[4,4],2],[[3,3],3],[[4,4],4],[[3,3],2],[[4,4],2],[3,5],[4,5],[[3,3],3],[[4,4],4],[[3,3],2],[[4,4],2],[[]],[[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[6,[2]]],7],[[]],[[],8],0,[-1,[[9,[5]]],7],[3,3],[4,4],[10,10],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[3,3],11],[[4,4],11],[[],6],[3,3],[4,4],[[3,3],8],[[4,4],8],[-1,[[9,[5]]],7],[12,2],0,0,[[],[[6,[-1]]],13],[[3,3],3],[[4,4],4],[[[15,[14]],[15,[14]],[15,[14]]],[[6,[2]]]],[[[15,[14]],[15,[14]]],[[6,[2]]]],[-1,2,16],[[],3],[[],4],[[3,3],8],[[4,4],8],[[17,17],8],[[18,18],8],[[10,10],8],[[3,-1],2,19],[[4,-1],2,19],[[3,20],[[22,[2,21]]]],[[3,20],[[22,[2,21]]]],[[3,20],[[22,[2,21]]]],[[3,20],[[22,[2,21]]]],[[3,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[17,20],[[22,[2,21]]]],[[18,20],23],[[10,20],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[17,18],[-1,-1,[]],[24,18],[25,18],[26,18],[2,18],[-1,-1,[]],[-1,-1,[]],[5,[[9,[3]]]],[5,[[9,[4]]]],[5,3],[5,4],[5,3],[5,4],[-1,3,19],[-1,4,19],[[],-1,[]],[[],27],[-1,[[6,[[9,[-2]]]]],7,28],0,[[3,-1],2,29],[[4,-1],2,29],[[[30,[14]]],2],[-1,2,7],[[3,3],2],[[4,4],2],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],[[6,[33]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[32,[-1,-2,38,-3,-4,-5]]],[[6,[33]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[3,3],3],[[4,4],4],[[3,3],8],[[4,4],8],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],[[6,[[41,[-3]]]]],34,7,13],[[[40,[-1,[42,[-1]],-2,-3]]],[[6,[[41,[-3]]]]],34,7,13],[[[40,[-1,[43,[-1]],-2,-3]]],[[6,[[41,[-3]]]]],34,7,13],[3,8],[4,8],[[],8],[3,8],[4,8],[[],2],[[]],[3,3],[4,4],[[],6],[[3,3],[[9,[11]]]],[[4,4],[[9,[11]]]],0,[[3,3],2],[[4,4],2],[[3,-1],44,7],[[3,3,8],2],[[4,4,8],2],[[],[[6,[2]]]],[[-1,-2],[[9,[5]]],7,28],[[[15,[14]],[30,[14]],[15,[14]]],[[6,[2]]]],[[3,3],3],[[4,4],4],[[3,3],2],[[4,4],2],[[3,3],3],[[4,4],4],[-1,[[6,[[9,[-2]]]]],7,28],[[],44],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[3,3],2],[[4,4],2],[[-1,[0,[0,-2,-3]]],[],[],34,[[0,[-2]]]],[[],[[6,[2]]]],[[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[[],46],[[],46],[[3,3],3],[[4,4],4],[[],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[27],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],[[51,[-1,[47,[[43,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],34],[[],[[54,[-1,47,[52,[31]],47,[47,[[49,[48]]]],[47,[53]],[47,[[50,[2]]]]]]],55],[[[51,[-1,[47,[-2]],-3,-4]]],[[51,[-1,[52,[[39,[-1]]]],-3,-4]]],34,[],[],[]],[[[40,[-1,-2,-3,-4]]],4,34,[],[],[]],[[[51,[-1,-2,-3,-4]],4],[[51,[-1,-2,-3,-4]]],34,[],[],[]],[[[51,[-1,[47,[-2]],-3,-4]],-5],[[51,[-1,[52,[-5]],-3,-4]]],34,[],[],[],[]],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],[[51,[-1,[52,[[43,[-1]]]],-2,-3]]],34,[],[]],[[[51,[-1,[47,[-2]],-3,-4]]],[[51,[-1,[52,[[43,[-1]]]],-3,-4]]],34,[],[],[]],[[[40,[-1,[43,[-1]],-2,-3]]],[],34,[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],[],34,[],[]],[[[43,[-1]]],[[43,[-1]]],[56,34]],[[[39,[-1]]],[[39,[-1]]],[56,34]],[[[42,[-1]]],[[42,[-1]]],[56,34]],[[[51,[-1,-2,-3,-4]]],[[51,[-1,-2,-3,-4]]],[34,56],56,56,56],[38,38],[[[31,[-1]]],[[31,[-1]]],[34,56]],[[[54,[-1,-2,-3,-4,-5,-6,-7,-8]]],[[54,[-1,-2,-3,-4,-5,-6,-7,-8]]],[34,56],56,56,56,56,56,56,56],[[[49,[-1]]],[[49,[-1]]],56],[57,57],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[40,[-1,[42,[-1]],-2,-3]]],[],34,[],[]],[[[42,[-1]]],[[42,[-1]]],34],[[[51,[-1,[52,[[42,[-1]]]],-2,-3]]],[[51,[-1,[52,[[42,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,-3,-4,-5,-6]]],[],34,[],[],[],[],[]],[[[54,[-1,-2,47,-3,-4,-5,-6,-7]]],[[54,[-1,-2,52,-3,-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[-1,[[22,[-2,26]]],58,[]],[-1,[[22,[57,26]]],58],[[[30,[14]]],[[22,[-1,26]]],[]],[[5,[30,[14]]],[[22,[-1,26]]],[]],[[5,-1],[[22,[-2,26]]],58,[]],[[],[[49,[-1]]],59],[[],57],[[[51,[-1,[47,[-2]],-3,-4]]],[[51,[-1,[52,[[42,[-1]]]],-3,-4]]],34,[],[],[]],[57,[[60,[14]]]],[[-1,-2],2,[],[61,62]],[[[49,[-1]],-2],2,7,[61,62]],[[57,-1],2,[61,62]],[-1,63,[]],[[[32,[-1,-2,-3,-4,-5,-6]]],[],34,[],[],[],[],[]],[[[54,[-1,-2,-3,-4,47,-5,-6,-7]]],[[54,[-1,-2,-3,-4,52,-5,-6,-7]]],34,[],[],[],[],[],[]],[[57,57],8],[[],9],[[],9],[[[40,[-1,-2,-3,-4]]],[[49,[-3]]],34,[],[],[]],[[[51,[-1,-2,[47,[[49,[48]]]],-3]],[49,[-4]]],[[51,[-1,-2,[52,[[49,[-4]]]],-3]]],34,[],[],[]],[[[32,[-1,-2,-3,-4,-5,-6]]],[[49,[-4]]],34,[],[],[],[],[]],[[[54,[-1,-2,-3,-4,-5,[47,[[49,[48]]]],-6,-7]],[49,[-8]]],[[54,[-1,-2,-3,-4,-5,[52,[[49,[-8]]]],-6,-7]]],34,[],[],[],[],[],[],[]],[[[40,[-1,-2,-3,-4]],20],23,[34,64],64,64,64],[[38,20],23],[[[31,[-1]],20],23,[34,64]],[[[32,[-1,-2,-3,-4,-5,-6]],20],23,[34,64],64,64,64,64,64],[[[49,[-1]],20],23,64],[[57,20],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[15,[14]]],57],[-1,-1,[]],[[],-1,[]],[[[40,[-1,[43,[-1]],-2,-3]]],27,34,[],[]],[[[43,[-1]],27],[[43,[-1]]],34],[[[51,[-1,[52,[[43,[-1]]]],-2,-3]],27],[[51,[-1,[52,[[43,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,38,-3,-4,-5]]],65,34,[],[],[],[]],[[[54,[-1,-2,-3,[52,[38]],-4,-5,-6,-7]],65],[[54,[-1,-2,-3,[52,[38]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[[[32,[-1,-2,38,-3,-4,-5]]],[],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],[],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,52,[52,[[31,[-1]]]],52,[52,[[49,[-3]]]],[52,[-4]],[52,[[50,[-5]]]]]]],[],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,52,[52,[38]],52,[52,[[49,[-3]]]],[52,[-4]],[52,[[50,[-5]]]]]]],[],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],[[54,[-1,-2,-3,[52,[38]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[40,[-1,[42,[-1]],-2,-3]]],-3,34,7,13],[[[40,[-1,[43,[-1]],-2,-3]]],-3,34,7,13],[[[40,[-1,[39,[-1]],-2,-3]]],-3,34,7,13],[[[51,[-1,[52,[[43,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],-3,34,7,13],[[[51,[-1,[52,[[42,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],2,34],[[[51,[-1,[52,[[42,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],-3,34,7,13],[[[51,[-1,[52,[[39,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],2,34],[[[51,[-1,[52,[[43,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],2,34],[[[51,[-1,[52,[[39,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],-3,34,7,13],[[],[[43,[-1]]],34],[[],[[39,[-1]]],34],[[],[[42,[-1]]],34],[57,[[49,[48]]]],[[[15,[14]]],57],[-1,[],[]],[[[51,[-1,[52,[[43,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[40,[-1,[43,[-1]],-2,-3]]],34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[40,[-1,[39,[-1]],-2,-3]]],34,[],[]],[[[51,[-1,[52,[[42,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[40,[-1,[42,[-1]],-2,-3]]],34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],[47,[[49,[48]]]],[47,[-2]]]]],[[40,[-1,[39,[-1]],48,2]]],34,[]],[[[51,[-1,[52,[[43,[-1]]]],[47,[[49,[48]]]],[47,[-2]]]]],[[40,[-1,[43,[-1]],48,2]]],34,[]],[[[51,[-1,[52,[[42,[-1]]]],[47,[[49,[48]]]],[47,[-2]]]]],[[40,[-1,[42,[-1]],48,2]]],34,[]],[[[54,[-1,-2,52,[52,[-3]],52,[52,[[49,[-4]]]],[52,[-5]],[52,[[50,[-6]]]]]]],[[32,[-1,-2,-3,-4,-5,-6]]],34,[],[],[],[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],65,34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]],27],[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],65,34,[],[],[],[]],[[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]],65],[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[[[49,[[67,[[66,[-1]],-2]]]],-3],[[49,[[68,[-3,[68,[-1,-2]]]]]]],[],[],7],[[[49,[48]],-1],[[49,[[67,[[66,[-1]],48]]]]],7],[[[40,[-1,[39,[-1]],-2,-3]]],65,34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]],27],[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],65,34,[],[],[],[]],[[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]],65],[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[[[51,[-1,-2,-3,[47,[[50,[2]]]]]]],[[51,[-1,-2,-3,[52,[[50,[-4]]]]]]],34,[],[],[]],[[[54,[-1,-2,-3,-4,-5,-6,-7,[47,[[50,[2]]]]]]],[[54,[-1,-2,-3,-4,-5,-6,-7,[52,[[50,[-8]]]]]]],34,[[35,[-1]]],[],[],[],[],[],[[37,[-2]]]],[[[32,[-1,-2,-3,-4,-5,-6]]],-5,34,[],[],[],[[36,[[30,[14]]]]],[]],[[[54,[-1,-2,-3,-4,-5,-6,[47,[53]],-7]],-8],[[54,[-1,-2,-3,-4,-5,-6,[52,[-8]],-7]]],34,[],[],[],[],[],[],[[36,[[30,[14]]]]]],[[[49,[-1]]],63,7],[57,63],0,[[[40,[-1,[39,[-1]],-2,-3]]],9,34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],9,34,[],[],[],[]],[[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[57,[[15,[14]]]],[[-1,[30,[14]]],[[60,[14]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[40,[-1,[43,[-1]],-2,-3]]],[],34,[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],[],34,[],[]],[[[43,[-1]]],[[43,[-1]]],34],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],34,[],[]],[[[51,[-1,[52,[[43,[-1]]]],-2,-3]]],[[51,[-1,[52,[[43,[-1]]]],-2,-3]]],34,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],[[22,[33,18]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[32,[-1,-2,38,-3,-4,-5]]],[[22,[33,18]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,52,[52,[[31,[-1]]]],52,[52,[[49,[-3]]]],[52,[-4]],[52,[[50,[-5]]]]]]],[[22,[33,18]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,52,[52,[38]],52,[52,[[49,[-3]]]],[52,[-4]],[52,[[50,[-5]]]]]]],[[22,[33,18]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[[[40,[-1,[42,[-1]],-2,-3]]],[[22,[[41,[-3]],18]]],34,7,13],[[[40,[-1,[39,[-1]],-2,-3]]],[[22,[[41,[-3]],18]]],34,7,13],[[[40,[-1,[43,[-1]],-2,-3]]],[[22,[[41,[-3]],18]]],34,7,13],[[[51,[-1,[52,[[42,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[22,[[41,[-3]],18]]],34,7,13],[[[51,[-1,[52,[[43,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],[[22,[[41,[2]],18]]],34],[[[51,[-1,[52,[[39,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],[[22,[[41,[2]],18]]],34],[[[51,[-1,[52,[[42,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],[[22,[[41,[2]],18]]],34],[[[51,[-1,[52,[[43,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[22,[[41,[-3]],18]]],34,7,13],[[[51,[-1,[52,[[39,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[22,[[41,[-3]],18]]],34,7,13],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[[[32,[-1,-2,-3,-4,-5,-6]],57],2,34,[],[],[],[],[]],[[[49,[-1]],57],2,[]],[[57,-1],-2,69,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[50,[-1]]],[[50,[-1]]],[]],[[[52,[-1]]],[[52,[-1]]],56],[[[47,[-1]]],[[47,[-1]]],[]],[[[67,[-1,-2]]],[[67,[-1,-2]]],56,56],[[[66,[-1]]],[[66,[-1]]],56],[70,70],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[],[[50,[-1]]],[]],[[],[[47,[-1]]],[]],[[],[[67,[-1,-2]]],59,59],[[],70],[[],48],[[],48],[[48,-1],2,[61,62]],[[[67,[[66,[-1]],-2]],-3],2,7,7,[61,62]],[[[66,[-1]],-2],2,7,[61,62]],[[[50,[-1]],20],23,64],[[[52,[-1]],20],23,64],[[[47,[-1]],20],23,64],[[[67,[-1,-2]],20],23,64,64],[[[66,[-1]],20],23,64],[[70,20],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[48,-1],[[67,[[66,[-1]],48]]],7],[[[67,[[66,[-1]],-2]],-3],[[67,[[66,[-3]],[67,[[66,[-1]],-2]]]]],[],[],7],[[[67,[70,70]],-1],[[67,[[66,[-1]],[67,[70,70]]]]],7],[48,63],[[[67,[[66,[-1]],-2]]],63,7,7],[[[66,[-1]]],63,7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[[-1,-2],[],[],69],[[[52,[-1]],-2],[],[],69],[[[47,[-1]],-2],[],[],69],[[[52,[-1]]],-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[5,[[71,[2,2,2]]]],[[[71,[-1,-2,[72,[-3]]]],-1],22,7,73,74],[[[71,[-1,-2,75]],-1],22,7,73],[[[71,[-1,-2,75]],-1],-2,7,13],[[[71,[-1,-2,[72,[-3]]]],-1],[[22,[-2,-3]]],7,13,74],[[[71,[-1,-2,-3]],20],23,64,64,64],[-1,-1,[]],[5,[[22,[2,-1]]],[]],[[[71,[-1,-2,2]]],[[71,[-1,-2,[72,[-3]]]]],[],[],74],[[[71,[-1,-2,2]]],[[71,[-1,-2,75]]],[],[]],[[[71,[2,-1,-2]]],[[71,[-3,-1,-2]]],[],[],7],[-1,-2,[],[]],[[[71,[-1,2,-2]]],[[71,[-1,-3,-2]]],[],[],13],0,[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[75,20],23],[[[72,[-1]],20],23,64],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[76,76],[77,77],[78,78],[79,79],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[76,76],8],[[77,77],8],[[78,78],8],[[79,79],8],[[76,20],23],[[77,20],23],[[78,20],23],[[79,20],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[30,[14]]],2],[[[30,[14]]],2],[[[30,[14]]],2],[[[30,[14]]],2],[[[30,[14]]],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[],2],0,[-1,2,[80,81]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,82,[30,[14]],[60,[14]]],5,[]],[[]],0,[83,83],[84,84],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[],[[6,[63]]]],0,[-1,[[22,[-2,26]]],58,[]],[-1,[[22,[83,26]]],58],[[[30,[14]]],[[22,[-1,26]]],[]],[[5,[30,[14]]],[[22,[-1,26]]],[]],[[5,-1],[[22,[-2,26]]],58,[]],[[],[[85,[-1]]],34],0,[[-1,-2],2,[],[61,62]],[[83,-1],2,[61,62]],[-1,63,[]],[[83,83],8],0,[-1,82,[]],[[83,20],23],0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[86,84],[[],6],[[],[[2,[63,63]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],8],[57,83],[83,[[30,[14]]]],0,[[83,-1],2,7],[[],87],[[],[[0,[88]]]],[-1,2,89],[-1,[[6,[2]]],69],[83,57],[[],2],[[],2],[[],2],[[],2],[[],2],[8,2],[[],2],[[],2],[83,63],[83,[[30,[14]]]],[[-1,[30,[14]]],[[60,[14]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[],2],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Private",830],[15,"tuple"],[3,"ReturnFlags",0],[3,"CallFlags",0],[15,"u32"],[6,"Result",0],[8,"Encode",831],[15,"bool"],[4,"Option",832],[4,"DefaultEnvironment",0],[4,"Ordering",833],[15,"str"],[8,"Decode",831],[15,"u8"],[15,"array"],[8,"Event",0],[4,"ReturnErrorCode",0],[4,"Error",0],[8,"IntoIterator",834],[3,"Formatter",835],[3,"Error",835],[4,"Result",836],[6,"Result",835],[4,"Error",837],[4,"AccountError",838],[3,"Error",839],[6,"Gas",0],[8,"Storable",840],[8,"Hasher",841],[15,"slice"],[3,"LimitParamsV2",252],[3,"CreateParams",252],[6,"ConstructorResult",842],[8,"Environment",0],[8,"FromAccountId",252],[8,"AsRef",843],[8,"ConstructorReturnType",252],[3,"LimitParamsV1",252],[3,"Call",252],[3,"CallParams",252],[6,"MessageResult",842],[3,"DelegateCall",252],[3,"CallV1",252],[15,"never"],[3,"TypeId",844],[3,"Type",845],[3,"Unset",524],[6,"EmptyArgumentList",524],[3,"ExecutionInput",252],[3,"ReturnType",524],[3,"CallBuilder",252],[3,"Set",524],[4,"Salt",515],[3,"CreateBuilder",252],[8,"ContractEnv",0],[8,"Clone",846],[3,"Selector",252],[8,"Input",831],[8,"Default",847],[3,"Vec",848],[8,"Output",831],[8,"Sized",849],[15,"usize"],[8,"Debug",835],[15,"u64"],[3,"Argument",524],[3,"ArgumentList",524],[6,"ArgsList",524],[8,"FnOnce",850],[3,"ArgumentListEnd",524],[3,"ChainExtensionMethod",631],[3,"HandleErrorCode",656],[8,"IsResultType",631],[8,"FromStatusCode",631],[4,"IgnoreErrorCode",656],[4,"Sha2x256",676],[4,"Keccak256",676],[4,"Blake2x256",676],[4,"Blake2x128",676],[8,"FnMut",850],[8,"UnwindSafe",851],[15,"u16"],[3,"CallData",744],[3,"EmittedEvent",744],[3,"DefaultAccounts",744],[3,"EmittedEvent",852],[3,"RecordedDebugMessages",852],[8,"Iterator",853],[8,"ChainExtension",744],[8,"FromLittleEndian",0],[8,"ContractReference",0],[4,"NoChainExtension",0],[8,"Unwrap",524],[8,"HashOutput",676],[8,"CryptoHash",676]],"b":[[127,"impl-Octal-for-ReturnFlags"],[128,"impl-Debug-for-ReturnFlags"],[129,"impl-LowerHex-for-ReturnFlags"],[130,"impl-UpperHex-for-ReturnFlags"],[131,"impl-Binary-for-ReturnFlags"],[132,"impl-UpperHex-for-CallFlags"],[133,"impl-Debug-for-CallFlags"],[134,"impl-LowerHex-for-CallFlags"],[135,"impl-Binary-for-CallFlags"],[136,"impl-Octal-for-CallFlags"],[143,"impl-From%3CReturnErrorCode%3E-for-Error"],[145,"impl-From%3CError%3E-for-Error"],[146,"impl-From%3CAccountError%3E-for-Error"],[147,"impl-From%3CError%3E-for-Error"],[148,"impl-From%3C()%3E-for-Error"],[306,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Args,+RetType%3E"],[307,"impl-CallBuilder%3CE,+Unset%3CCallType%3E,+Args,+RetType%3E"],[308,"impl-CallParams%3CE,+CallV1%3CE%3E,+Args,+R%3E"],[309,"impl-CallParams%3CE,+Call%3CE%3E,+Args,+R%3E"],[379,"impl-CreateParams%3CE,+ContractRef,+LimitParamsV1,+Args,+Salt,+R%3E"],[380,"impl-CreateParams%3CE,+ContractRef,+LimitParamsV2%3CE%3E,+Args,+Salt,+R%3E"],[381,"impl-CreateBuilder%3CE,+ContractRef,+Set%3C%3CE+as+Environment%3E::Hash%3E,+Set%3CLimitParamsV2%3CE%3E%3E,+Set%3C%3CE+as+Environment%3E::Balance%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CSalt%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[382,"impl-CreateBuilder%3CE,+ContractRef,+Set%3C%3CE+as+Environment%3E::Hash%3E,+Set%3CLimitParamsV1%3E,+Set%3C%3CE+as+Environment%3E::Balance%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CSalt%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[395,"impl-CallParams%3CE,+DelegateCall%3CE%3E,+Args,+R%3E"],[396,"impl-CallParams%3CE,+CallV1%3CE%3E,+Args,+R%3E"],[397,"impl-CallParams%3CE,+Call%3CE%3E,+Args,+R%3E"],[398,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[399,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[400,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[401,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[402,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[403,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[410,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[411,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[412,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[413,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CRetType%3E%3E"],[414,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CRetType%3E%3E"],[415,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CRetType%3E%3E"],[421,"impl-ExecutionInput%3CArgumentList%3CArgument%3CHead%3E,+Rest%3E%3E"],[422,"impl-ExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E"],[449,"impl-CallParams%3CE,+CallV1%3CE%3E,+Args,+R%3E"],[450,"impl-CallParams%3CE,+Call%3CE%3E,+Args,+R%3E"],[452,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Args,+RetType%3E"],[453,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Args,+RetType%3E"],[465,"impl-CreateParams%3CE,+ContractRef,+LimitParamsV2%3CE%3E,+Args,+Salt,+R%3E"],[466,"impl-CreateParams%3CE,+ContractRef,+LimitParamsV1,+Args,+Salt,+R%3E"],[467,"impl-CreateBuilder%3CE,+ContractRef,+Set%3C%3CE+as+Environment%3E::Hash%3E,+Set%3CLimitParamsV2%3CE%3E%3E,+Set%3C%3CE+as+Environment%3E::Balance%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CSalt%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[468,"impl-CreateBuilder%3CE,+ContractRef,+Set%3C%3CE+as+Environment%3E::Hash%3E,+Set%3CLimitParamsV1%3E,+Set%3C%3CE+as+Environment%3E::Balance%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CSalt%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[480,"impl-CallParams%3CE,+DelegateCall%3CE%3E,+Args,+R%3E"],[481,"impl-CallParams%3CE,+Call%3CE%3E,+Args,+R%3E"],[482,"impl-CallParams%3CE,+CallV1%3CE%3E,+Args,+R%3E"],[483,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[484,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[485,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[486,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[487,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[488,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[592,"impl-ArgumentList%3CArgument%3CHead%3E,+Rest%3E"],[593,"impl-ArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E"],[639,"impl-ChainExtensionMethod%3CI,+O,+HandleErrorCode%3CErrorCode%3E,+true%3E"],[640,"impl-ChainExtensionMethod%3CI,+O,+IgnoreErrorCode,+true%3E"],[641,"impl-ChainExtensionMethod%3CI,+O,+IgnoreErrorCode,+false%3E"],[642,"impl-ChainExtensionMethod%3CI,+O,+HandleErrorCode%3CErrorCode%3E,+false%3E"]]},\ +"ink_engine":{"doc":"","t":"NEINENNNNNLLLLKLLLLAKLLLLLLLLALLLLLLLNNNDNNDENNNNNNNNNNNLLLLMLLLLLLLLLLMMLLLLLMLLLLLLMLLLLLMLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLDDDLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLL","n":["Account","AccountError","ChainExtension","Decoding","Error","NoAccountForId","UnexpectedUserAccount","UninitializedBlocks","UninitializedExecutionContext","UnregisteredChainExtension","borrow","borrow","borrow_mut","borrow_mut","call","clone","clone_into","eq","eq","ext","ext_id","fmt","fmt","from","from","from","from","into","into","test_api","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","CallRuntimeFailed","CalleeReverted","CalleeTrapped","ChainSpec","CodeNotFound","EcdsaRecoveryFailed","Engine","Error","KeyNotFound","LoggingDisabled","NotCallable","Sr25519VerifyFailed","Success","TransferFailed","Unknown","XcmExecutionFailed","XcmSendFailed","_BelowSubsistenceThreshold","_EndowmentTooLow","address","advance_block","balance","block_number","block_time","block_timestamp","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","call_chain_extension","caller","chain_extension_handler","chain_spec","clear_storage","contains_storage","count_reads","count_used_storage_cells","count_writes","database","debug_message","default","default","deposit_event","ecdsa_recover","eq","exec_context","fmt","from","from","from","gas_left","gas_price","get_balance","get_callee","get_contract_storage_rw","get_emitted_debug_messages","get_emitted_events","get_storage","hash_blake2_128","hash_blake2_256","hash_keccak_256","hash_sha2_256","initialize_or_reset","instantiate","into","into","into","is_contract","minimum_balance","minimum_balance","new","set_balance","set_block_number","set_block_timestamp","set_callee","set_caller","set_contract","set_storage","set_value_transferred","take_storage","terminate","transfer","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","value_transferred","weight_to_fee","DebugInfo","EmittedEvent","RecordedDebugMessages","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clear","clone","clone","clone_into","clone_into","data","default","default","fmt","from","from","from","inc_reads","inc_writes","into","into","into","into_iter","new","new","record","record_cell_for_account","record_debug_message","record_event","remove_cell_for_account","reset","to_owned","to_owned","topics","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id"],"q":[[0,"ink_engine"],[37,"ink_engine::ext"],[133,"ink_engine::test_api"],[180,"alloc::vec"],[181,"core::fmt"],[182,"core::fmt"],[183,"core::result"],[184,"core::any"],[185,"core::option"],[186,"core::fmt"],[187,"alloc::string"]],"d":["","Errors encountered upon interacting with accounts.","Types implementing this trait can be used as chain …","","Errors which can happen when interacting with this crate.","","","","","","","","","","Calls the chain extension with the given input.","","","","","Provides the same interface as Substrate’s FRAME contract…","The static ID of the chain extension.","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","The call dispatched by call_runtime was executed but …","The called function ran to completion but decided to …","The called function trapped and has its state changes …","The chain specification.","No code could be found at the supplied code hash.","ECDSA public key recovery failed. Most probably wrong …","The off-chain engine.","Every error that can be returned to a contract when it …","The passed key does not exist in storage.","The call to debug_message had no effect because debug …","The account that was called is no contract.","sr25519 signature verification failed.","API call successful.","Transfer failed for other not further specified reason. …","Returns if an unknown error was received from the host …","The xcm_execute call failed.","The xcm_send call failed.","Deprecated and no longer returned: There is only the …","Deprecated and no longer returned: Endowment is no longer …","Returns the address of the executed contract.","Advances the chain by a single block.","Returns the balance of the executed contract.","Returns the current block number.","The targeted block time.","Returns the timestamp of the current block.","","","","","","","","Calls the chain extension method registered at func_id …","Returns the address of the caller.","Handler for registered chain extensions.","The chain specification.","Removes the storage entries at the given key. Returns the …","Returns the size of the value stored in the contract …","Returns the total number of reads executed.","Returns the amount of storage cells used by the account …","Returns the total number of writes executed.","The environment database.","Records the given debug message and appends to stdout.","","","Deposits an event identified by the supplied topics and …","Recovers the compressed ECDSA public key for given …","","The current execution context.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","The current gas price.","Returns the current balance of account_id.","Returns the callee, i.e. the currently executing contract.","Returns the total number of reads and writes of the …","Returns the contents of the past performed environmental …","Returns the recorded emitted events in order.","Returns the contract storage bytes at the key if any.","Conduct the BLAKE-2 128-bit hash and place the result into …","Conduct the BLAKE-2 256-bit hash and place the result into …","Conduct the KECCAK 256-bit hash and place the result into …","Conduct the SHA-2 256-bit hash and place the result into …","Resets the environment.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns boolean value indicating whether the account is a …","Returns the minimum balance that is required for creating …","The minimum value an account of the chain must have (i.e. …","","Sets the balance of account_id to new_balance.","Set the block number for the execution context.","Set the block timestamp for the execution context.","Sets the callee for the next call.","Sets a caller for the next call.","Sets a known contract by adding it to a vector of known …","Writes the encoded value into the storage at the given key.","Sets the value transferred from the caller to the callee …","Removes the storage entries at the given key, returning …","Remove the calling account and transfer remaining balance.","Transfers value from the contract to the destination …","","","","","","","","","","Returns the transferred value for the called contract.","Emulates gas price calculation.","Recorder for relevant interactions with this crate.","Record for an emitted event.","","","","","","","","","","","","","Recorded encoding of the emitted event.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Increases the number of storage reads for the supplied …","Increases the number of storage writes for the supplied …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","Records that a cell exists for an account under key.","Records a debug message.","Records an event.","Removes the cell under key for the supplied account.","Resets the recorder.","","","Recorded topics of the emitted event.","","","","","","","","",""],"i":[9,0,0,6,0,6,6,9,9,9,6,9,6,9,31,6,6,6,9,0,31,6,9,6,6,9,9,6,9,0,6,6,9,6,9,6,9,17,17,17,0,17,17,0,0,17,17,17,17,17,17,17,17,17,17,17,15,15,15,15,21,15,15,21,17,15,21,17,15,15,15,15,15,15,15,15,15,15,15,15,15,21,15,15,17,15,17,15,21,17,15,21,15,15,15,15,15,15,15,15,15,15,15,15,15,21,17,15,15,21,15,15,15,15,15,15,15,15,15,15,15,15,15,21,17,15,21,17,15,21,17,15,15,0,0,0,29,28,25,29,28,25,25,28,25,28,25,28,29,25,28,29,28,25,29,29,29,28,25,25,29,25,25,29,29,29,29,29,28,25,28,29,28,25,29,28,25,29,28,25],"f":[0,0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,1,[3,[2]],[4,[2]]],5,[]],[6,6],[[-1,-2],7,[],[]],[[6,6],8],[[9,9],8],0,[-1,1,[]],[[6,10],11],[[9,10],11],[12,6],[-1,-1,[]],[-1,-1,[]],[6,9],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,14,[]],[-1,14,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[15,[3,[2]]],7],[15,7],[[15,[3,[2]]],7],[[15,[3,[2]]],7],0,[[15,[3,[2]]],7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[15,[3,[2]],16,[3,[2]],[3,[2]],[3,[2]]],[[13,[7,17]]]],[[15,5,[3,[2]],[3,[2]]],7],[[15,[3,[2]]],7],0,0,[[15,[3,[2]]],[[18,[5]]]],[[15,[3,[2]]],[[18,[5]]]],[15,19],[[15,[3,[2]]],[[13,[19,9]]]],[15,19],0,[[15,20],7],[[],15],[[],21],[[15,[3,[2]],[3,[2]]],7],[[15,[22,[2]],[22,[2]],[22,[2]]],[[13,[7,17]]]],[[17,17],8],0,[[17,10],[[13,[7,23]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[15,[3,[2]]],7],0,[[15,[4,[2]]],[[13,[24,9]]]],[15,[[4,[2]]]],[[15,[4,[2]]],[[7,[19,19]]]],[15,25],[15,[[0,[26]]]],[[15,[3,[2]]],[[13,[[3,[2]],17]]]],[[[3,[2]],[22,[2]]],7],[[[3,[2]],[22,[2]]],7],[[[3,[2]],[22,[2]]],7],[[[3,[2]],[22,[2]]],7],[15,7],[[15,[3,[2]],16,[3,[2]],[3,[2]],[3,[2]],[3,[2]],[3,[2]]],[[13,[7,17]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[15,[4,[2]]],8],[[15,[3,[2]]],7],0,[[],15],[[15,[4,[2]],24],7],[[15,5],7],[[15,16],7],[[15,[4,[2]]],7],[[15,[4,[2]]],7],[[15,[4,[2]]],7],[[15,[3,[2]],[3,[2]]],[[18,[5]]]],[[15,24],7],[[15,[3,[2]]],[[13,[[4,[2]],17]]]],[[15,[3,[2]]],27],[[15,[3,[2]],[3,[2]]],[[13,[7,17]]]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,14,[]],[-1,14,[]],[-1,14,[]],[[15,[3,[2]]],7],[[15,16,[3,[2]]],7],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[25,7],[28,28],[25,25],[[-1,-2],7,[],[]],[[-1,-2],7,[],[]],0,[[],29],[[],25],[[28,10],11],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[25],[[],29],[[],25],[[25,30],7],0,[[29,30],7],[[29,28],7],0,[29,7],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,[[13,[-2]]],[],[]],[-1,14,[]],[-1,14,[]],[-1,14,[]]],"c":[],"p":[[15,"u16"],[15,"u8"],[15,"slice"],[3,"Vec",180],[15,"u32"],[4,"AccountError",0],[15,"tuple"],[15,"bool"],[4,"Error",0],[3,"Formatter",181],[6,"Result",181],[3,"Error",182],[4,"Result",183],[3,"TypeId",184],[3,"Engine",37],[15,"u64"],[4,"Error",37],[4,"Option",185],[15,"usize"],[15,"str"],[3,"ChainSpec",37],[15,"array"],[3,"Error",181],[15,"u128"],[3,"RecordedDebugMessages",133],[8,"Iterator",186],[15,"never"],[3,"EmittedEvent",133],[3,"DebugInfo",133],[3,"String",187],[8,"ChainExtension",0]],"b":[]},\ +"ink_env":{"doc":"The ink_env utilities used to interoperate with the …","t":"SQIRQQNQSDNNNQNIINENQINEISIGQNNSENNNSQGNEDSNNSQNQNNNNNLLLFLLFLLLLLLLLLLLLLLFFLLLLLLLLLLLLAFFFAFLLLLLLLLFLLLLFFOOFLLFFFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKFFALLFFLLFFLLLLLLLLLLFFFLLFLLFFLLFLLOLLFLLFFFLLLLLLFFALLLLLKFFLLLLLLLLLLLLLLLLLLLLLLFLLLLLLFDDDDIDDDQDISSDDQDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLELLLLLLLLGDDDGQDDDILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLDQIIQLLLLLLLLLKLLLLLALLLLDELLLLLLLLLLLLLLLLLLEEIIEEQLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLDIDDLLFMFMLLLLLLKFMLLLLFMLLLLLFMLLLLMKLMLLLLFFLLLFLLOLFFFFLFFFFFFFFLLLLLMFLLLLLLLLLLLL","n":["ALLOW_REENTRY","AccountId","AccountIdGuard","BUFFER_SIZE","Balance","BlockNumber","BufferTooSmall","Bytes","CLONE_INPUT","CallFlags","CallRuntimeFailed","CalleeReverted","CalleeTrapped","ChainExtension","CodeNotFound","ContractEnv","ContractReference","Decode","DefaultEnvironment","EcdsaRecoveryFailed","Env","Environment","Err","Error","Event","FORWARD_INPUT","FromLittleEndian","Gas","Hash","KeyNotFound","LoggingDisabled","MAX_EVENT_TOPICS","NoChainExtension","NotCallable","OffChain","Ok","REVERT","RemainingTopics","Result","ReturnError","ReturnErrorCode","ReturnFlags","SIGNATURE_TOPIC","Sr25519VerifyFailed","Success","TAIL_CALL","Timestamp","TransferFailed","Type","Unknown","XcmExecutionFailed","XcmSendFailed","_BelowSubsistenceThreshold","_EndowmentTooLow","__clone_box","__clone_box","__clone_box","account_id","all","all","balance","bitand","bitand","bitand_assign","bitand_assign","bitor","bitor","bitor_assign","bitor_assign","bits","bits","bitxor","bitxor","bitxor_assign","bitxor_assign","block_number","block_timestamp","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","call","call_runtime","caller","caller_is_origin","chain_extension","clear_contract_storage","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","code_hash","complement","complement","contains","contains","contains_contract_storage","debug_message","debug_print","debug_println","decode_input","difference","difference","ecdsa_recover","ecdsa_to_eth_address","emit_event","empty","empty","eq","eq","eq","eq","eq","extend","extend","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_bits","from_bits","from_bits_truncate","from_bits_truncate","from_bits_unchecked","from_bits_unchecked","from_iter","from_iter","from_le_bytes","gas_left","get_contract_storage","hash","hash","hash","hash_bytes","hash_encoded","insert","insert","instantiate_contract","instantiate_contract_v1","intersection","intersection","intersects","intersects","into","into","into","into","into","into","invoke_contract","invoke_contract_delegate","invoke_contract_v1","is_all","is_all","is_contract","is_empty","is_empty","lock_delegate_dependency","minimum_balance","not","not","own_code_hash","partial_cmp","partial_cmp","pay_with_call","remove","remove","return_value","set","set","set_code_hash","set_contract_storage","sr25519_verify","sub","sub","sub_assign","sub_assign","symmetric_difference","symmetric_difference","take_contract_storage","terminate_contract","test","to_owned","to_owned","to_owned","toggle","toggle","topics","transfer","transferred_value","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_info","type_info","union","union","unlock_delegate_dependency","vzip","vzip","vzip","vzip","vzip","vzip","weight_to_fee","Call","CallBuilder","CallParams","CallV1","ConstructorReturnType","CreateBuilder","CreateParams","DelegateCall","Error","ExecutionInput","FromAccountId","IS_RESULT","IS_RESULT","LimitParamsV1","LimitParamsV2","Output","Selector","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_call","build_create","call","call_flags","call_flags","call_type","call_v1","call_v1","callee","callee","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","code_hash","code_hash","code_hash","code_hash","code_hash","decode","decode","decode_all","decode_all_with_depth_limit","decode_with_depth_limit","default","default","delegate","encode","encode","encode_to","encode_to","encoded_size","endowment","endowment","eq","err","err","exec_input","exec_input","exec_input","exec_input","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from_account_id","gas_limit","gas_limit","gas_limit","gas_limit","gas_limit","instantiate","instantiate","instantiate","instantiate","instantiate_v1","into","into","into","into","into","into","into","into","into","into","into","invoke","invoke","invoke","invoke","invoke","invoke","invoke","invoke","invoke","new","new","new","new","new","ok","params","params","params","params","params","params","params","proof_size_limit","proof_size_limit","proof_size_limit","proof_size_limit","push_arg","push_arg","ref_time_limit","ref_time_limit","ref_time_limit","ref_time_limit","returns","returns","salt_bytes","salt_bytes","size_hint","size_hint","state","storage_deposit_limit","storage_deposit_limit","storage_deposit_limit","storage_deposit_limit","to_bytes","to_keyed_vec","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","transferred_value","transferred_value","transferred_value","transferred_value","transferred_value","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_instantiate","try_instantiate","try_instantiate","try_instantiate","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","try_invoke","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_selector","update_selector","using_encoded","utils","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Salt","borrow","borrow_mut","from","into","try_from","try_into","type_id","vzip","ArgsList","Argument","ArgumentList","ArgumentListEnd","EmptyArgumentList","Output","ReturnType","Set","Unset","Unwrap","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","default","empty","empty","encode_to","encode_to","encode_to","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","into","into","into","into","into","into","push_arg","push_arg","push_arg","size_hint","size_hint","size_hint","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","unwrap_or_else","unwrap_or_else","unwrap_or_else","value","vzip","vzip","vzip","vzip","vzip","vzip","ChainExtensionMethod","Err","FromStatusCode","IsResultType","Ok","borrow","borrow_mut","build","call","call","call","call","fmt","from","from_status_code","handle_error_code","ignore_error_code","input","into","output","state","try_from","try_into","type_id","vzip","HandleErrorCode","IgnoreErrorCode","borrow","borrow","borrow_mut","borrow_mut","fmt","fmt","from","from","into","into","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Blake2x128","Blake2x256","CryptoHash","HashOutput","Keccak256","Sha2x256","Type","__clone_box","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","eq","eq","eq","eq","fmt","fmt","fmt","fmt","from","from","from","from","hash","hash","hash","hash","hash","into","into","into","into","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","CallData","ChainExtension","DefaultAccounts","EmittedEvent","__clone_box","__clone_box","advance_block","alice","assert_contract_termination","bob","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","callee","charlie","clone","clone","clone_into","clone_into","count_used_storage_cells","data","decode","decode","decode_all","decode_all_with_depth_limit","decode_with_depth_limit","default_accounts","django","encode","encode_to","encoded_size","eq","eve","ext_id","fmt","frank","from","from","from","from","get_account_balance","get_contract_storage_rw","into","into","into","is_contract","new","params","pay_with_call","push_arg","recorded_debug_messages","recorded_events","register_chain_extension","run_test","selector","set_account_balance","set_block_number","set_block_timestamp","set_callee","set_caller","set_clear_storage_disabled","set_contract","set_value_transferred","size_hint","to_bytes","to_keyed_vec","to_owned","to_owned","topics","transfer_in","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","vzip","vzip","vzip"],"q":[[0,"ink_env"],[252,"ink_env::call"],[515,"ink_env::call::state"],[524,"ink_env::call::utils"],[631,"ink_env::chain_extension"],[656,"ink_env::chain_extension::state"],[676,"ink_env::hash"],[744,"ink_env::test"],[830,"dyn_clone::sealed"],[831,"parity_scale_codec::codec"],[832,"core::option"],[833,"core::cmp"],[834,"parity_scale_codec::codec"],[835,"core::fmt"],[836,"core::fmt"],[837,"core::fmt"],[838,"ink_engine"],[839,"parity_scale_codec::error"],[840,"ink_storage_traits::storage"],[841,"core::hash"],[842,"ink_primitives"],[843,"core::convert"],[844,"ink_primitives"],[845,"scale_info::ty"],[846,"core::clone"],[847,"parity_scale_codec::codec"],[848,"parity_scale_codec::codec"],[849,"alloc::vec"],[850,"core::fmt"],[851,"core::ops::function"],[852,"ink_engine::test_api"],[853,"ink_engine::test_api"]],"d":["Allow the callee to reenter into the current contract.","The account id type.","A trait to enforce that a type should be an …","The capacity of the static buffer. Usually set to 16 kB. …","The type of balances.","The type of block number.","The static buffer used during ABI encoding or ABI decoding …","The little-endian bytes representation.","Identical to Self::FORWARD_INPUT but without consuming the …","Flags used to change the behaviour of seal_call and …","The call dispatched by call_runtime was executed but …","The called function ran to completion but decided to …","The called function trapped and has its state changes …","The chain extension for the environment.","No code could be found at the supplied code hash.","Stores the used host environment type of the ink! smart …","Refers to the generated ink! smart contract reference type.","Error upon decoding an encoded value.","The fundamental types of the default configuration.","ECDSA public key recovery failed. Most probably wrong …","The environment type.","The environmental types usable by contracts defined with …","Contains the error value","Errors that can be encountered upon environmental …","Implemented by event types to guide the event topic …","Forward the input of current function to the callee.","Allows to instantiate a type from its little-endian bytes …","The default gas type.","The type of hash.","The passed key does not exist in storage.","The call to debug_message had no effect because debug …","The maximum number of supported event topics provided by …","Placeholder for chains that have no defined chain …","The account that was called is no contract.","An error that can only occur in the off-chain environment.","Contains the success value","If this bit is set all changes made by the contract …","Type state indicating how many event topics are to be …","A result of environmental operations.","The error returned by the contract.","Every error that can be returned to a contract when it …","Flags used by a contract to customize exit behaviour.","The unique signature topic of the event. None for …","sr25519 signature verification failed.","API call successful.","Do not return from the call but rather return the result …","The type of a timestamp.","Transfer failed for other not further specified reason. …","The generated contract reference type.","Returns if an unknown error was received from the host …","The xcm_execute call failed.","The xcm_send call failed.","Deprecated and no longer returned: There is only the …","Deprecated and no longer returned: Endowment is no longer …","","","","Returns the account ID of the executed contract.","Returns the set containing all flags.","Returns the set containing all flags.","Returns the balance of the executed contract.","Returns the intersection between the two sets of flags.","Returns the intersection between the two sets of flags.","Disables all flags disabled in the set.","Disables all flags disabled in the set.","Returns the union of the two sets of flags.","Returns the union of the two sets of flags.","Adds the set of flags.","Adds the set of flags.","Returns the raw value of the flags currently stored.","Returns the raw value of the flags currently stored.","Returns the left flags, but with all the right flags …","Returns the left flags, but with all the right flags …","Toggles the set of flags.","Toggles the set of flags.","Returns the current block number.","Returns the current block timestamp.","","","","","","","","","","","","","Utilities to call or instantiate contracts on the chain.","Tries to trigger a runtime dispatchable, i.e. an extrinsic …","Returns the address of the caller of the executed contract.","Checks whether the caller of the current contract is the …","Definitions and utilities for calling chain extension …","Clears the contract’s storage entry under the given …","","","","","","","","","Retrieves the code hash of the contract at the specified …","Returns the complement of this set of flags.","Returns the complement of this set of flags.","Returns true if all of the flags in other are contained …","Returns true if all of the flags in other are contained …","Checks whether there is a value stored under the given …","Appends the given message to the debug message buffer.","Appends a formatted string to the debug_message buffer if …","Appends a formatted string to the debug_message buffer, as …","Returns the execution input to the executed contract and …","Returns the difference between the flags in self and other.","Returns the difference between the flags in self and other.","Recovers the compressed ECDSA public key for given …","Returns an Ethereum address from the ECDSA compressed …","Emits an event with the given event data.","Returns an empty set of flags.","Returns an empty set of flags.","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Convert from underlying bit representation, unless that …","Convert from underlying bit representation, unless that …","Convert from underlying bit representation, dropping any …","Convert from underlying bit representation, dropping any …","Convert from underlying bit representation, preserving all …","Convert from underlying bit representation, preserving all …","","","Create a new instance from the little-endian bytes …","Returns the amount of gas left for the contract execution.","Returns the value stored under the given storage key in …","Provides type definitions and traits for the built-in …","","","Conducts the crypto hash of the given input and stores the …","Conducts the crypto hash of the given encoded input and …","Inserts the specified flags in-place.","Inserts the specified flags in-place.","Instantiates another contract.","Instantiates another contract.","Returns the intersection between the flags in self and …","Returns the intersection between the flags in self and …","Returns true if there are flags common to both self and …","Returns true if there are flags common to both self and …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invokes a contract message and returns its result.","Invokes a contract message via delegate call and returns …","Invokes a contract message and returns its result.","Returns true if all flags are currently set.","Returns true if all flags are currently set.","Checks whether the specified account is a contract.","Returns true if no flags are currently stored.","Returns true if no flags are currently stored.","Adds a new delegate dependency lock to the contract.","Returns the minimum balance that is required for creating …","Returns the complement of this set of flags.","Returns the complement of this set of flags.","Retrieves the code hash of the currently executing …","","","Prepend contract message call with value transfer. Used …","Removes the specified flags in-place.","Removes the specified flags in-place.","Returns the value back to the caller of the executed …","Inserts or removes the specified flags depending on the …","Inserts or removes the specified flags depending on the …","Replace the contract code at the specified address with …","Writes the value to the contract storage under the given …","Verifies a sr25519 signature.","Returns the set difference of the two sets of flags.","Returns the set difference of the two sets of flags.","Disables all flags enabled in the set.","Disables all flags enabled in the set.","Returns the symmetric difference between the flags in self …","Returns the symmetric difference between the flags in self …","Removes the value at key, returning the previous value at …","Terminates the existence of the currently executed smart …","Operations on the off-chain testing environment.","","","","Toggles the specified flags in-place.","Toggles the specified flags in-place.","Guides event topic serialization using the given topics …","Transfers value from the contract to the destination …","Returns the transferred value for the contract execution.","","","","","","","","","","","","","","","","","","","","","Returns the union of between the flags in self and other.","Returns the union of between the flags in self and other.","Unlocks the delegate dependency from the contract.","","","","","","","Returns the price for the specified amount of gas.","The default call type for cross-contract calls, for …","Builds up a cross contract call.","The final parameters to the cross-contract call.","The legacy call type for cross-contract calls. Performs a …","Represents any type that can be returned from an ink! …","Builds up contract instantiations.","Builds up contract instantiations.","The delegatecall call type. Performs a call with the given …","The error type of the constructor return type.","The input data for a smart contract execution.","Contracts that can be constructed from an AccountId.","Is true if Self is Result<C, E>.","Is true if Self is Result<C, E>.","Defines the limit params for the legacy ext::instantiate_v1…","Defines the limit params for the new ext::instantiate host …","The actual return type of the constructor.","The function selector.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns a new CallBuilder to build up the parameters to a …","Returns a new CreateBuilder to build up the parameters to …","Prepares the CallBuilder for a cross-contract Call to the …","Returns the call flags.","The flags used to change the behavior of the contract call.","The type of the call.","Switch to the original call host function API, which only …","Prepares the CallBuilder for a cross-contract CallV1, …","Returns the account ID of the called contract instance.","Returns the account ID of the called contract instance.","","","","","","","","","","","","","","","","","","","Returns the code hash which we use to perform a delegate …","Sets the code_hash to perform a delegate call with.","Sets the code_hash to perform a delegate call with.","The code hash of the contract.","Sets the used code hash for the contract instantiation.","","","","","","","","Prepares the CallBuilder for a cross-contract DelegateCall.","","","","","","The endowment for the instantiated contract.","Sets the value transferred upon the execution of the call.","","Construct an error value of the Output type.","Construct an error value of the Output type.","Returns the execution input.","Sets the execution input to the given value.","The raw encoded input data.","Sets the value transferred upon the execution of the call.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Creates the contract instance from the account ID of the …","Returns the chosen gas limit for the called contract …","Sets the gas_limit for the current cross-contract call.","Sets the gas_limit for the current cross-contract call.","The gas limit for the contract instantiation.","Sets the maximum allowed gas costs for the contract …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Switch to the original instantiate host function API, …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invokes the contract with the given built-up call …","Invoke the contract using Delegate Call semantics with the …","Invokes the contract with the given built-up call …","Invokes the cross-chain function call.","Invokes the cross-chain function call.","Invokes the cross-chain function call and returns the …","Invokes the cross-chain function call using Delegate Call …","Invokes the cross-chain function call and returns the …","Invokes the cross-chain function call using Delegate Call …","Returns a clean builder for CallV1.","Returns a clean builder for CallV1.","Returns a clean builder for DelegateCall","Creates a new execution input with the given selector.","Creates a selector directly from 4 bytes.","Construct a success value of the Output type.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the call builder to call a function.","Finalizes the create builder, allowing it to instantiate a …","Returns the chosen proof size limit for the called …","Sets the proof_size_limit part of the weight limit for the …","Gets the proof_size_limit part of the weight limit for the …","Sets the proof_size_limit part of the weight limit for the …","Pushes an argument to the execution input.","Pushes an argument to the execution input.","Returns the chosen ref time limit for the called contract …","Sets the ref_time_limit part of the weight limit for the …","Gets the ref_time_limit part of the weight limit for the …","Sets the ref_time_limit part of the weight limit for the …","Sets the type of the returned value upon the execution of …","Sets the type of the returned value upon the execution of …","The salt for determining the hash for the contract account …","Sets the value transferred upon the execution of the call.","","","Type states that tell what state of a instantiation …","Returns the chosen storage deposit limit for the called …","Sets the storage_deposit_limit for the current …","Gets the storage_deposit_limit for the contract …","Sets the storage_deposit_limit for the contract …","Returns the underlying bytes of the selector.","","","","","","","","","","","Returns the transferred value for the called contract.","Returns the transferred value for the called contract.","Sets the transferred_value for the current cross-contract …","Sets the transferred_value for the current cross-contract …","Sets the transferred_value for the current cross-contract …","","","","","","","","","","","","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","Instantiates the contract and returns its account ID back …","","","","","","","","","","","","Invokes the contract with the given built-up call …","Invokes the contract with the given built-up call …","Invoke the contract using Delegate Call semantics with the …","Invokes the cross-chain function call using Delegate Call …","Invokes the cross-chain function call using Delegate Call …","Invokes the cross-chain function call.","Invokes the cross-chain function call.","Invokes the cross-chain function call and returns the …","Invokes the cross-chain function call and returns the …","","","","","","","","","","","","Modify the selector.","Modify the selector.","","Utility types for the cross-contract calling API.","","","","","","","","","","","","Type state for the salt used for contract instantiation.","","","Returns the argument unchanged.","Calls U::from(self).","","","","","Minor simplification of an argument list with a head and …","A single argument and its reference to a known value.","An argument list.","The end of an argument list.","An empty argument list.","The output type of the unwrap_or_else operation.","Represents a return type.","A parameter that has been set to some value.","A parameter that has not been set, yet.","Implemented by Set and Unset in order to unwrap their …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Creates a new empty argument list.","Creates a new empty argument list.","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Pushes the first argument to the empty argument list.","Pushes the first argument to the empty argument list.","Pushes another argument to the argument list.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the set value or evaluates the given closure.","","","Returns the set value.","","","","","","","A concrete instance of a chain extension method.","The E type of the Result<T, E>.","Implemented by error codes in order to construct them from …","Extract Ok and Err variants from Result type.","The T type of the Result<T, E>.","","","Creates a new chain extension method instance.","Calls the chain extension method for case 1.B described …","Calls the chain extension method for case 1.A described …","Calls the chain extension method for case 2.A described …","Calls the chain extension method for case 2.B described …","","Returns the argument unchanged.","Returns Ok if the status code for the called chain …","Makes the chain extension method call handle the returned …","Makes the chain extension method call assume that the …","Sets the input types of the chain extension method call to …","Calls U::from(self).","Sets the output type, O, of the chain extension method …","Type states of the chain extension method instance.","","","","","Type state meaning that the chain extension method uses …","Type state meaning that the chain extension method ignores …","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","","","The BLAKE-2 crypto hash with 128-bit output.","The BLAKE-2 crypto hash with 256-bit output.","Types that are usable as built-in cryptographic hashes.","The output type of built-in cryptographic hash functions.","The KECCAK crypto hash with 256-bit output.","The SHA-2 crypto hash with 256-bit output.","The output type of the crypto hash.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Hashes the given raw byte input and copies the result into …","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","The raw ABI respecting input data to a call.","Types implementing this trait can be used as chain …","The default accounts.","Record for an emitted event.","","","Advances the chain by a single block.","The predefined ALICE account holding substantial amounts …","Tests if a contract terminates successfully after …","The predefined BOB account holding some amounts of value.","","","","","","","Calls the chain extension with the given input.","Gets the currently set callee.","The predefined CHARLIE account holding some amounts of …","","","","","Returns the amount of storage cells used by the account …","Recorded encoding of the emitted event.","","","","","","Returns the default accounts for testing purposes: Alice, …","The predefined DJANGO account holding no value.","","","","","The predefined EVE account holding no value.","The static ID of the chain extension.","","The predefined FRANK account holding no value.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the balance of the account.","Returns the total number of reads and writes of the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns a boolean to indicate whether an account is a …","Creates new call ABI data for the given selector.","Returns the underlying bytes of the encoded input …","Prepend contract message call with value transfer. Used …","Pushes the given argument onto the call ABI data in …","Returns the contents of the past performed environmental …","Returns the recorded emitted events in order.","Registers a new chain extension.","Runs the given closure test function with the default …","Returns the selector of self.","Sets the balance of the account to the given balance.","Sets the block number for the next advance_block …","Sets the block timestamp for the next advance_block …","Sets the callee for the next call.","Sets a caller for the next call.","Set to true to disable clearing storage","Sets an account as a contract","Sets the value transferred from the caller to the callee …","","Returns the underlying byte representation.","","","","Recorded topics of the emitted event.","Transfers value from the caller account to the contract.","","","","","","","","","","","",""],"i":[4,34,0,0,34,34,18,90,4,0,17,17,17,34,17,0,0,18,0,17,55,0,6,0,0,4,0,0,34,17,17,34,0,17,18,6,3,16,0,18,0,0,16,17,17,4,34,17,91,17,17,17,17,17,3,4,10,0,3,4,0,3,4,3,4,3,4,3,4,3,4,3,4,3,4,0,0,3,4,17,18,92,10,3,4,17,18,92,10,0,0,0,0,0,0,3,4,10,3,4,10,3,4,0,3,4,3,4,0,0,0,0,0,3,4,0,0,0,3,4,3,4,17,18,10,3,4,3,3,3,3,3,4,4,4,4,4,17,18,10,3,4,17,18,18,18,18,18,18,92,10,3,4,3,4,3,4,3,4,90,0,0,0,3,4,0,0,3,4,0,0,3,4,3,4,3,4,17,18,92,10,0,0,0,3,4,0,3,4,0,0,3,4,0,3,4,0,3,4,0,3,4,0,0,0,3,4,3,4,3,4,0,0,0,3,4,10,3,4,16,0,0,3,4,17,18,92,10,3,4,17,18,92,10,3,4,17,18,92,10,92,10,3,4,0,3,4,17,18,92,10,0,0,0,0,0,0,0,0,0,37,0,0,37,37,0,0,37,0,43,39,42,51,38,31,54,49,57,40,43,39,42,51,38,31,32,54,49,57,40,43,39,42,51,38,31,32,54,49,57,0,0,51,40,51,51,51,51,40,40,43,39,42,51,38,31,54,49,57,43,39,42,51,38,31,54,49,57,40,42,51,32,54,57,57,57,57,57,49,57,51,57,57,49,57,57,32,54,57,37,37,40,51,32,54,40,38,31,32,49,57,40,43,39,42,51,38,31,32,54,49,57,57,35,40,43,51,32,54,32,32,54,54,54,40,43,39,42,51,38,31,32,54,49,57,40,40,40,51,51,51,51,51,51,43,39,42,49,57,37,51,51,51,51,51,51,54,40,51,32,54,49,49,40,51,32,54,51,54,32,54,49,57,0,40,51,32,54,57,57,43,39,42,51,38,31,54,49,57,40,40,43,51,51,40,43,39,42,51,38,31,32,54,49,57,32,32,54,54,40,43,39,42,51,38,31,32,54,49,57,40,40,40,51,51,51,51,51,51,40,43,39,42,51,38,31,32,54,49,57,32,49,57,0,40,43,39,42,51,38,31,32,54,49,57,0,53,53,53,53,53,53,53,53,0,0,0,0,0,93,0,0,0,0,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,50,47,67,70,48,67,48,67,66,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,48,67,67,48,67,66,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,50,52,47,67,66,70,93,52,47,52,50,52,47,67,66,70,0,74,0,0,74,71,71,71,71,71,71,71,71,71,73,71,71,71,71,71,0,71,71,71,71,0,0,75,72,75,72,75,72,75,72,75,72,75,72,75,72,75,72,75,72,0,0,0,0,0,0,94,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,95,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,76,77,78,79,0,0,0,0,83,84,0,85,0,85,85,83,84,85,83,84,89,0,85,83,84,83,84,0,84,83,83,83,83,83,0,85,83,83,83,83,85,89,83,85,85,83,84,84,0,0,85,83,84,0,83,83,0,83,0,0,0,0,83,0,0,0,0,0,0,0,0,83,83,83,83,84,84,0,85,83,84,85,83,84,85,83,84,85,83,84],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[]],[[],3],[[],4],[[]],[[3,3],3],[[4,4],4],[[3,3],2],[[4,4],2],[[3,3],3],[[4,4],4],[[3,3],2],[[4,4],2],[3,5],[4,5],[[3,3],3],[[4,4],4],[[3,3],2],[[4,4],2],[[]],[[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,[[6,[2]]],7],[[]],[[],8],0,[-1,[[9,[5]]],7],[3,3],[4,4],[10,10],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[3,3],11],[[4,4],11],[[],6],[3,3],[4,4],[[3,3],8],[[4,4],8],[-1,[[9,[5]]],7],[12,2],0,0,[[],[[6,[-1]]],13],[[3,3],3],[[4,4],4],[[[15,[14]],[15,[14]],[15,[14]]],[[6,[2]]]],[[[15,[14]],[15,[14]]],[[6,[2]]]],[-1,2,16],[[],3],[[],4],[[3,3],8],[[4,4],8],[[17,17],8],[[18,18],8],[[10,10],8],[[3,-1],2,19],[[4,-1],2,19],[[3,20],[[22,[2,21]]]],[[3,20],[[22,[2,21]]]],[[3,20],[[22,[2,21]]]],[[3,20],[[22,[2,21]]]],[[3,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[4,20],[[22,[2,21]]]],[[17,20],[[22,[2,21]]]],[[18,20],23],[[10,20],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[24,18],[25,18],[-1,-1,[]],[2,18],[26,18],[17,18],[-1,-1,[]],[-1,-1,[]],[5,[[9,[3]]]],[5,[[9,[4]]]],[5,3],[5,4],[5,3],[5,4],[-1,3,19],[-1,4,19],[[],-1,[]],[[],27],[-1,[[6,[[9,[-2]]]]],7,28],0,[[3,-1],2,29],[[4,-1],2,29],[[[30,[14]]],2],[-1,2,7],[[3,3],2],[[4,4],2],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],[[6,[33]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[32,[-1,-2,38,-3,-4,-5]]],[[6,[33]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[3,3],3],[[4,4],4],[[3,3],8],[[4,4],8],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],[[6,[[41,[-3]]]]],34,7,13],[[[40,[-1,[42,[-1]],-2,-3]]],[[6,[[41,[-3]]]]],34,7,13],[[[40,[-1,[43,[-1]],-2,-3]]],[[6,[[41,[-3]]]]],34,7,13],[3,8],[4,8],[[],8],[3,8],[4,8],[[],2],[[]],[3,3],[4,4],[[],6],[[3,3],[[9,[11]]]],[[4,4],[[9,[11]]]],0,[[3,3],2],[[4,4],2],[[3,-1],44,7],[[3,3,8],2],[[4,4,8],2],[[],[[6,[2]]]],[[-1,-2],[[9,[5]]],7,28],[[[15,[14]],[30,[14]],[15,[14]]],[[6,[2]]]],[[3,3],3],[[4,4],4],[[3,3],2],[[4,4],2],[[3,3],3],[[4,4],4],[-1,[[6,[[9,[-2]]]]],7,28],[[],44],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[3,3],2],[[4,4],2],[[-1,[0,[0,-2,-3]]],[],[],34,[[0,[-2]]]],[[],[[6,[2]]]],[[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[[],46],[[],46],[[3,3],3],[[4,4],4],[[],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[27],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],[[51,[-1,[47,[[43,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],34],[[],[[54,[-1,47,[52,[31]],47,[47,[[49,[48]]]],[47,[53]],[47,[[50,[2]]]]]]],55],[[[51,[-1,[47,[-2]],-3,-4]]],[[51,[-1,[52,[[39,[-1]]]],-3,-4]]],34,[],[],[]],[[[40,[-1,-2,-3,-4]]],4,34,[],[],[]],[[[51,[-1,-2,-3,-4]],4],[[51,[-1,-2,-3,-4]]],34,[],[],[]],[[[51,[-1,[47,[-2]],-3,-4]],-5],[[51,[-1,[52,[-5]],-3,-4]]],34,[],[],[],[]],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],[[51,[-1,[52,[[43,[-1]]]],-2,-3]]],34,[],[]],[[[51,[-1,[47,[-2]],-3,-4]]],[[51,[-1,[52,[[43,[-1]]]],-3,-4]]],34,[],[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],[],34,[],[]],[[[40,[-1,[43,[-1]],-2,-3]]],[],34,[],[]],[[[43,[-1]]],[[43,[-1]]],[56,34]],[[[39,[-1]]],[[39,[-1]]],[56,34]],[[[42,[-1]]],[[42,[-1]]],[56,34]],[[[51,[-1,-2,-3,-4]]],[[51,[-1,-2,-3,-4]]],[34,56],56,56,56],[38,38],[[[31,[-1]]],[[31,[-1]]],[34,56]],[[[54,[-1,-2,-3,-4,-5,-6,-7,-8]]],[[54,[-1,-2,-3,-4,-5,-6,-7,-8]]],[34,56],56,56,56,56,56,56,56],[[[49,[-1]]],[[49,[-1]]],56],[57,57],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[40,[-1,[42,[-1]],-2,-3]]],[],34,[],[]],[[[42,[-1]]],[[42,[-1]]],34],[[[51,[-1,[52,[[42,[-1]]]],-2,-3]]],[[51,[-1,[52,[[42,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,-3,-4,-5,-6]]],[],34,[],[],[],[],[]],[[[54,[-1,-2,47,-3,-4,-5,-6,-7]]],[[54,[-1,-2,52,-3,-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[-1,[[22,[-2,26]]],58,[]],[-1,[[22,[57,26]]],58],[[[30,[14]]],[[22,[-1,26]]],[]],[[5,[30,[14]]],[[22,[-1,26]]],[]],[[5,-1],[[22,[-2,26]]],58,[]],[[],[[49,[-1]]],59],[[],57],[[[51,[-1,[47,[-2]],-3,-4]]],[[51,[-1,[52,[[42,[-1]]]],-3,-4]]],34,[],[],[]],[[-1,-2],2,[],[60,61]],[57,[[62,[14]]]],[[[49,[-1]],-2],2,7,[60,61]],[[57,-1],2,[60,61]],[-1,63,[]],[[[32,[-1,-2,-3,-4,-5,-6]]],[],34,[],[],[],[],[]],[[[54,[-1,-2,-3,-4,47,-5,-6,-7]]],[[54,[-1,-2,-3,-4,52,-5,-6,-7]]],34,[],[],[],[],[],[]],[[57,57],8],[[],9],[[],9],[[[40,[-1,-2,-3,-4]]],[[49,[-3]]],34,[],[],[]],[[[51,[-1,-2,[47,[[49,[48]]]],-3]],[49,[-4]]],[[51,[-1,-2,[52,[[49,[-4]]]],-3]]],34,[],[],[]],[[[32,[-1,-2,-3,-4,-5,-6]]],[[49,[-4]]],34,[],[],[],[],[]],[[[54,[-1,-2,-3,-4,-5,[47,[[49,[48]]]],-6,-7]],[49,[-8]]],[[54,[-1,-2,-3,-4,-5,[52,[[49,[-8]]]],-6,-7]]],34,[],[],[],[],[],[],[]],[[[40,[-1,-2,-3,-4]],20],23,[34,64],64,64,64],[[38,20],23],[[[31,[-1]],20],23,[34,64]],[[[32,[-1,-2,-3,-4,-5,-6]],20],23,[34,64],64,64,64,64,64],[[[49,[-1]],20],23,64],[[57,20],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[15,[14]]],57],[-1,-1,[]],[[],-1,[]],[[[40,[-1,[43,[-1]],-2,-3]]],27,34,[],[]],[[[43,[-1]],27],[[43,[-1]]],34],[[[51,[-1,[52,[[43,[-1]]]],-2,-3]],27],[[51,[-1,[52,[[43,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,38,-3,-4,-5]]],65,34,[],[],[],[]],[[[54,[-1,-2,-3,[52,[38]],-4,-5,-6,-7]],65],[[54,[-1,-2,-3,[52,[38]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[[[32,[-1,-2,38,-3,-4,-5]]],[],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],[],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,52,[52,[38]],52,[52,[[49,[-3]]]],[52,[-4]],[52,[[50,[-5]]]]]]],[],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,52,[52,[[31,[-1]]]],52,[52,[[49,[-3]]]],[52,[-4]],[52,[[50,[-5]]]]]]],[],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],[[54,[-1,-2,-3,[52,[38]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],-3,34,7,13],[[[40,[-1,[42,[-1]],-2,-3]]],-3,34,7,13],[[[40,[-1,[43,[-1]],-2,-3]]],-3,34,7,13],[[[51,[-1,[52,[[39,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],2,34],[[[51,[-1,[52,[[43,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],2,34],[[[51,[-1,[52,[[43,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],-3,34,7,13],[[[51,[-1,[52,[[42,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],-3,34,7,13],[[[51,[-1,[52,[[39,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],-3,34,7,13],[[[51,[-1,[52,[[42,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],2,34],[[],[[43,[-1]]],34],[[],[[39,[-1]]],34],[[],[[42,[-1]]],34],[57,[[49,[48]]]],[[[15,[14]]],57],[-1,[],[]],[[[51,[-1,[52,[[43,[-1]]]],[47,[[49,[48]]]],[47,[-2]]]]],[[40,[-1,[43,[-1]],48,2]]],34,[]],[[[51,[-1,[52,[[42,[-1]]]],[47,[[49,[48]]]],[47,[-2]]]]],[[40,[-1,[42,[-1]],48,2]]],34,[]],[[[51,[-1,[52,[[39,[-1]]]],[47,[[49,[48]]]],[47,[-2]]]]],[[40,[-1,[39,[-1]],48,2]]],34,[]],[[[51,[-1,[52,[[43,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[40,[-1,[43,[-1]],-2,-3]]],34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[40,[-1,[39,[-1]],-2,-3]]],34,[],[]],[[[51,[-1,[52,[[42,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[40,[-1,[42,[-1]],-2,-3]]],34,[],[]],[[[54,[-1,-2,52,[52,[-3]],52,[52,[[49,[-4]]]],[52,[-5]],[52,[[50,[-6]]]]]]],[[32,[-1,-2,-3,-4,-5,-6]]],34,[],[],[],[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],65,34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]],27],[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],65,34,[],[],[],[]],[[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]],65],[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[[[49,[[67,[[66,[-1]],-2]]]],-3],[[49,[[68,[-3,[68,[-1,-2]]]]]]],[],[],7],[[[49,[48]],-1],[[49,[[67,[[66,[-1]],48]]]]],7],[[[40,[-1,[39,[-1]],-2,-3]]],65,34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]],27],[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],65,34,[],[],[],[]],[[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]],65],[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[[[51,[-1,-2,-3,[47,[[50,[2]]]]]]],[[51,[-1,-2,-3,[52,[[50,[-4]]]]]]],34,[],[],[]],[[[54,[-1,-2,-3,-4,-5,-6,-7,[47,[[50,[2]]]]]]],[[54,[-1,-2,-3,-4,-5,-6,-7,[52,[[50,[-8]]]]]]],34,[[35,[-1]]],[],[],[],[],[],[[37,[-2]]]],[[[32,[-1,-2,-3,-4,-5,-6]]],-5,34,[],[],[],[[36,[[30,[14]]]]],[]],[[[54,[-1,-2,-3,-4,-5,-6,[47,[53]],-7]],-8],[[54,[-1,-2,-3,-4,-5,-6,[52,[-8]],-7]]],34,[],[],[],[],[],[],[[36,[[30,[14]]]]]],[[[49,[-1]]],63,7],[57,63],0,[[[40,[-1,[39,[-1]],-2,-3]]],9,34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],34,[],[]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],9,34,[],[],[],[]],[[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],[[54,[-1,-2,-3,[52,[[31,[-1]]]],-4,-5,-6,-7]]],34,[],[],[],[],[],[]],[57,[[15,[14]]]],[[-1,[30,[14]]],[[62,[14]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],[],34,[],[]],[[[40,[-1,[43,[-1]],-2,-3]]],[],34,[],[]],[[[43,[-1]]],[[43,[-1]]],34],[[[51,[-1,[52,[[43,[-1]]]],-2,-3]]],[[51,[-1,[52,[[43,[-1]]]],-2,-3]]],34,[],[]],[[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],[[51,[-1,[52,[[39,[-1]]]],-2,-3]]],34,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[[[32,[-1,-2,[31,[-1]],-3,-4,-5]]],[[22,[33,18]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[32,[-1,-2,38,-3,-4,-5]]],[[22,[33,18]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,52,[52,[[31,[-1]]]],52,[52,[[49,[-3]]]],[52,[-4]],[52,[[50,[-5]]]]]]],[[22,[33,18]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[[[54,[-1,-2,52,[52,[38]],52,[52,[[49,[-3]]]],[52,[-4]],[52,[[50,[-5]]]]]]],[[22,[33,18]]],34,[[35,[-1]]],7,[[36,[[30,[14]]]]],[[37,[-2]]]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[[[40,[-1,[39,[-1]],-2,-3]]],[[22,[[41,[-3]],18]]],34,7,13],[[[40,[-1,[43,[-1]],-2,-3]]],[[22,[[41,[-3]],18]]],34,7,13],[[[40,[-1,[42,[-1]],-2,-3]]],[[22,[[41,[-3]],18]]],34,7,13],[[[51,[-1,[52,[[42,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],[[22,[[41,[2]],18]]],34],[[[51,[-1,[52,[[42,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[22,[[41,[-3]],18]]],34,7,13],[[[51,[-1,[52,[[43,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],[[22,[[41,[2]],18]]],34],[[[51,[-1,[52,[[39,[-1]]]],[47,[[49,[48]]]],[47,[[50,[2]]]]]]],[[22,[[41,[2]],18]]],34],[[[51,[-1,[52,[[43,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[22,[[41,[-3]],18]]],34,7,13],[[[51,[-1,[52,[[39,[-1]]]],[52,[[49,[-2]]]],[52,[[50,[-3]]]]]]],[[22,[[41,[-3]],18]]],34,7,13],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[[[32,[-1,-2,-3,-4,-5,-6]],57],2,34,[],[],[],[],[]],[[[49,[-1]],57],2,[]],[[57,-1],-2,69,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,-2,[],[]],0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[50,[-1]]],[[50,[-1]]],[]],[[[52,[-1]]],[[52,[-1]]],56],[[[47,[-1]]],[[47,[-1]]],[]],[[[67,[-1,-2]]],[[67,[-1,-2]]],56,56],[[[66,[-1]]],[[66,[-1]]],56],[70,70],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[],[[50,[-1]]],[]],[[],[[47,[-1]]],[]],[[],[[67,[-1,-2]]],59,59],[[],70],[[],48],[[],48],[[48,-1],2,[60,61]],[[[67,[[66,[-1]],-2]],-3],2,7,7,[60,61]],[[[66,[-1]],-2],2,7,[60,61]],[[[50,[-1]],20],23,64],[[[52,[-1]],20],23,64],[[[47,[-1]],20],23,64],[[[67,[-1,-2]],20],23,64,64],[[[66,[-1]],20],23,64],[[70,20],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[48,-1],[[67,[[66,[-1]],48]]],7],[[[67,[70,70]],-1],[[67,[[66,[-1]],[67,[70,70]]]]],7],[[[67,[[66,[-1]],-2]],-3],[[67,[[66,[-3]],[67,[[66,[-1]],-2]]]]],[],[],7],[48,63],[[[67,[[66,[-1]],-2]]],63,7,7],[[[66,[-1]]],63,7],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[[-1,-2],[],[],69],[[[52,[-1]],-2],[],[],69],[[[47,[-1]],-2],[],[],69],[[[52,[-1]]],-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[5,[[71,[2,2,2]]]],[[[71,[-1,-2,[72,[-3]]]],-1],[[22,[-2,-3]]],7,13,73],[[[71,[-1,-2,[72,[-3]]]],-1],22,7,74,73],[[[71,[-1,-2,75]],-1],22,7,74],[[[71,[-1,-2,75]],-1],-2,7,13],[[[71,[-1,-2,-3]],20],23,64,64,64],[-1,-1,[]],[5,[[22,[2,-1]]],[]],[[[71,[-1,-2,2]]],[[71,[-1,-2,[72,[-3]]]]],[],[],73],[[[71,[-1,-2,2]]],[[71,[-1,-2,75]]],[],[]],[[[71,[2,-1,-2]]],[[71,[-3,-1,-2]]],[],[],7],[-1,-2,[],[]],[[[71,[-1,2,-2]]],[[71,[-1,-3,-2]]],[],[],13],0,[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,-2,[],[]],0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[75,20],23],[[[72,[-1]],20],23,64],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[76,76],[77,77],[78,78],[79,79],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[76,76],8],[[77,77],8],[[78,78],8],[[79,79],8],[[76,20],23],[[77,20],23],[[78,20],23],[[79,20],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[30,[14]]],2],[[[30,[14]]],2],[[[30,[14]]],2],[[[30,[14]]],2],[[[30,[14]]],2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[],2],0,[-1,2,[80,81]],0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,82,[30,[14]],[62,[14]]],5,[]],[[]],0,[83,83],[84,84],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[],[[6,[63]]]],0,[-1,[[22,[83,26]]],58],[-1,[[22,[-2,26]]],58,[]],[[[30,[14]]],[[22,[-1,26]]],[]],[[5,[30,[14]]],[[22,[-1,26]]],[]],[[5,-1],[[22,[-2,26]]],58,[]],[[],[[85,[-1]]],34],0,[[-1,-2],2,[],[60,61]],[[83,-1],2,[60,61]],[-1,63,[]],[[83,83],8],0,[-1,82,[]],[[83,20],23],0,[-1,-1,[]],[-1,-1,[]],[86,84],[-1,-1,[]],[[],6],[[],[[2,[63,63]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[],8],[57,83],[83,[[30,[14]]]],0,[[83,-1],2,7],[[],87],[[],[[0,[88]]]],[-1,2,89],[-1,[[6,[2]]],69],[83,57],[[],2],[[],2],[[],2],[[],2],[[],2],[8,2],[[],2],[[],2],[83,63],[83,[[30,[14]]]],[[-1,[30,[14]]],[[62,[14]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,[[],2],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,[[22,[-2]]],[],[]],[-1,45,[]],[-1,45,[]],[-1,45,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Private",830],[15,"tuple"],[3,"ReturnFlags",0],[3,"CallFlags",0],[15,"u32"],[6,"Result",0],[8,"Encode",831],[15,"bool"],[4,"Option",832],[4,"DefaultEnvironment",0],[4,"Ordering",833],[15,"str"],[8,"Decode",831],[15,"u8"],[15,"array"],[8,"Event",0],[4,"ReturnErrorCode",0],[4,"Error",0],[8,"IntoIterator",834],[3,"Formatter",835],[3,"Error",835],[4,"Result",836],[6,"Result",835],[4,"AccountError",837],[4,"Error",838],[3,"Error",839],[6,"Gas",0],[8,"Storable",840],[8,"Hasher",841],[15,"slice"],[3,"LimitParamsV2",252],[3,"CreateParams",252],[6,"ConstructorResult",842],[8,"Environment",0],[8,"FromAccountId",252],[8,"AsRef",843],[8,"ConstructorReturnType",252],[3,"LimitParamsV1",252],[3,"Call",252],[3,"CallParams",252],[6,"MessageResult",842],[3,"DelegateCall",252],[3,"CallV1",252],[15,"never"],[3,"TypeId",844],[3,"Type",845],[3,"Unset",524],[6,"EmptyArgumentList",524],[3,"ExecutionInput",252],[3,"ReturnType",524],[3,"CallBuilder",252],[3,"Set",524],[4,"Salt",515],[3,"CreateBuilder",252],[8,"ContractEnv",0],[8,"Clone",846],[3,"Selector",252],[8,"Input",831],[8,"Default",847],[8,"Output",831],[8,"Sized",848],[3,"Vec",849],[15,"usize"],[8,"Debug",835],[15,"u64"],[3,"Argument",524],[3,"ArgumentList",524],[6,"ArgsList",524],[8,"FnOnce",850],[3,"ArgumentListEnd",524],[3,"ChainExtensionMethod",631],[3,"HandleErrorCode",656],[8,"FromStatusCode",631],[8,"IsResultType",631],[4,"IgnoreErrorCode",656],[4,"Sha2x256",676],[4,"Keccak256",676],[4,"Blake2x256",676],[4,"Blake2x128",676],[8,"FnMut",850],[8,"UnwindSafe",851],[15,"u16"],[3,"CallData",744],[3,"EmittedEvent",744],[3,"DefaultAccounts",744],[3,"EmittedEvent",852],[3,"RecordedDebugMessages",852],[8,"Iterator",853],[8,"ChainExtension",744],[8,"FromLittleEndian",0],[8,"ContractReference",0],[4,"NoChainExtension",0],[8,"Unwrap",524],[8,"HashOutput",676],[8,"CryptoHash",676]],"b":[[127,"impl-UpperHex-for-ReturnFlags"],[128,"impl-Binary-for-ReturnFlags"],[129,"impl-Debug-for-ReturnFlags"],[130,"impl-LowerHex-for-ReturnFlags"],[131,"impl-Octal-for-ReturnFlags"],[132,"impl-UpperHex-for-CallFlags"],[133,"impl-Binary-for-CallFlags"],[134,"impl-Octal-for-CallFlags"],[135,"impl-LowerHex-for-CallFlags"],[136,"impl-Debug-for-CallFlags"],[143,"impl-From%3CAccountError%3E-for-Error"],[144,"impl-From%3CError%3E-for-Error"],[146,"impl-From%3C()%3E-for-Error"],[147,"impl-From%3CError%3E-for-Error"],[148,"impl-From%3CReturnErrorCode%3E-for-Error"],[306,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Args,+RetType%3E"],[307,"impl-CallBuilder%3CE,+Unset%3CCallType%3E,+Args,+RetType%3E"],[308,"impl-CallParams%3CE,+Call%3CE%3E,+Args,+R%3E"],[309,"impl-CallParams%3CE,+CallV1%3CE%3E,+Args,+R%3E"],[379,"impl-CreateParams%3CE,+ContractRef,+LimitParamsV1,+Args,+Salt,+R%3E"],[380,"impl-CreateParams%3CE,+ContractRef,+LimitParamsV2%3CE%3E,+Args,+Salt,+R%3E"],[381,"impl-CreateBuilder%3CE,+ContractRef,+Set%3C%3CE+as+Environment%3E::Hash%3E,+Set%3CLimitParamsV1%3E,+Set%3C%3CE+as+Environment%3E::Balance%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CSalt%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[382,"impl-CreateBuilder%3CE,+ContractRef,+Set%3C%3CE+as+Environment%3E::Hash%3E,+Set%3CLimitParamsV2%3CE%3E%3E,+Set%3C%3CE+as+Environment%3E::Balance%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CSalt%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[395,"impl-CallParams%3CE,+Call%3CE%3E,+Args,+R%3E"],[396,"impl-CallParams%3CE,+DelegateCall%3CE%3E,+Args,+R%3E"],[397,"impl-CallParams%3CE,+CallV1%3CE%3E,+Args,+R%3E"],[398,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[399,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[400,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[401,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[402,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[403,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[410,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CRetType%3E%3E"],[411,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CRetType%3E%3E"],[412,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CRetType%3E%3E"],[413,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[414,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[415,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[421,"impl-ExecutionInput%3CArgumentList%3CArgument%3CHead%3E,+Rest%3E%3E"],[422,"impl-ExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E"],[449,"impl-CallParams%3CE,+Call%3CE%3E,+Args,+R%3E"],[450,"impl-CallParams%3CE,+CallV1%3CE%3E,+Args,+R%3E"],[452,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Args,+RetType%3E"],[453,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Args,+RetType%3E"],[465,"impl-CreateParams%3CE,+ContractRef,+LimitParamsV2%3CE%3E,+Args,+Salt,+R%3E"],[466,"impl-CreateParams%3CE,+ContractRef,+LimitParamsV1,+Args,+Salt,+R%3E"],[467,"impl-CreateBuilder%3CE,+ContractRef,+Set%3C%3CE+as+Environment%3E::Hash%3E,+Set%3CLimitParamsV2%3CE%3E%3E,+Set%3C%3CE+as+Environment%3E::Balance%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CSalt%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[468,"impl-CreateBuilder%3CE,+ContractRef,+Set%3C%3CE+as+Environment%3E::Hash%3E,+Set%3CLimitParamsV1%3E,+Set%3C%3CE+as+Environment%3E::Balance%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CSalt%3E,+Set%3CReturnType%3CRetType%3E%3E%3E"],[480,"impl-CallParams%3CE,+Call%3CE%3E,+Args,+R%3E"],[481,"impl-CallParams%3CE,+CallV1%3CE%3E,+Args,+R%3E"],[482,"impl-CallParams%3CE,+DelegateCall%3CE%3E,+Args,+R%3E"],[483,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[484,"impl-CallBuilder%3CE,+Set%3CDelegateCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[485,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[486,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Unset%3CExecutionInput%3CArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E%3E%3E,+Unset%3CReturnType%3C()%3E%3E%3E"],[487,"impl-CallBuilder%3CE,+Set%3CCallV1%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[488,"impl-CallBuilder%3CE,+Set%3CCall%3CE%3E%3E,+Set%3CExecutionInput%3CArgs%3E%3E,+Set%3CReturnType%3CR%3E%3E%3E"],[592,"impl-ArgumentList%3CArgumentListEnd,+ArgumentListEnd%3E"],[593,"impl-ArgumentList%3CArgument%3CHead%3E,+Rest%3E"],[639,"impl-ChainExtensionMethod%3CI,+O,+HandleErrorCode%3CErrorCode%3E,+false%3E"],[640,"impl-ChainExtensionMethod%3CI,+O,+HandleErrorCode%3CErrorCode%3E,+true%3E"],[641,"impl-ChainExtensionMethod%3CI,+O,+IgnoreErrorCode,+true%3E"],[642,"impl-ChainExtensionMethod%3CI,+O,+IgnoreErrorCode,+false%3E"]]},\ "ink_ir":{"doc":"The ink! intermediate representation (IR) and abstractions.","t":"DIEDDDDDNNDDNDINENNEDDDEDDIEDDDDDDDDNNNDNNENNNDDDDNDELLLALLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLOOLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLKLLLLLLLLLKKKKLKLLLLLLLLLLLLLLLLKLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLKLLLLLLLKLLLLLLLLLLMLLLLLLLKLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLALLKLLLLLNDNEDENNNENNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMEELLLLLLLLLLLLLLDLLLFFLFLFLLLFLLLL","n":["Blake2x256Macro","Callable","CallableKind","CallableWithSelector","ChainExtension","ChainExtensionMethod","Config","Constructor","Constructor","Constructor","Contract","Event","Event","ExtensionId","HexLiteral","ImplBlock","ImplItem","Inherited","Ink","InkItem","InkItemTrait","InkTest","InkTraitDefinition","InkTraitItem","InkTraitMessage","InputsIter","IsDocAttribute","Item","ItemImpl","ItemMod","IterConstructors","IterEvents","IterInkTraitItems","IterItemImpls","IterMessages","Message","Message","Message","Message","Namespace","Other","Public","Receiver","Ref","RefMut","Rust","Selector","SelectorMacro","SignatureTopicArg","Storage","Storage","StorageItem","Visibility","all_used_types","anonymous","as_bytes","ast","ast","attrs","attrs","attrs","attrs","attrs","attrs","attrs","attrs","attrs","attrs","blake2b_256","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","callable","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","compose","composed_selector","compute","config","config","config","data","default","default","default","deref","env","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","error_code","events","extract_docs","fields","filter_map_constructor","filter_map_event_item","filter_map_impl_block","filter_map_message","filter_map_message","filter_map_other_item","filter_map_storage_item","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","format_err","format_err_spanned","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_u16","generics","generics","get_cfg_attrs","get_cfg_attrs","get_cfg_attrs","get_cfg_attrs","get_cfg_attrs","handle_status","has_wildcard_complement_selector","has_wildcard_complement_selector","has_wildcard_complement_selector","has_wildcard_complement_selector","has_wildcard_selector","has_wildcard_selector","has_wildcard_selector","has_wildcard_selector","hash","hash","hash","hash","hash","hex_lits","hex_padded_suffixed","hex_padded_unsuffixed","hex_suffixed","hex_unsuffixed","id","ident","ident","ident","ident","ident","ident","ident","ident","ident","ident","ident","ident","impls","ink_attrs","ink_attrs","input","input","inputs","inputs","inputs","inputs","inputs","inputs","inputs_span","inputs_span","inputs_span","inputs_span","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_be_u32","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_u16","is_constructor","is_default","is_default","is_default","is_default","is_doc_attribute","is_event_item","is_impl_block","is_inherited","is_ink_item","is_ink_item","is_message","is_other_item","is_payable","is_payable","is_payable","is_payable","is_pub","is_ref","is_ref_mut","is_rust_item","is_storage_item","item","item","item_fn","item_impl","items","items","iter_constructors","iter_items","iter_messages","iter_methods","kind","kind","kind","kind","len","local_id","local_id","map_ink_item","map_rust_item","marker","module","multiunzip","mutates","namespace","new","new","new","new","new","new","new","next","next","next","next","next","next","output","output","output","partial_cmp","partial_cmp","partial_cmp","partial_cmp","receiver","receiver","salt","selector","self_type","sig","sig","signature_topic","signature_topic_hex","span","span","span","span","span","span","span","span","span","span","span","span","span","span","span","span","statements","statements","statements","statements","storage","to_bytes","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_tokens","to_tokens","to_tokens","to_tokens","to_tokens","to_tokens","to_tokens","to_tokens","to_tokens","to_tokens","to_tokens","trait_ident","trait_path","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_ident","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","user_provided_selector","user_provided_selector","user_provided_selector","user_provided_selector","utils","vis","vis","visibility","visibility","visibility","visibility","whitelisted_attributes","wrapped_output","AtSign","AttributeArgs","Lit","Meta","MetaNameValue","MetaValue","NameValue","Path","Path","Symbol","Symbol","Underscore","as_bool","as_lit_bool","as_lit_int","as_lit_string","as_path","as_string","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","eq","eq","eq","eq","eq","eq_token","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","hash","hash","hash","hash","into","into","into","into","into","into_iter","name","name","name_value","parse","parse","parse","parse","parse","span","span","span","span","span","to_owned","to_owned","to_owned","to_owned","to_owned","to_tokens","to_tokens","to_tokens","to_tokens","to_tokens","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","value","value","SelectorBytes","SelectorId","borrow","borrow","borrow_mut","borrow_mut","from","from","into","into","try_from","try_from","try_into","try_into","type_id","type_id","WhitelistedAttributes","borrow","borrow_mut","default","duplicate_config_err","ensure_pub_visibility","eq","extract_cfg_attributes","filter_attr","find_storage_key_salt","fmt","from","into","local_message_id","parse_arg_value","try_from","try_into","type_id"],"q":[[0,"ink_ir"],[634,"ink_ir::ast"],[738,"ink_ir::marker"],[754,"ink_ir::utils"],[772,"syn::ty"],[773,"alloc::vec"],[774,"syn::derive"],[775,"syn::attr"],[776,"core::cmp"],[777,"proc_macro2"],[778,"core::option"],[779,"core::convert"],[780,"syn::derive"],[781,"alloc::string"],[782,"syn::data"],[783,"syn::punctuated"],[784,"syn::item"],[785,"core::fmt"],[786,"core::fmt"],[787,"proc_macro2"],[788,"syn::lit"],[789,"syn::lit"],[790,"core::result"],[791,"syn::item"],[792,"syn::error"],[793,"syn::item"],[794,"syn::restriction"],[795,"syn::lit"],[796,"syn::spanned"],[797,"syn::generics"]],"d":["Computes the BLAKE2b-256 bit hash of a string or byte …","An ink! callable.","The kind of externally callable smart contract entity.","Wrapper for a callable that adds its composed selector.","An ink! chain extension.","An ink! chain extension method.","The ink! configuration.","An ink! constructor definition.","An ink! constructor externally callable.","A #[ink(constructor)] marked inherent function.","An ink! contract definition consisting of the ink! …","A checked ink! event with its configuration.","An ink! event definition.","The unique ID of an chain extension.","Used to convert literal values into their hex …","An ink! implementation block.","An item within an ink! implementation block.","","The item is an ink! specific item.","An ink! specific item.","A checked ink! trait definition without its configuration.","The ink! test with all required information.","A checked ink! trait definition without its configuration.","An ink! item within an ink! trait definition.","A checked ink! message of an ink! trait definition.","Iterator over the input parameters of an ink! message or …","An extension trait for syn::Attribute in order to query …","An item in the root of the ink! module (ir::ItemMod).","An ink! implementation block.","The ink! module.","Iterator yielding all ink! constructor within a source ink!","Iterator yielding all ink! event definitions within the …","Iterator over all the ink! trait items of an ink! trait …","Iterator yielding all ink! implementation block …","Iterator yielding all ink! messages within a source ink! …","An ink! message definition.","An ink! message externally callable.","A #[ink(message)] marked method.","","An ink! namespace applicable to a trait implementation …","Any other implementation block item.","","The receiver of an ink! message.","The &self message receiver.","The &mut self message receiver.","The item is a normal Rust item.","The selector of an ink! dispatchable.","The selector ID of an ink! dispatchable.","The signature topic argument of an event variant.","An ink! storage struct definition.","The ink! storage struct definition.","A checked ink! storage item with its configuration.","The visibility of an ink! message or constructor.","Returns all types that were used in the storage …","Returns if the event is marked as anonymous, if true then …","Returns the namespace as bytes.","Types and abstractions for ink! definitions that require …","Returns AST.","Returns the attributes of the storage.","Returns the Rust attributes of the ink! chain extension.","Returns the Rust attributes of the ink! chain extension …","Returns the non-ink! attributes of the ink! storage struct.","Returns a slice of all non-ink! attributes of the ink! …","Returns a slice of all non-ink! attributes of the ink! …","Returns all non-ink! specific attributes of the …","Returns all non-ink! attributes of the ink! module.","Returns all non-ink! attributes.","Returns the attributes of the ink! trait definition.","Computes the BLAKE-2b 256-bit hash for the given input and …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns a shared reference to the underlying callable.","","","","","","","","","","","","","","","","","","","","","","","","","Note","Returns the composed selector of the ink! callable the impl…","Computes the BLAKE-2 256-bit based selector from the given …","Returns the configuration of the ink! smart contract.","Returns the config of the storage.","Returns the ink! trait definition config.","Returns data of the storage.","","","","","Returns the environmental types definition if specified. …","","","","","","","","","","","","","","","","","","","","Returns the type of the error code of the chain extension.","Returns an iterator yielding all event definitions in this …","Returns the contents of the Rust documentation attribute …","Returns an iterator yielding all fields of the storage …","Returns Some if self is an ink! constructor.","Returns Some if self is an ink! event struct definition.","Returns Some if self is an ink! implementation block.","Returns Some if self is an ink! message.","Returns Some if the ink! trait item is a message.","Returns Some if self is a not an ink! specific item.","Returns Some if self is the ink! storage struct definition.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Creates a syn::Error with the format message and infers the","Creates a syn::Error with the format message and infers the","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Creates a new chain extension ID from the given u16.","Returns the generics of the storage.","Returns the generics of the storage struct.","Returns a list of cfg attributes if any.","Returns a list of cfg attributes if any.","Returns a list of cfg attributes if any.","Returns a list of cfg attributes if any.","Returns a list of cfg attributes if any.","Returns true if the chain extension method was flagged with","Returns true if the ink! callable is flagged as a wildcard …","","","","Returns true if the ink! callable is flagged as a wildcard …","","","","","Returns the underlying selector.","","","","Returns the 4 bytes that make up the selector as hex …","Converts the given value into a hex represented literal …","Converts the given value into a hex represented literal …","Converts the given value into a hex represented literal …","Converts the given value into a hex represented literal …","Returns the unique ID of the chain extension method.","Returns the identifier of the ink! callable.","Returns the identifier of the storage.","Returns the identifier of the ink! chain extension.","Returns the identifier of the ink! chain extension method.","Returns the identifier of the storage struct.","","","","Returns the identifier of the ink! module.","Returns the Rust identifier of the ink! trait item.","Returns the Rust identifier of the ink! message.","Returns the identifier of the ink! trait definition.","Returns an iterator yielding all ink! implementation …","Returns the ink! attributes of the ink! trait item.","Returns all ink! attributes.","Returns the literal input of the BLAKE-2b hash.","Returns the literal input of the selector ID.","Returns an iterator yielding all input parameters of the …","Returns an iterator over the inputs of the chain extension …","","","","Returns an iterator over the inputs of the ink! trait …","Returns the span of the inputs of the ink! callable.","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the big-endian u32 representation of the selector …","","","","","","","Returns the underlying raw u16 index.","Returns true if the impl block item is an ink! message.","Returns true if the ink! callable is flagged as default.","","","","Returns true if the attribute is a Rust documentation …","Returns true if the ink! specific item is an event struct …","Returns true if the ink! specific item is an …","Returns true if the visibility of the ink! message of …","Returns true if self is an ink! specific item.","Returns true if the given syn::Item is eventually an ink! …","Returns true if the impl block item is an ink! message.","Returns true if the impl block item is a non ink! specific …","Returns true if the ink! callable is flagged as payable.","","","","Returns true if the visibility of the ink! message of …","Returns true if the receiver is &self.","Returns true if the receiver is &mut self.","Returns true if self is an normal Rust item.","Returns true if the ink! specific item is the storage …","Returns the event definition .","Returns the ink! trait item representing the ink! trait …","The function which was annotated.","Returns the parent implementation block of the ink! …","Returns a slice over the shared references of the items of …","Returns all (ink! and non-ink! specific) item definitions …","Returns an iterator yielding the ink! messages of the …","Returns an iterator yielding the ink! specific items of …","Returns an iterator yielding the ink! messages of the …","Returns a slice over all the chain extension methods.","Returns the kind of the ink! callable.","","","","","Returns a local ID unique to the ink! message with respect …","Returns a local ID unique to the ink! trait definition of …","Returns Some if self is an ink! specific item.","Returns Some if self is an ink! specific item.","Marker types and definitions.","Returns the ink! inline module definition.","","Returns true if the ink! message may mutate the contract …","Returns the namespace of the implementation block if any …","Creates a new ink! contract from the given ink! …","Returns Ok if the test matches all requirements for an …","Returns Ok if the input matches all requirements for an …","Returns Ok if the trait matches all requirements for an …","Returns Ok if the input matches all requirements for an …","Creates a new ink! item trait from the given configuration …","Returns Ok if the input matches all requirements for an …","","","","","","","Returns the return type of the ink! constructor if any.","Returns the return type of the ink! message if any.","Returns the return type of the ink! message if any.","","","","","Returns the self receiver of the ink! message.","Returns the self receiver of the ink! trait message.","Returns salt for storage key.","Returns the underlying selector.","Returns the Self type of the implementation block.","Returns the method signature of the ink! chain extension …","Returns the original signature of the ink! message.","","Return manually specified signature topic hash.","Returns the span of the ink! chain extension.","Returns the span of the ink! chain extension method.","","","","","Returns the associated span if any.","","","","","","","","Returns the span of the ink! message.","Returns span of the ink! trait definition.","Returns a slice over shared references to the statements …","","","","Returns the storage struct definition for this ink! module.","Returns the underlying four bytes.","","","","","","","","","","","","We mainly implement this trait for this ink! type to have …","We mainly implement this trait for this ink! type to have …","We mainly implement this trait for this ink! type to have …","We mainly implement this trait for this ink! type to have …","","We mainly implement this trait for this ink! type to have …","We mainly implement this trait for this ink! type to have …","","We mainly implement this trait for this ink! type to have …","We mainly implement this trait for this ink! type to have …","We mainly implement this trait for ink! module to have a …","Returns the trait identifier if this is a trait …","Returns the trait type path if this is a trait …","","","","","","","","","","","","","","","Creates a new ink! chain extension from the given …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the identifier of the message with an additional …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the selector of the ink! callable if any has been …","","","","","Returns the visibility of the storage.","Returns the visibility of the ink! module.","Returns the visibility of the ink! callable.","","","","Return set of attributes that can be passed to call …","Returns the return type of the message, but wrapped within …","","The attribute arguments for the configuration of an ink! …","","Content of a compile-time structured attribute.","A name-value pair within an attribute, like …","Represents a value in a meta name-value pair.","A name-value pair, like feature = "nightly".","A path, like message.","","","","","Returns the value of the literal if it is a boolean …","Returns the literal if it is a boolean literal.","Returns the literal if it is an integer literal.","Returns the literal if it is a string literal.","Returns the path (if the value is a path).","Returns the value of the literal if it is a string literal.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Returns the meta-item name.","","Returns the NameValue variant (if any).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the meta-item value (if any).","","Used as generic parameter for the selector_bytes! macro.","Used as generic parameter for the selector_id! macro.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","","","","","","","The set of attributes that can be passed to call builder …","","","","Return an error to notify about duplicate ink! …","Ensures that the given visibility is pub and otherwise …","","Extracts cfg attributes from the given set of attributes","Returns the filtered input vector of whitelisted …","Finds the salt of a struct, enum or union. The salt is any …","","Returns the argument unchanged.","Calls U::from(self).","Returns a local ID unique to the ink! trait definition for …","Parses the MetaNameValue argument of keep_attr attribute. …","","",""],"i":[0,0,0,0,0,0,0,0,25,41,0,0,40,0,0,40,0,26,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,41,29,0,41,26,0,27,27,39,0,0,0,0,40,0,0,1,4,6,0,1,1,11,12,13,14,15,16,17,18,19,0,34,72,52,67,69,42,60,1,68,6,49,11,12,23,35,24,4,13,39,40,25,22,26,14,41,27,15,16,17,28,51,29,18,19,36,34,72,52,67,69,42,60,1,68,6,49,11,12,23,35,24,4,13,39,40,25,22,26,14,41,27,15,16,17,28,51,29,18,19,36,22,6,23,24,25,22,26,27,28,29,18,6,23,24,25,22,26,27,28,29,18,6,23,24,28,28,22,28,34,1,36,1,6,23,35,22,35,6,11,12,23,35,24,4,13,39,40,14,41,27,15,16,17,28,19,36,11,17,96,13,41,40,40,41,29,41,40,6,49,11,12,23,35,24,4,13,39,40,25,25,22,26,14,41,27,15,16,17,28,51,29,18,19,36,0,0,34,72,52,52,52,52,67,69,42,60,1,68,6,6,49,11,12,23,35,24,24,4,13,39,40,40,40,40,25,22,26,14,41,27,15,16,17,28,28,51,29,18,19,36,23,1,13,4,14,15,16,18,12,57,22,14,15,57,22,14,15,6,49,23,24,28,28,97,97,97,97,12,57,1,11,12,13,22,14,15,17,29,18,19,17,29,18,49,51,57,12,22,14,15,18,57,22,14,15,34,72,52,67,69,42,60,1,68,6,49,11,12,23,35,24,4,13,39,40,25,22,26,14,41,27,15,16,17,28,51,29,18,19,36,28,52,67,69,42,60,68,23,41,57,22,14,15,96,40,40,26,39,40,41,41,57,22,14,15,26,27,27,39,40,4,36,72,22,16,17,16,19,16,11,57,22,14,15,52,15,18,39,39,0,34,68,18,16,34,72,1,11,4,19,36,52,67,69,42,60,68,14,15,18,6,23,24,28,15,18,1,51,16,12,18,24,4,11,12,4,13,39,40,26,26,14,41,27,15,16,17,18,19,57,22,14,15,17,28,6,23,24,25,22,26,27,28,29,18,25,4,13,39,40,26,14,41,27,15,16,17,16,16,34,72,72,52,67,69,42,60,1,68,6,6,49,49,11,11,12,23,35,35,24,24,24,24,4,4,13,13,39,39,40,25,22,26,14,14,41,41,27,15,15,16,16,17,17,28,51,51,29,18,19,36,15,34,72,52,67,69,42,60,1,68,6,49,11,12,23,35,24,4,13,39,40,25,22,26,14,41,27,15,16,17,28,51,29,18,19,36,34,72,52,67,69,42,60,1,68,6,49,11,12,23,35,24,4,13,39,40,25,22,26,14,41,27,15,16,17,28,51,29,18,19,36,57,22,14,15,0,1,17,57,22,14,15,35,15,92,0,79,0,0,0,90,90,79,0,79,92,79,79,79,79,79,79,80,90,91,79,92,80,90,91,79,92,80,90,91,79,92,80,90,91,79,92,80,90,91,79,92,91,80,90,91,79,92,80,90,91,79,92,90,91,79,92,80,90,91,79,92,80,90,91,90,80,90,91,79,92,80,90,91,79,92,80,90,91,79,92,80,90,91,79,92,80,90,91,79,92,80,90,91,79,92,80,90,91,79,92,90,91,0,0,98,99,98,99,98,99,98,99,98,99,98,99,98,99,0,87,87,87,0,0,87,0,87,0,87,87,87,0,87,87,87,87],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,[[3,[2]]]],[4,5],[6,[[8,[7]]]],0,[1,9],[1,[[8,[10]]]],[11,[[3,[10]]]],[12,[[3,[10]]]],[13,[[8,[10]]]],[14,[[8,[10]]]],[15,[[8,[10]]]],[16,[[8,[10]]]],[17,[[8,[10]]]],[18,[[3,[10]]]],[19,[[8,[10]]]],[[[8,[7]],[20,[7]]],21],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[22,[-1]]],-1,[]],[6,6],[23,23],[24,24],[25,25],[[[22,[-1]]],[[22,[-1]]],[]],[26,26],[27,27],[28,28],[29,29],[18,18],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[6,6],30],[[23,23],30],[[24,24],30],[[28,28],30],[[-1,31],28,[[33,[[32,[0]]]]]],[[[22,[-1]]],28,[]],[[[8,[7]]],28],[34,35],0,0,[1,37],[[],6],[[],23],[[],35],[[[22,[-1]]],[],[]],[35,38],[[6,6],5],[[11,11],5],[[12,12],5],[[23,23],5],[[35,35],5],[[24,24],5],[[4,4],5],[[13,13],5],[[39,39],5],[[40,40],5],[[14,14],5],[[41,41],5],[[27,27],5],[[15,15],5],[[16,16],5],[[17,17],5],[[28,28],5],[[19,19],5],[[36,36],5],[11,2],[17,42],[-1,[[32,[43]]],[]],[13,[[45,[44]]]],[41,[[32,[14]]]],[40,[[32,[4]]]],[40,[[32,[16]]]],[41,[[32,[15]]]],[29,[[32,[18]]]],[41,[[32,[46]]]],[40,[[32,[13]]]],[[6,47],48],[[49,47],48],[[11,47],48],[[12,47],48],[[23,47],48],[[35,47],48],[[24,47],48],[[4,47],48],[[13,47],48],[[39,47],48],[[40,47],48],[[25,47],48],[[25,47],48],[[[22,[-1]],47],48,50],[[26,47],48],[[14,47],48],[[41,47],48],[[27,47],48],[[15,47],48],[[16,47],48],[[17,47],48],[[28,47],48],[[[51,[-1]],47],48,50],[[29,47],48],[[18,47],48],[[19,47],48],[[36,47],48],0,0,[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[14,52],[18,52],[15,52],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[3,[7]]],6],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[20,[7]]],24],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[4,40],[-1,-1,[]],[16,40],[13,40],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[20,[7]]],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[53,23],[1,54],[13,55],[[4,56],[[3,[54]]]],[[14,56],[[3,[54]]]],[[15,56],[[3,[54]]]],[[16,56],[[3,[54]]]],[[18,56],[[3,[54]]]],[12,5],[-1,5,[]],[[[22,[-1]]],5,57],[14,5],[15,5],[-1,5,[]],[[[22,[-1]]],5,57],[14,5],[15,5],[[6,-1],21,58],[49,[[20,[7]]]],[[23,-1],21,58],[[24,-1],21,58],[[28,-1],21,58],[28,[[20,[59]]]],[-1,59,[]],[-1,59,[]],[-1,59,[]],[-1,59,[]],0,[-1,31,[]],[1,31],[11,31],[12,31],[13,31],[[[22,[-1]]],31,57],[14,31],[15,31],[17,31],[29,31],[18,31],[19,31],[17,60],0,0,[49,61],[[[51,[-1]]],61,[]],[-1,52,[]],0,[[[22,[-1]]],52,57],[14,52],[15,52],[18,52],[-1,56,[]],[[[22,[-1]]],56,57],[14,56],[15,56],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[28,62],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[23,53],[41,5],[-1,5,[]],[[[22,[-1]]],5,57],[14,5],[15,5],[-1,5,[]],[40,5],[40,5],[26,5],[39,5],[63,[[65,[5,64]]]],[41,5],[41,5],[-1,5,[]],[[[22,[-1]]],5,57],[14,5],[15,5],[26,5],[27,5],[27,5],[39,5],[40,5],[4,66],[36,19],0,[[[22,[-1]]],16,[]],[16,[[8,[41]]]],[17,[[8,[39]]]],[16,67],[19,68],[16,69],[11,[[70,[12]]]],[-1,25,[]],[[[22,[-1]]],25,57],[14,25],[15,25],[52,71],[15,62],[18,62],[39,[[32,[40]]]],[39,[[32,[63]]]],0,[34,17],[-1,[[21,[-2,-3]]],[],[],[]],[18,5],[16,[[32,[6]]]],[[54,54],[[65,[34,64]]]],[[54,54],[[65,[72,64]]]],[[54,54],[[65,[1,64]]]],[[54,54],[[73,[11]]]],[[54,54],[[65,[4,64]]]],0,[[54,54],[[73,[36]]]],[52,32],[67,32],[69,32],[42,32],[60,32],[68,32],[14,[[32,[2]]]],[15,[[32,[2]]]],[18,[[32,[2]]]],[[6,6],[[32,[30]]]],[[23,23],[[32,[30]]]],[[24,24],[[32,[30]]]],[[28,28],[[32,[30]]]],[15,27],[18,27],[1,54],[[[51,[-1]]],28,[]],[16,2],[12,75],[18,75],[24,[[20,[7]]]],[4,[[32,[76]]]],[11,56],[12,56],[-1,56,[]],[-1,56,[]],[-1,56,[]],[-1,56,[]],[26,[[32,[56]]]],[-1,56,[]],[-1,56,[]],[-1,56,[]],[-1,56,[]],[-1,56,[]],[-1,56,[]],[-1,56,[]],[18,56],[19,56],[-1,[[8,[77]]],[]],[[[22,[-1]]],[[8,[77]]],57],[14,[[8,[77]]]],[15,[[8,[77]]]],[17,13],[28,[[20,[7]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,43,[]],[[4,54],21],[[13,54],21],[[39,54],21],[[40,54],21],[[26,54],21],[[14,54],21],[[41,54],21],[[27,54],21],[[15,54],21],[[16,54],21],[[17,54],21],[16,[[32,[31]]]],[16,[[32,[38]]]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[78,[[65,[72]]]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[79,[[65,[6]]]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[54,[[65,[49]]]],0,[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[80,[[65,[35]]]],[-1,[[65,[-2]]],[],[]],[61,[[65,[24]]]],[79,[[65,[24]]]],[81,[[65,[24]]]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[66,[[65,[4]]]],[-1,[[65,[-2]]],[],[]],[66,[[65,[13]]]],[-1,[[65,[-2]]],[],[]],[63,[[65,[39]]]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[82,[[65,[14]]]],[46,[[65,[41]]]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[82,[[65,[15]]]],[83,[[65,[16]]]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[84,[[65,[17]]]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[54,[[65,[[51,[-1]]]]],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[15,31],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,[[32,[28]]],[]],[[[22,[-1]]],[[32,[28]]],57],[14,[[32,[28]]]],[15,[[32,[28]]]],0,[1,86],[17,86],[-1,26,[]],[[[22,[-1]]],26,57],[14,26],[15,26],[35,87],[15,2],0,0,0,0,0,0,0,0,0,0,0,0,[79,[[32,[5]]]],[79,[[32,[88]]]],[79,[[32,[59]]]],[79,[[32,[89]]]],[79,[[32,[38]]]],[79,[[32,[43]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[80,80],[90,90],[91,91],[79,79],[92,92],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[-1,-2],21,[],[]],[[80,80],5],[[90,90],5],[[91,91],5],[[79,79],5],[[92,92],5],0,[[80,47],48],[[90,47],48],[[91,47],48],[[79,47],48],[[92,47],48],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[90,-1],21,58],[[91,-1],21,58],[[79,-1],21,58],[[92,-1],21,58],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[80],[90,38],0,[90,[[32,[91]]]],[93,[[65,[80,64]]]],[93,[[65,[90,64]]]],[93,[[65,[91,64]]]],[93,[[65,[79,64]]]],[93,[[73,[92]]]],[-1,56,[]],[-1,56,[]],[-1,56,[]],[-1,56,[]],[-1,56,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[80,54],21],[[90,54],21],[[91,54],21],[[79,54],21],[[92,54],21],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[-1,85,[]],[90,[[32,[79]]]],0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,85,[]],[-1,85,[]],0,[-1,-2,[],[]],[-1,-2,[],[]],[[],87],[[-1,-2,76,76],64,94,94],[[76,56,86],[[65,[21,64]]]],[[87,87],5],[[[8,[10]],56],[[3,[54]]]],[[87,[3,[10]]],[[3,[10]]]],[9,[[32,[95]]]],[[87,47],48],[-1,-1,[]],[-1,-2,[],[]],[31,62],[[87,91],[[65,[21,64]]]],[-1,[[65,[-2]]],[],[]],[-1,[[65,[-2]]],[],[]],[-1,85,[]]],"c":[],"p":[[3,"StorageItem",0],[4,"Type",772],[3,"Vec",773],[3,"Event",0],[15,"bool"],[3,"Namespace",0],[15,"u8"],[15,"slice"],[3,"DeriveInput",774],[3,"Attribute",775],[3,"ChainExtension",0],[3,"ChainExtensionMethod",0],[3,"Storage",0],[3,"Constructor",0],[3,"Message",0],[3,"ItemImpl",0],[3,"ItemMod",0],[3,"InkTraitMessage",0],[3,"InkItemTrait",0],[15,"array"],[15,"tuple"],[3,"CallableWithSelector",0],[3,"ExtensionId",0],[3,"SignatureTopicArg",0],[4,"CallableKind",0],[4,"Visibility",0],[4,"Receiver",0],[3,"Selector",0],[4,"InkTraitItem",0],[4,"Ordering",776],[3,"Ident",777],[4,"Option",778],[8,"Into",779],[3,"Contract",0],[3,"Config",0],[3,"InkTraitDefinition",0],[4,"Data",774],[3,"Path",780],[4,"Item",0],[4,"InkItem",0],[4,"ImplItem",0],[3,"IterEvents",0],[3,"String",781],[3,"Field",782],[3,"Iter",783],[4,"ImplItem",784],[3,"Formatter",785],[6,"Result",785],[3,"Blake2x256Macro",0],[8,"Debug",785],[3,"SelectorMacro",0],[3,"InputsIter",0],[15,"u16"],[3,"TokenStream",777],[3,"Generics",786],[3,"Span",777],[8,"Callable",0],[8,"Hasher",787],[3,"LitInt",788],[3,"IterItemImpls",0],[4,"Lit",788],[15,"u32"],[4,"Item",784],[3,"Error",789],[4,"Result",790],[3,"ItemStruct",784],[3,"IterConstructors",0],[3,"IterInkTraitItems",0],[3,"IterMessages",0],[3,"Iter",791],[15,"usize"],[3,"InkTest",0],[6,"Result",789],[3,"ItemTrait",784],[3,"Signature",784],[15,"str"],[4,"Stmt",792],[3,"ItemFn",784],[4,"MetaValue",634],[3,"AttributeArgs",634],[3,"MetaNameValue",775],[3,"ImplItemFn",784],[3,"ItemImpl",784],[3,"ItemMod",784],[3,"TypeId",793],[4,"Visibility",794],[3,"WhitelistedAttributes",754],[3,"LitBool",788],[3,"LitStr",788],[4,"Meta",634],[3,"MetaNameValue",634],[4,"Symbol",634],[6,"ParseStream",795],[8,"Spanned",796],[3,"TypeParam",786],[8,"IsDocAttribute",0],[8,"HexLiteral",0],[4,"SelectorId",738],[4,"SelectorBytes",738]],"b":[[217,"impl-Debug-for-CallableKind"],[218,"impl-Display-for-CallableKind"],[238,"impl-From%3C%26Constructor%3E-for-InputsIter%3C\'a%3E"],[239,"impl-From%3C%26InkTraitMessage%3C\'a%3E%3E-for-InputsIter%3C\'a%3E"],[240,"impl-From%3C%26Message%3E-for-InputsIter%3C\'a%3E"],[259,"impl-From%3CEvent%3E-for-InkItem"],[261,"impl-From%3CItemImpl%3E-for-InkItem"],[262,"impl-From%3CStorage%3E-for-InkItem"],[518,"impl-TryFrom%3C%26Lit%3E-for-SignatureTopicArg"],[519,"impl-TryFrom%3C%26MetaValue%3E-for-SignatureTopicArg"],[520,"impl-TryFrom%3C%26MetaNameValue%3E-for-SignatureTopicArg"]]},\ "ink_macro":{"doc":"","t":"YYYYYYOXXXXOOXXX","n":["Event","EventMetadata","Storable","StorableHint","StorageKey","StorageLayout","blake2x256","chain_extension","contract","event","scale_derive","selector_bytes","selector_id","storage_item","test","trait_definition"],"q":[[0,"ink_macro"]],"d":["Derives an implementation of the [ink::Event] trait for …","Derives the [ink::EventMetadata] trait for the given struct…","Derives ink::storage’s Storable trait for the given …","Derives ink::storage’s StorableHint trait for the given …","Derives ink::storage’s StorageKey trait for the given …","Derives ink::storage’s StorageLayout trait for the given …","Computes and expands into the BLAKE2b 256-bit hash of the …","Defines the interface for a chain extension.","Entry point for writing ink! smart contracts.","Implements the necessary traits for a struct to be emitted …","Derive the re-exported traits ink::scale::Encode, …","Computes the ink! selector of the string and expands into …","Computes the ink! selector of the string and expands into …","Prepares the type to be fully compatible and usable with …","Defines a unit test that makes use of ink!’s off-chain …","Marks trait definitions to ink! as special ink! trait …"],"i":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"c":[],"p":[],"b":[]},\ -"ink_metadata":{"doc":"","t":"DDDDNGHDDIDDDDQDESDDDDDDIYDLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLALLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLNDNNEDNDDNDDNEDNDENDNNDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["ConstructorSpec","ConstructorSpecBuilder","ContractSpec","ContractSpecBuilder","CouldNotReadInput","DisplayName","EVENTS","EnvironmentSpec","EnvironmentSpecBuilder","EventMetadata","EventParamSpec","EventParamSpecBuilder","EventSpec","EventSpecBuilder","Identity","InkProject","LangError","MODULE_PATH","MessageParamSpec","MessageParamSpecBuilder","MessageSpec","MessageSpecBuilder","ReturnTypeSpec","Selector","TypeInfo","TypeInfo","TypeSpec","__clone_box","account_id","account_id","args","args","args","args","args","args","args","balance","balance","block_number","block_number","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain_extension","chain_extension","clone","clone_into","collect_events","collect_events","constructors","constructors","decode","decode_all","decode_all_with_depth_limit","decode_with_depth_limit","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","display_name","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","done","done","done","done","done","done","done","encode_to","environment","environment","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","event_spec","events","events","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_label","from_label","hash","hash","hash","indexed","indexed","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","is_referenceable","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","label","label","label","label","label","label","lang_error","lang_error","layout","layout","max_event_topics","max_event_topics","messages","messages","module_path","mutates","mutates","new","new","new","new","new","new","new","new","new","new_portable","of_type","of_type","of_type","payable","payable","payable","payable","payable","registry","ret_type","return_type","return_type","return_type","returns","returns","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","segments","selector","selector","selector","selector","selector","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","signature_topic","signature_topic","size_hint","spec","static_buffer_size","timestamp","timestamp","to_bytes","to_keyed_vec","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","ty","ty","ty","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_info","type_info","version","with_name_segs","with_name_str","Array","ArrayLayout","Blake2x256","Collision","CryptoHasher","Discriminant","Enum","EnumLayout","FieldLayout","Hash","HashLayout","HashingStrategy","Keccak256","Layout","LayoutKey","Leaf","LeafLayout","MetadataError","Root","RootLayout","Sha2x256","Struct","StructLayout","ValidateLayout","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","dispatch_key","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fields","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_key","hasher","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","key","key","layout","layout","layout","layout","len","name","name","name","new","new","new","new","new","new","new","new","new","new_empty","offset","offset","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","postfix","prefix","root_key","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","strategy","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","ty","ty","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","validate","value","variants"],"q":[[0,"ink_metadata"],[381,"ink_metadata::layout"],[681,"dyn_clone::sealed"],[682,"scale_info::form"],[683,"core::iter::traits::collect"],[684,"alloc::vec"],[685,"scale_info::form"],[686,"core::result"],[687,"parity_scale_codec::codec"],[688,"scale_info::form"],[689,"parity_scale_codec::codec"],[690,"core::cmp"],[691,"core::fmt"],[692,"core::fmt"],[693,"scale_info::registry"],[694,"schemars::gen"],[695,"schemars::schema"],[696,"core::convert"],[697,"scale_info::portable"],[698,"alloc::borrow"],[699,"alloc::string"],[700,"serde::ser"],[701,"core::option"],[702,"core::convert"],[703,"scale_info::ty"],[704,"core::cmp"],[705,"alloc::boxed"],[706,"core::cmp"]],"d":["Describes a constructor of a contract.","A builder for constructors.","Describes a contract.","","Failed to read execution input for the dispatchable.","Describes the syntactical name of a type at a given type …","Any event which derives #[derive(ink::EventMetadata)] and …","Describes a contract environment.","An environment specification builder.","Provides metadata about an ink! event.","Describes a pair of parameter label and type.","Used to construct an event parameter specification.","Describes an event definition.","An event specification builder.","The type identifying for which type info is provided.","An entire ink! project for metadata file generation …","An error emitted by the smart contracting language.","The full path to the event type, usually provided by …","Describes a pair of parameter label and type.","Used to construct a message parameter specification.","Describes a contract message.","A builder for messages.","Describes the contract message return type.","The 4 byte selector to identify constructors and messages","Implementors return their meta type information.","","A type specification.","","Sets the AccountId type of the environment.","Returns the AccountId type of the environment.","Sets the input arguments of the constructor specification.","Sets the input arguments of the message specification.","Sets the input arguments of the event specification.","Returns the parameters of the deployment handler.","Returns the parameters of the message.","The event arguments.","The parameters of the deployment handler.","Sets the Balance type of the environment.","Returns the Balance type of the environment.","Sets the BlockNumber type of the environment.","Returns the BlockNumber type of the environment.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Sets the ChainExtension type of the environment.","Returns the ChainExtension type of the environment.","","","Collect the EventSpec metadata of all event definitions …","Collect metadata for all events linked into the contract.","Sets the constructors of the contract specification.","Returns the set of constructors of the contract.","","","","","Sets the default of the constructor specification.","Sets the default of the message specification.","","","","","","","","","","","","","","","","","","Returns the compile-time known displayed representation of …","Sets the documentation of the contract specification.","Sets the documentation of the constructor specification.","Sets the documentation of the message specification.","Sets the input arguments of the event specification.","Sets the documentation of the event parameter.","Returns the contract documentation.","Returns the deployment handler documentation.","Returns the message documentation.","The event documentation.","Returns the documentation associated with the arguments.","The deployment handler documentation.","Finalizes construction of the contract specification.","Finishes construction of the constructor.","Finishes construction of the message.","Finalizes building the event specification.","Finishes constructing the event parameter spec.","Finishes construction of the message parameter.","Finished constructing the EnvironmentSpec object.","","Sets the environment types of the contract specification.","","","","","","","","","","","","","Returns the metadata of the event.","Sets the events of the contract specification.","Returns the events of the contract.","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Creates a new constructor spec builder.","Creates a new message spec builder.","Sets the Hash type of the environment.","","Returns the Hash type of the environment.","If the event parameter is indexed as a topic.","Returns true if the event parameter is indexed as a topic.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","Returns the label of the constructor.","Returns the label of the message.","Returns the label of the event.","Returns the label of the parameter.","Returns the label of the parameter.","The label of the constructor.","Sets the language error of the contract specification.","Returns the language error type.","","Returns the storage layout of the contract.","Sets the MAX_EVENT_TOPICS value of the environment.","Returns the MAX_EVENT_TOPICS value of the environment.","Sets the messages of the contract specification.","Returns the external messages of the contract.","Sets the module path to the event type definition.","Sets if the message is mutable, thus taking &mut self or …","Returns true if the message is allowed to mutate the …","Creates a new contract specification.","Creates a new event specification builder.","Create a new custom selector.","Creates a new type specification for a given type and …","Creates a new event parameter specification builder.","Creates a new return type specification from the given …","Constructs a new message parameter specification via …","","Create a new ink! project from a layout and a spec.","Create a new portable ink! project.","Sets the type of the event parameter.","Sets the type of the message parameter.","Creates a new type specification without a display name.","Sets if the constructor is payable, thus accepting value …","Sets if the message is payable, thus accepting value for …","Returns if the constructor is payable by the caller.","Returns true if the message is payable by the caller.","If the constructor accepts any value from the caller.","Returns a read-only registry of types in the contract.","Returns the return type","Returns the return type of the constructor.","Returns the return type of the message.","The return type of the constructor..","Sets the return type of the constructor.","Sets the return type of the message.","","","","","","","","","","","","","","","","","","","","","","","The segments of the namespace.","Sets the function selector of the message.","Sets the function selector of the message.","Returns the selector hash of the constructor.","Returns the selector hash of the message.","The selector hash of the message.","","","","","","","","","","","","Sets the signature topic of the event specification.","The signature topic of the event. None if the event is …","","Returns the specification of the contract.","Sets the size of the static buffer configured via …","Sets the Timestamp type of the environment.","Returns the Timestamp type of the environment.","Returns the underlying selector bytes.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the actual type.","Returns the type of the parameter.","Returns the type of the parameter.","","","","","","","","","","","","","","","","","","","","Returns the static type identifier for Self.","","Returns the metadata version used by the contract.","Creates a new type specification with a display name …","Creates a new type specification with a display name.","An array of type associated with storage cell.","A layout for an array of associated cells with the same …","The BLAKE-2 crypto hasher with an output of 256 bits.","Storage keys of two types intersect","One of the supported crypto hashers.","The discriminant of an enum variant.","An enum layout with a discriminant telling which variant …","An enum storage layout.","The layout for a particular field of a struct layout.","A layout that hashes values into the entire storage key …","A hashing layout potentially hitting all cells of the …","The unbounded hashing strategy.","The KECCAK crypto hasher with an output of 256 bits.","Represents the static storage layout of an ink! smart …","A pointer into some storage region.","An encoded cell.","A SCALE encoded cell.","An error that can occur during ink! metadata generation.","The root cell defines the storage key for all sub-trees.","Sub-tree root.","The SHA-2 crypto hasher with an output of 256 bits.","A struct layout with fields of different types.","A struct layout with consecutive fields of different …","It validates that the storage layout doesn’t have …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the key where the discriminant is stored to …","","","","","","","","","","","","","","Returns the fields of the struct layout.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Creates a new cell layout.","Returns the supported crypto hasher.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Returns the key of the layout key.","Returns the offset key into the storage.","Returns the storage layout of the unbounded layout …","Returns the storage layout of the unbounded layout …","Returns the layout of the elements stored in the array …","Returns the kind of the field.","Returns the number of elements in the array layout.","Returns the name of the struct.","Returns the name of the field.","Returns the name of the field.","Construct a custom layout key.","Create a new root layout","","Creates a new unbounded layout.","Creates a new unbounded hashing strategy.","Creates an array layout with the given length.","Creates a new struct layout.","Creates a new custom field layout.","Creates a new enum layout.","Creates a new root layout with empty root type.","Returns the key offset used by the strategy.","Returns the offset key of the array layout.","","","","","","","","","","","","","Returns the optional postfix to the computed hash.","Returns the optional prefix to the computed hash.","Returns the root key of the sub-tree.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the hashing strategy to layout the underlying …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the type of the encoded entity.","Returns the type of the encoded entity.","","","","","","","","","","","","","","","Validates the storage layout.","Returns the value of the discriminant","Returns the variants of the enum."],"i":[0,0,0,0,17,0,0,0,0,0,0,0,0,0,79,0,0,80,0,0,0,0,0,0,0,0,0,17,3,6,7,9,10,11,14,15,11,3,6,3,6,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,3,6,17,17,0,20,20,21,17,17,17,17,7,9,11,14,28,4,4,6,21,11,14,15,28,4,16,31,12,6,32,4,20,7,9,10,34,21,11,14,15,16,11,20,7,9,10,34,35,3,17,20,21,17,21,11,14,15,28,4,16,31,12,6,80,20,21,17,21,11,14,15,28,4,16,31,12,6,32,20,7,17,9,10,34,35,3,21,11,14,15,28,28,4,16,31,12,6,32,11,14,3,28,6,34,16,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,21,11,14,15,4,16,31,12,6,31,21,11,14,15,28,4,16,31,12,6,32,11,14,15,16,12,11,20,21,0,32,3,6,20,21,10,9,14,21,15,28,4,16,31,12,6,32,32,34,35,4,7,9,11,14,11,32,31,11,14,11,7,9,21,11,14,15,28,4,16,31,12,6,32,21,11,14,15,28,4,16,31,12,6,32,33,7,9,11,14,11,21,11,14,15,28,4,16,31,12,6,32,10,15,17,32,3,3,6,28,17,17,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,4,16,12,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,79,17,32,4,4,48,0,70,63,0,0,48,0,0,48,0,0,70,0,0,48,0,0,48,0,70,48,0,0,61,62,63,81,48,61,66,67,68,69,70,71,72,73,62,74,63,81,48,61,66,67,68,69,70,71,72,73,62,74,63,61,62,63,61,62,63,48,61,66,67,68,69,70,71,72,73,62,74,48,61,66,67,68,69,70,71,72,73,62,74,74,48,61,66,67,68,69,70,71,72,73,62,74,63,72,48,61,66,67,68,69,70,71,72,73,62,74,63,63,81,48,48,48,48,48,48,48,61,61,61,66,66,67,67,68,69,70,71,72,73,62,62,74,63,67,69,81,48,61,66,67,68,69,70,71,72,73,62,74,63,48,66,67,68,71,72,73,74,48,61,66,67,68,69,70,71,72,73,62,74,61,67,66,68,71,73,71,72,73,74,61,66,67,68,69,71,72,73,74,66,68,71,48,61,66,67,68,69,70,71,72,73,62,74,69,69,66,48,61,66,67,68,69,70,71,72,73,62,74,48,61,66,67,68,69,70,71,72,73,62,74,48,61,66,67,68,69,70,71,72,73,62,74,68,61,62,63,63,81,48,61,66,67,68,69,70,71,72,73,62,74,63,81,48,61,66,67,68,69,70,71,72,73,62,74,63,66,67,81,48,61,66,67,68,69,70,71,72,73,62,74,63,81,62,74],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[[3,[-1,[0,[0]],-2,-3,-4,-5,-6,-7,-8]],[4,[-1]]],[[3,[-1,0,-2,-3,-4,-5,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[[[7,[-1,-2,-3,-4]],-5],[[7,[-1,-2,-3,-4]]],5,[],[],[],8],[[[9,[-1,-2,-3,-4,-5]],-6],[[9,[-1,-2,-3,-4,-5]]],5,[],[],[],[],8],[[[10,[-1]],-2],[[10,[-1]]],5,8],[[[11,[-1]]],[[13,[[12,[-1]]]]],5],[[[14,[-1]]],[[13,[[12,[-1]]]]],5],[[[15,[-1]]],[[13,[[16,[-1]]]]],5],0,[[[3,[-1,-2,[0,[0]],-3,-4,-5,-6,-7,-8]],[4,[-1]]],[[3,[-1,-2,0,-3,-4,-5,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[[[3,[-1,-2,-3,-4,-5,[0,[0]],-6,-7,-8]],[4,[-1]]],[[3,[-1,-2,-3,-4,-5,0,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[3,[-1,-2,-3,-4,-5,-6,[0,[0]],-7,-8]],[4,[-1]]],[[3,[-1,-2,-3,-4,-5,-6,0,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[17,17],[[-1,-2],2,[],[]],[[],[[18,[15]]]],[[[20,[19,-1]]],[[20,[19,-1]]],[]],[[[20,[-1,0]],-2],[[20,[-1,0]]],5,8],[[[21,[-1]]],[[13,[[11,[-1]]]]],5],[-1,[[23,[17,22]]],24],[[[13,[25]]],[[23,[-1,22]]],[]],[[26,[13,[25]]],[[23,[-1,22]]],[]],[[26,-1],[[23,[-2,22]]],24,[]],[[[7,[-1,-2,-3,-4]],27],[[7,[-1,-2,-3,-4]]],5,[],[],[]],[[[9,[-1,-2,-3,-4,-5]],27],[[9,[-1,-2,-3,-4,-5]]],5,[],[],[],[]],[[[11,[-1]]],27,5],[[[14,[-1]]],27,5],[[],28],[[],[[4,[19]]]],[[],[[4,[29]]]],[[],[[6,[-1]]],5],[-1,[[23,[[21,[-2]]]]],30,5],[-1,[[23,[[11,[-2]]]]],30,5],[-1,[[23,[[14,[-2]]]]],30,5],[-1,[[23,[[15,[-2]]]]],30,5],[-1,[[23,[28]]],30],[-1,[[23,[[4,[-2]]]]],30,5],[-1,[[23,[[16,[-2]]]]],30,5],[-1,[[23,[[31,[-2]]]]],30,5],[-1,[[23,[[12,[-2]]]]],30,5],[-1,[[23,[[6,[-2]]]]],30,5],[-1,[[23,[32]]],30],[[[4,[-1]]],[[33,[-1]]],5],[[[20,[-1,-2]],-3],[[20,[-1,-2]]],5,[],8],[[[7,[-1,-2,-3,-4]],-5],[[7,[-1,-2,-3,-4]]],5,[],[],[],8],[[[9,[-1,-2,-3,-4,-5]],-6],[[9,[-1,-2,-3,-4,-5]]],5,[],[],[],[],8],[[[10,[-1]],-2],[[10,[-1]]],5,8],[[[34,[-1]],-2],[[34,[-1]]],5,8],[[[21,[-1]]],13,5],[[[11,[-1]]],13,5],[[[14,[-1]]],13,5],[[[15,[-1]]],13,5],[[[16,[-1]]],13,5],0,[[[20,[-1,0]]],[[21,[-1]]],5],[[[7,[-1,0,0,0]]],[[11,[-1]]],5],[[[9,[-1,0,0,0,0]]],[[14,[-1]]],5],[[[10,[-1]]],[[15,[-1]]],5],[[[34,[-1]]],[[16,[-1]]],5],[[[35,[-1]]],[[12,[-1]]],5],[[[3,[-1,0,0,0,0,0,0,0,0]]],[[6,[-1]]],5],[[17,-1],2,[36,37]],[[[20,[-1,-2]],[6,[-1]]],[[20,[-1,-2]]],5,[]],[[[21,[-1]]],[[6,[-1]]],5],[[17,17],27],[[[21,[-1]],[21,[-1]]],27,[38,5]],[[[11,[-1]],[11,[-1]]],27,[38,5]],[[[14,[-1]],[14,[-1]]],27,[38,5]],[[[15,[-1]],[15,[-1]]],27,[38,5]],[[28,28],27],[[[4,[-1]],[4,[-1]]],27,[38,5]],[[[16,[-1]],[16,[-1]]],27,[38,5]],[[[31,[-1]],[31,[-1]]],27,[38,5]],[[[12,[-1]],[12,[-1]]],27,[38,5]],[[[6,[-1]],[6,[-1]]],27,[38,5]],[[],15],[[[20,[-1,-2]],-3],[[20,[-1,-2]]],5,[],8],[[[21,[-1]]],[[13,[[15,[-1]]]]],5],[[17,39],[[23,[2,40]]]],[[[21,[-1]],39],41,[42,5]],[[[11,[-1]],39],41,[42,5]],[[[14,[-1]],39],41,[42,5]],[[[15,[-1]],39],41,[42,5]],[[28,39],41],[[[4,[-1]],39],41,[42,5]],[[[16,[-1]],39],41,[42,5]],[[[31,[-1]],39],41,[42,5]],[[[12,[-1]],39],41,[42,5]],[[[6,[-1]],39],41,[42,5]],[[32,39],41],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[43,[25]]],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],[[7,[-1,[0,[0]],[0,[0]],[0,[0]]]]],5],[[],[[9,[-1,[0,[0]],[0,[0]],[0,[0]],[0,[0]]]]],5],[[[3,[-1,-2,-3,[0,[0]],-4,-5,-6,-7,-8]],[4,[-1]]],[[3,[-1,-2,-3,0,-4,-5,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[28,-1],2,44],[[[6,[-1]]],[[4,[-1]]],5],[[[34,[-1]],27],[[34,[-1]]],5],[[[16,[-1]]],27,5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[21,45]],[[11,45]],[[14,45]],[[15,45]],[[4,45]],[[16,45]],[[31,45]],[[12,45]],[[6,45]],[[],27],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[[[11,[-1]]],[],5],[[[14,[-1]]],[],5],[[[15,[-1]]],[],5],[[[16,[-1]]],[],5],[[[12,[-1]]],[],5],0,[[[20,[-1,-2]],[4,[-1]]],[[20,[-1,-2]]],5,[]],[[[21,[-1]]],[[4,[-1]]],5],0,[32,[[48,[29]]]],[[[3,[-1,-2,-3,-4,-5,-6,-7,[0,[0]],-8]],49],[[3,[-1,-2,-3,-4,-5,-6,-7,0,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],49,5],[[[20,[-1,-2]],-3],[[20,[-1,-2]]],5,[],8],[[[21,[-1]]],[[13,[[14,[-1]]]]],5],[[[10,[-1]],50],[[10,[-1]]],5],[[[9,[-1,-2,[0,[0]],-3,-4]],27],[[9,[-1,-2,0,-3,-4]]],5,[],[],[]],[[[14,[-1]]],27,5],[[],[[20,[-1,0]]],5],[[],[[10,[-1]]],5],[-1,28,[[51,[[43,[25]]]]]],[[[33,[-1]]],[[4,[-1]]],5],[[],[[34,[-1]]],5],[-2,[[31,[-1]]],5,[[51,[[4,[-1]]]]]],[[],[[35,[-1]]],5],[[],[[3,[-1,[0,[0]],[0,[0]],[0,[0]],[0,[0]],[0,[0]],[0,[0]],[0,[0]],[0,[0]]]]],5],[[-1,-2],32,[[51,[48]]],[[51,[21]]]],[[[48,[29]],[21,[29]],52],32],[[[34,[-1]],[4,[-1]]],[[34,[-1]]],5],[[[35,[-1]],[4,[-1]]],[[35,[-1]]],5],[[],4],[[[7,[-1,-2,[0,[0]],-3]],27],[[7,[-1,-2,0,-3]]],5,[],[]],[[[9,[-1,-2,-3,[0,[0]],-4]],27],[[9,[-1,-2,-3,0,-4]]],5,[],[],[]],[[[11,[-1]]],27,5],[[[14,[-1]]],27,5],0,[32,52],[[[31,[-1]]],[[4,[-1]]],5],[[[11,[-1]]],[[31,[-1]]],5],[[[14,[-1]]],[[31,[-1]]],5],0,[[[7,[-1,-2,-3,[0,[0]]]],[31,[-1]]],[[7,[-1,-2,-3,0]]],5,[],[]],[[[9,[-1,-2,-3,-4,[0,[0]]]],[31,[-1]]],[[9,[-1,-2,-3,-4,0]]],5,[],[],[]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],0,[[[7,[-1,[0,[0]],-2,-3]],[43,[25]]],[[7,[-1,0,-2,-3]]],5,[],[]],[[[9,[-1,[0,[0]],-2,-3,-4]],[43,[25]]],[[9,[-1,0,-2,-3,-4]]],5,[],[],[]],[[[11,[-1]]],28,5],[[[14,[-1]]],28,5],0,[[[21,[-1]],-2],23,5,55],[[[11,[-1]],-2],23,5,55],[[[14,[-1]],-2],23,5,55],[[[15,[-1]],-2],23,5,55],[[28,-1],23,55],[[[4,[-1]],-2],23,5,55],[[[16,[-1]],-2],23,5,55],[[[31,[-1]],-2],23,5,55],[[[12,[-1]],-2],23,5,55],[[[6,[-1]],-2],23,5,55],[[32,-1],23,55],[[[10,[-1]],[56,[-2]]],[[10,[-1]]],5,[[57,[[13,[25]]]]]],[[[15,[-1]]],[[56,[0]]],5],[17,49],[32,[[21,[29]]]],[[[3,[-1,-2,-3,-4,-5,-6,-7,-8,[0,[0]]]],49],[[3,[-1,-2,-3,-4,-5,-6,-7,-8,0]]],5,[],[],[],[],[],[],[]],[[[3,[-1,-2,-3,-4,[0,[0]],-5,-6,-7,-8]],[4,[-1]]],[[3,[-1,-2,-3,-4,0,-5,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[28,[[13,[25]]]],[[-1,[13,[25]]],[[18,[25]]],[]],[-1,-2,[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[[[4,[-1]]],[],5],[[[16,[-1]]],[[4,[-1]]],5],[[[12,[-1]]],[[4,[-1]]],5],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[[],59],[[],59],[32,60],[-1,4,8],[50,4],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[61,61],[62,62],[63,63],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[48,[-1]],[48,[-1]]],64,[65,5]],[[61,61],64],[[[66,[-1]],[66,[-1]]],64,[65,5]],[[[67,[-1]],[67,[-1]]],64,[65,5]],[[[68,[-1]],[68,[-1]]],64,[65,5]],[[69,69],64],[[70,70],64],[[[71,[-1]],[71,[-1]]],64,[65,5]],[[[72,[-1]],[72,[-1]]],64,[65,5]],[[[73,[-1]],[73,[-1]]],64,[65,5]],[[62,62],64],[[[74,[-1]],[74,[-1]]],64,[65,5]],[-1,[[23,[[48,[-2]]]]],30,5],[-1,[[23,[61]]],30],[-1,[[23,[[66,[-2]]]]],30,5],[-1,[[23,[[67,[-2]]]]],30,5],[-1,[[23,[[68,[-2]]]]],30,5],[-1,[[23,[69]]],30],[-1,[[23,[70]]],30],[-1,[[23,[[71,[-2]]]]],30,5],[-1,[[23,[[72,[-2]]]]],30,5],[-1,[[23,[[73,[-2]]]]],30,5],[-1,[[23,[62]]],30],[-1,[[23,[[74,[-2]]]]],30,5],[[[74,[-1]]],61,5],[[[48,[-1]],[48,[-1]]],27,[38,5]],[[61,61],27],[[[66,[-1]],[66,[-1]]],27,[38,5]],[[[67,[-1]],[67,[-1]]],27,[38,5]],[[[68,[-1]],[68,[-1]]],27,[38,5]],[[69,69],27],[[70,70],27],[[[71,[-1]],[71,[-1]]],27,[38,5]],[[[72,[-1]],[72,[-1]]],27,[38,5]],[[[73,[-1]],[73,[-1]]],27,[38,5]],[[62,62],27],[[[74,[-1]],[74,[-1]]],27,[38,5]],[[63,63],27],[[[72,[-1]]],[[13,[[73,[-1]]]]],5],[[[48,[-1]],39],41,[42,5]],[[61,39],41],[[[66,[-1]],39],41,[42,5]],[[[67,[-1]],39],41,[42,5]],[[[68,[-1]],39],41,[42,5]],[[69,39],41],[[70,39],41],[[[71,[-1]],39],41,[42,5]],[[[72,[-1]],39],41,[42,5]],[[[73,[-1]],39],41,[42,5]],[[62,39],41],[[[74,[-1]],39],41,[42,5]],[[63,39],41],[[63,39],41],[-1,-1,[]],[[[68,[-1]]],[[48,[-1]]],5],[[[67,[-1]]],[[48,[-1]]],5],[[[71,[-1]]],[[48,[-1]]],5],[-1,-1,[]],[[[66,[-1]]],[[48,[-1]]],5],[[[72,[-1]]],[[48,[-1]]],5],[[[74,[-1]]],[[48,[-1]]],5],[75,61],[-1,-1,[]],[75,61],[[[2,[61,[76,[[48,[-1]]]]]]],[[66,[-1]]],5],[-1,-1,[]],[[[2,[61]]],[[67,[-1]]],5],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[49,62],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[61,67],[69,70],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[48,45]],[[66,45]],[[67,45]],[[68,45]],[[71,45]],[[72,45]],[[73,45]],[[74,45]],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[61,75],[[[67,[-1]]],61,5],[[[66,[-1]]],[[48,[-1]]],5],[[[68,[-1]]],[[48,[-1]]],5],[[[71,[-1]]],[[48,[-1]]],5],[[[73,[-1]]],[[48,[-1]]],5],[[[71,[-1]]],26,5],[[[72,[-1]]],[],5],[[[73,[-1]]],[],5],[[[74,[-1]]],[],5],[-1,61,[[51,[26]]]],[[61,-2],[[66,[-1]]],5,[[51,[[48,[-1]]]]]],[61,[[67,[-1]]],5],[[-1,69,-2],68,[[51,[61]]],[[51,[48]]]],[[70,[18,[25]],[18,[25]]],69],[[-1,26,-2],71,[[51,[61]]],[[51,[48]]]],[[-1,-2],[[72,[-3]]],51,8,5],[[-1,-3],[[73,[-2]]],51,5,[[51,[[48,[-2]]]]]],[[-1,-2,-3],74,51,[[51,[61]]],8],[[61,-1],[[66,[19]]],[[51,[[48,[19]]]]]],[[[68,[-1]]],61,5],[[[71,[-1]]],61,5],[[[48,[-1]],[48,[-1]]],[[56,[64]]],[77,5]],[[61,61],[[56,[64]]]],[[[66,[-1]],[66,[-1]]],[[56,[64]]],[77,5]],[[[67,[-1]],[67,[-1]]],[[56,[64]]],[77,5]],[[[68,[-1]],[68,[-1]]],[[56,[64]]],[77,5]],[[69,69],[[56,[64]]]],[[70,70],[[56,[64]]]],[[[71,[-1]],[71,[-1]]],[[56,[64]]],[77,5]],[[[72,[-1]],[72,[-1]]],[[56,[64]]],[77,5]],[[[73,[-1]],[73,[-1]]],[[56,[64]]],[77,5]],[[62,62],[[56,[64]]]],[[[74,[-1]],[74,[-1]]],[[56,[64]]],[77,5]],[69,[[13,[25]]]],[69,[[13,[25]]]],[[[66,[-1]]],61,5],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[[48,[-1]],-2],23,5,55],[[61,-1],23,55],[[[66,[-1]],-2],23,5,55],[[[67,[-1]],-2],23,5,55],[[[68,[-1]],-2],23,5,55],[[69,-1],23,55],[[70,-1],23,55],[[[71,[-1]],-2],23,5,55],[[[72,[-1]],-2],23,5,55],[[[73,[-1]],-2],23,5,55],[[62,-1],23,55],[[[74,[-1]],-2],23,5,55],[[[68,[-1]]],69,5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,54,[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[[[66,[-1]]],[],5],[[[67,[-1]]],[],5],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[[[48,[19]]],[[23,[2,63]]]],[62,49],[[[74,[-1]]],[[78,[62,[72,[-1]]]]],5]],"c":[],"p":[[3,"Private",681],[15,"tuple"],[3,"EnvironmentSpecBuilder",0],[3,"TypeSpec",0],[8,"Form",682],[3,"EnvironmentSpec",0],[3,"ConstructorSpecBuilder",0],[8,"IntoIterator",683],[3,"MessageSpecBuilder",0],[3,"EventSpecBuilder",0],[3,"ConstructorSpec",0],[3,"MessageParamSpec",0],[15,"slice"],[3,"MessageSpec",0],[3,"EventSpec",0],[3,"EventParamSpec",0],[4,"LangError",0],[3,"Vec",684],[4,"MetaForm",682],[3,"ContractSpecBuilder",0],[3,"ContractSpec",0],[3,"Error",685],[4,"Result",686],[8,"Input",687],[15,"u8"],[15,"u32"],[15,"bool"],[3,"Selector",0],[4,"PortableForm",682],[8,"Deserializer",688],[3,"ReturnTypeSpec",0],[3,"InkProject",0],[6,"DisplayName",0],[3,"EventParamSpecBuilder",0],[3,"MessageParamSpecBuilder",0],[8,"Output",687],[8,"Sized",689],[8,"PartialEq",690],[3,"Formatter",691],[3,"Error",691],[6,"Result",691],[8,"Debug",691],[15,"array"],[8,"Hasher",692],[3,"Registry",693],[3,"SchemaGenerator",694],[4,"Schema",695],[4,"Layout",381],[15,"usize"],[15,"str"],[8,"Into",696],[3,"PortableRegistry",697],[4,"Cow",698],[3,"String",699],[8,"Serializer",700],[4,"Option",701],[8,"AsRef",696],[3,"TypeId",702],[3,"Type",703],[15,"u64"],[3,"LayoutKey",381],[3,"Discriminant",381],[4,"MetadataError",381],[4,"Ordering",690],[8,"Ord",690],[3,"RootLayout",381],[3,"LeafLayout",381],[3,"HashLayout",381],[3,"HashingStrategy",381],[4,"CryptoHasher",381],[3,"ArrayLayout",381],[3,"StructLayout",381],[3,"FieldLayout",381],[3,"EnumLayout",381],[6,"Key",704],[3,"Box",705],[8,"PartialOrd",690],[3,"BTreeMap",706],[8,"TypeInfo",0],[8,"EventMetadata",0],[3,"ValidateLayout",381]],"b":[[96,"impl-Default-for-TypeSpec"],[97,"impl-Default-for-TypeSpec%3CPortableForm%3E"],[493,"impl-Display-for-MetadataError"],[494,"impl-Debug-for-MetadataError"],[496,"impl-From%3CHashLayout%3CF%3E%3E-for-Layout%3CF%3E"],[497,"impl-From%3CLeafLayout%3CF%3E%3E-for-Layout%3CF%3E"],[498,"impl-From%3CArrayLayout%3CF%3E%3E-for-Layout%3CF%3E"],[500,"impl-From%3CRootLayout%3CF%3E%3E-for-Layout%3CF%3E"],[501,"impl-From%3CStructLayout%3CF%3E%3E-for-Layout%3CF%3E"],[502,"impl-From%3CEnumLayout%3CF%3E%3E-for-Layout%3CF%3E"],[503,"impl-From%3Cu32%3E-for-LayoutKey"],[505,"impl-From%3C%26u32%3E-for-LayoutKey"]]},\ +"ink_metadata":{"doc":"","t":"DDDDNGHDDIDDDDQDESDDDDDDIYDLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLALLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLLLLLLLLLLLLLLLMLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLNDNNEDNDDNDDNEDNDENDNNDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["ConstructorSpec","ConstructorSpecBuilder","ContractSpec","ContractSpecBuilder","CouldNotReadInput","DisplayName","EVENTS","EnvironmentSpec","EnvironmentSpecBuilder","EventMetadata","EventParamSpec","EventParamSpecBuilder","EventSpec","EventSpecBuilder","Identity","InkProject","LangError","MODULE_PATH","MessageParamSpec","MessageParamSpecBuilder","MessageSpec","MessageSpecBuilder","ReturnTypeSpec","Selector","TypeInfo","TypeInfo","TypeSpec","__clone_box","account_id","account_id","args","args","args","args","args","args","args","balance","balance","block_number","block_number","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain_extension","chain_extension","clone","clone_into","collect_events","collect_events","constructors","constructors","decode","decode_all","decode_all_with_depth_limit","decode_with_depth_limit","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","display_name","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","docs","done","done","done","done","done","done","done","encode_to","environment","environment","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","event_spec","events","events","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_label","from_label","hash","hash","hash","indexed","indexed","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","is_referenceable","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","label","label","label","label","label","label","lang_error","lang_error","layout","layout","max_event_topics","max_event_topics","messages","messages","module_path","mutates","mutates","new","new","new","new","new","new","new","new","new","new_portable","of_type","of_type","of_type","payable","payable","payable","payable","payable","registry","ret_type","return_type","return_type","return_type","returns","returns","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","segments","selector","selector","selector","selector","selector","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","signature_topic","signature_topic","size_hint","spec","static_buffer_size","timestamp","timestamp","to_bytes","to_keyed_vec","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","ty","ty","ty","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_info","type_info","version","with_name_segs","with_name_str","Array","ArrayLayout","Blake2x256","Collision","CryptoHasher","Discriminant","Enum","EnumLayout","FieldLayout","Hash","HashLayout","HashingStrategy","Keccak256","Layout","LayoutKey","Leaf","LeafLayout","MetadataError","Root","RootLayout","Sha2x256","Struct","StructLayout","ValidateLayout","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","dispatch_key","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fields","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_key","hasher","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","into_portable","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","json_schema","key","key","layout","layout","layout","layout","len","name","name","name","new","new","new","new","new","new","new","new","new","new_empty","offset","offset","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","postfix","prefix","root_key","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_id","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","schema_name","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","strategy","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","ty","ty","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","validate","value","variants"],"q":[[0,"ink_metadata"],[381,"ink_metadata::layout"],[681,"dyn_clone::sealed"],[682,"scale_info::form"],[683,"core::iter::traits::collect"],[684,"alloc::vec"],[685,"scale_info::form"],[686,"core::result"],[687,"parity_scale_codec::codec"],[688,"scale_info::form"],[689,"parity_scale_codec::codec"],[690,"core::cmp"],[691,"core::fmt"],[692,"core::fmt"],[693,"scale_info::registry"],[694,"schemars::gen"],[695,"schemars::schema"],[696,"core::convert"],[697,"scale_info::portable"],[698,"alloc::borrow"],[699,"alloc::string"],[700,"serde::ser"],[701,"core::option"],[702,"core::convert"],[703,"scale_info::ty"],[704,"core::cmp"],[705,"alloc::boxed"],[706,"core::cmp"]],"d":["Describes a constructor of a contract.","A builder for constructors.","Describes a contract.","","Failed to read execution input for the dispatchable.","Describes the syntactical name of a type at a given type …","Any event which derives #[derive(ink::EventMetadata)] and …","Describes a contract environment.","An environment specification builder.","Provides metadata about an ink! event.","Describes a pair of parameter label and type.","Used to construct an event parameter specification.","Describes an event definition.","An event specification builder.","The type identifying for which type info is provided.","An entire ink! project for metadata file generation …","An error emitted by the smart contracting language.","The full path to the event type, usually provided by …","Describes a pair of parameter label and type.","Used to construct a message parameter specification.","Describes a contract message.","A builder for messages.","Describes the contract message return type.","The 4 byte selector to identify constructors and messages","Implementors return their meta type information.","","A type specification.","","Sets the AccountId type of the environment.","Returns the AccountId type of the environment.","Sets the input arguments of the constructor specification.","Sets the input arguments of the message specification.","Sets the input arguments of the event specification.","Returns the parameters of the deployment handler.","Returns the parameters of the message.","The event arguments.","The parameters of the deployment handler.","Sets the Balance type of the environment.","Returns the Balance type of the environment.","Sets the BlockNumber type of the environment.","Returns the BlockNumber type of the environment.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Sets the ChainExtension type of the environment.","Returns the ChainExtension type of the environment.","","","Collect the EventSpec metadata of all event definitions …","Collect metadata for all events linked into the contract.","Sets the constructors of the contract specification.","Returns the set of constructors of the contract.","","","","","Sets the default of the constructor specification.","Sets the default of the message specification.","","","","","","","","","","","","","","","","","","Returns the compile-time known displayed representation of …","Sets the documentation of the contract specification.","Sets the documentation of the constructor specification.","Sets the documentation of the message specification.","Sets the input arguments of the event specification.","Sets the documentation of the event parameter.","Returns the contract documentation.","Returns the deployment handler documentation.","Returns the message documentation.","The event documentation.","Returns the documentation associated with the arguments.","The deployment handler documentation.","Finalizes construction of the contract specification.","Finishes construction of the constructor.","Finishes construction of the message.","Finalizes building the event specification.","Finishes constructing the event parameter spec.","Finishes construction of the message parameter.","Finished constructing the EnvironmentSpec object.","","Sets the environment types of the contract specification.","","","","","","","","","","","","","Returns the metadata of the event.","Sets the events of the contract specification.","Returns the events of the contract.","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Creates a new constructor spec builder.","Creates a new message spec builder.","Sets the Hash type of the environment.","","Returns the Hash type of the environment.","If the event parameter is indexed as a topic.","Returns true if the event parameter is indexed as a topic.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","Returns the label of the constructor.","Returns the label of the message.","Returns the label of the event.","Returns the label of the parameter.","Returns the label of the parameter.","The label of the constructor.","Sets the language error of the contract specification.","Returns the language error type.","","Returns the storage layout of the contract.","Sets the MAX_EVENT_TOPICS value of the environment.","Returns the MAX_EVENT_TOPICS value of the environment.","Sets the messages of the contract specification.","Returns the external messages of the contract.","Sets the module path to the event type definition.","Sets if the message is mutable, thus taking &mut self or …","Returns true if the message is allowed to mutate the …","Creates a new contract specification.","Creates a new event specification builder.","Create a new custom selector.","Creates a new type specification for a given type and …","Creates a new event parameter specification builder.","Creates a new return type specification from the given …","Constructs a new message parameter specification via …","","Create a new ink! project from a layout and a spec.","Create a new portable ink! project.","Sets the type of the event parameter.","Sets the type of the message parameter.","Creates a new type specification without a display name.","Sets if the constructor is payable, thus accepting value …","Sets if the message is payable, thus accepting value for …","Returns if the constructor is payable by the caller.","Returns true if the message is payable by the caller.","If the constructor accepts any value from the caller.","Returns a read-only registry of types in the contract.","Returns the return type","Returns the return type of the constructor.","Returns the return type of the message.","The return type of the constructor..","Sets the return type of the constructor.","Sets the return type of the message.","","","","","","","","","","","","","","","","","","","","","","","The segments of the namespace.","Sets the function selector of the message.","Sets the function selector of the message.","Returns the selector hash of the constructor.","Returns the selector hash of the message.","The selector hash of the message.","","","","","","","","","","","","Sets the signature topic of the event specification.","The signature topic of the event. None if the event is …","","Returns the specification of the contract.","Sets the size of the static buffer configured via …","Sets the Timestamp type of the environment.","Returns the Timestamp type of the environment.","Returns the underlying selector bytes.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the actual type.","Returns the type of the parameter.","Returns the type of the parameter.","","","","","","","","","","","","","","","","","","","","Returns the static type identifier for Self.","","Returns the metadata version used by the contract.","Creates a new type specification with a display name …","Creates a new type specification with a display name.","An array of type associated with storage cell.","A layout for an array of associated cells with the same …","The BLAKE-2 crypto hasher with an output of 256 bits.","Storage keys of two types intersect","One of the supported crypto hashers.","The discriminant of an enum variant.","An enum layout with a discriminant telling which variant …","An enum storage layout.","The layout for a particular field of a struct layout.","A layout that hashes values into the entire storage key …","A hashing layout potentially hitting all cells of the …","The unbounded hashing strategy.","The KECCAK crypto hasher with an output of 256 bits.","Represents the static storage layout of an ink! smart …","A pointer into some storage region.","An encoded cell.","A SCALE encoded cell.","An error that can occur during ink! metadata generation.","The root cell defines the storage key for all sub-trees.","Sub-tree root.","The SHA-2 crypto hasher with an output of 256 bits.","A struct layout with fields of different types.","A struct layout with consecutive fields of different …","It validates that the storage layout doesn’t have …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the key where the discriminant is stored to …","","","","","","","","","","","","","","Returns the fields of the struct layout.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Creates a new cell layout.","Returns the supported crypto hasher.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","Returns the key of the layout key.","Returns the offset key into the storage.","Returns the storage layout of the unbounded layout …","Returns the storage layout of the unbounded layout …","Returns the layout of the elements stored in the array …","Returns the kind of the field.","Returns the number of elements in the array layout.","Returns the name of the struct.","Returns the name of the field.","Returns the name of the field.","Construct a custom layout key.","Create a new root layout","","Creates a new unbounded layout.","Creates a new unbounded hashing strategy.","Creates an array layout with the given length.","Creates a new struct layout.","Creates a new custom field layout.","Creates a new enum layout.","Creates a new root layout with empty root type.","Returns the key offset used by the strategy.","Returns the offset key of the array layout.","","","","","","","","","","","","","Returns the optional postfix to the computed hash.","Returns the optional prefix to the computed hash.","Returns the root key of the sub-tree.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the hashing strategy to layout the underlying …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the type of the encoded entity.","Returns the type of the encoded entity.","","","","","","","","","","","","","","","Validates the storage layout.","Returns the value of the discriminant","Returns the variants of the enum."],"i":[0,0,0,0,17,0,0,0,0,0,0,0,0,0,79,0,0,80,0,0,0,0,0,0,0,0,0,17,3,6,7,9,10,11,14,15,11,3,6,3,6,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,3,6,17,17,0,20,20,21,17,17,17,17,7,9,11,14,28,4,4,6,21,11,14,15,28,4,16,31,12,6,32,4,20,7,9,10,34,21,11,14,15,16,11,20,7,9,10,34,35,3,17,20,21,17,21,11,14,15,28,4,16,31,12,6,80,20,21,17,21,11,14,15,28,4,16,31,12,6,32,20,7,17,9,10,34,35,3,21,11,14,15,28,28,4,16,31,12,6,32,11,14,3,28,6,34,16,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,21,11,14,15,4,16,31,12,6,31,21,11,14,15,28,4,16,31,12,6,32,11,14,15,16,12,11,20,21,0,32,3,6,20,21,10,9,14,21,15,28,4,16,31,12,6,32,32,34,35,4,7,9,11,14,11,32,31,11,14,11,7,9,21,11,14,15,28,4,16,31,12,6,32,21,11,14,15,28,4,16,31,12,6,32,33,7,9,11,14,11,21,11,14,15,28,4,16,31,12,6,32,10,15,17,32,3,3,6,28,17,17,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,4,16,12,20,7,17,9,10,34,35,3,21,11,14,15,28,4,16,31,12,6,32,79,17,32,4,4,48,0,70,63,0,0,48,0,0,48,0,0,70,0,0,48,0,0,48,0,70,48,0,0,61,62,63,81,48,61,66,67,68,69,70,71,72,73,62,74,63,81,48,61,66,67,68,69,70,71,72,73,62,74,63,61,62,63,61,62,63,48,61,66,67,68,69,70,71,72,73,62,74,48,61,66,67,68,69,70,71,72,73,62,74,74,48,61,66,67,68,69,70,71,72,73,62,74,63,72,48,61,66,67,68,69,70,71,72,73,62,74,63,63,81,48,48,48,48,48,48,48,61,61,61,66,66,67,67,68,69,70,71,72,73,62,62,74,63,67,69,81,48,61,66,67,68,69,70,71,72,73,62,74,63,48,66,67,68,71,72,73,74,48,61,66,67,68,69,70,71,72,73,62,74,61,67,66,68,71,73,71,72,73,74,61,66,67,68,69,71,72,73,74,66,68,71,48,61,66,67,68,69,70,71,72,73,62,74,69,69,66,48,61,66,67,68,69,70,71,72,73,62,74,48,61,66,67,68,69,70,71,72,73,62,74,48,61,66,67,68,69,70,71,72,73,62,74,68,61,62,63,63,81,48,61,66,67,68,69,70,71,72,73,62,74,63,81,48,61,66,67,68,69,70,71,72,73,62,74,63,66,67,81,48,61,66,67,68,69,70,71,72,73,62,74,63,81,62,74],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[[3,[-1,[0,[0]],-2,-3,-4,-5,-6,-7,-8]],[4,[-1]]],[[3,[-1,0,-2,-3,-4,-5,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[[[7,[-1,-2,-3,-4]],-5],[[7,[-1,-2,-3,-4]]],5,[],[],[],8],[[[9,[-1,-2,-3,-4,-5]],-6],[[9,[-1,-2,-3,-4,-5]]],5,[],[],[],[],8],[[[10,[-1]],-2],[[10,[-1]]],5,8],[[[11,[-1]]],[[13,[[12,[-1]]]]],5],[[[14,[-1]]],[[13,[[12,[-1]]]]],5],[[[15,[-1]]],[[13,[[16,[-1]]]]],5],0,[[[3,[-1,-2,[0,[0]],-3,-4,-5,-6,-7,-8]],[4,[-1]]],[[3,[-1,-2,0,-3,-4,-5,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[[[3,[-1,-2,-3,-4,-5,[0,[0]],-6,-7,-8]],[4,[-1]]],[[3,[-1,-2,-3,-4,-5,0,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[3,[-1,-2,-3,-4,-5,-6,[0,[0]],-7,-8]],[4,[-1]]],[[3,[-1,-2,-3,-4,-5,-6,0,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[17,17],[[-1,-2],2,[],[]],[[],[[18,[15]]]],[[[20,[19,-1]]],[[20,[19,-1]]],[]],[[[20,[-1,0]],-2],[[20,[-1,0]]],5,8],[[[21,[-1]]],[[13,[[11,[-1]]]]],5],[-1,[[23,[17,22]]],24],[[[13,[25]]],[[23,[-1,22]]],[]],[[26,[13,[25]]],[[23,[-1,22]]],[]],[[26,-1],[[23,[-2,22]]],24,[]],[[[7,[-1,-2,-3,-4]],27],[[7,[-1,-2,-3,-4]]],5,[],[],[]],[[[9,[-1,-2,-3,-4,-5]],27],[[9,[-1,-2,-3,-4,-5]]],5,[],[],[],[]],[[[11,[-1]]],27,5],[[[14,[-1]]],27,5],[[],28],[[],[[4,[19]]]],[[],[[4,[29]]]],[[],[[6,[-1]]],5],[-1,[[23,[[21,[-2]]]]],30,5],[-1,[[23,[[11,[-2]]]]],30,5],[-1,[[23,[[14,[-2]]]]],30,5],[-1,[[23,[[15,[-2]]]]],30,5],[-1,[[23,[28]]],30],[-1,[[23,[[4,[-2]]]]],30,5],[-1,[[23,[[16,[-2]]]]],30,5],[-1,[[23,[[31,[-2]]]]],30,5],[-1,[[23,[[12,[-2]]]]],30,5],[-1,[[23,[[6,[-2]]]]],30,5],[-1,[[23,[32]]],30],[[[4,[-1]]],[[33,[-1]]],5],[[[20,[-1,-2]],-3],[[20,[-1,-2]]],5,[],8],[[[7,[-1,-2,-3,-4]],-5],[[7,[-1,-2,-3,-4]]],5,[],[],[],8],[[[9,[-1,-2,-3,-4,-5]],-6],[[9,[-1,-2,-3,-4,-5]]],5,[],[],[],[],8],[[[10,[-1]],-2],[[10,[-1]]],5,8],[[[34,[-1]],-2],[[34,[-1]]],5,8],[[[21,[-1]]],13,5],[[[11,[-1]]],13,5],[[[14,[-1]]],13,5],[[[15,[-1]]],13,5],[[[16,[-1]]],13,5],0,[[[20,[-1,0]]],[[21,[-1]]],5],[[[7,[-1,0,0,0]]],[[11,[-1]]],5],[[[9,[-1,0,0,0,0]]],[[14,[-1]]],5],[[[10,[-1]]],[[15,[-1]]],5],[[[34,[-1]]],[[16,[-1]]],5],[[[35,[-1]]],[[12,[-1]]],5],[[[3,[-1,0,0,0,0,0,0,0,0]]],[[6,[-1]]],5],[[17,-1],2,[36,37]],[[[20,[-1,-2]],[6,[-1]]],[[20,[-1,-2]]],5,[]],[[[21,[-1]]],[[6,[-1]]],5],[[17,17],27],[[[21,[-1]],[21,[-1]]],27,[38,5]],[[[11,[-1]],[11,[-1]]],27,[38,5]],[[[14,[-1]],[14,[-1]]],27,[38,5]],[[[15,[-1]],[15,[-1]]],27,[38,5]],[[28,28],27],[[[4,[-1]],[4,[-1]]],27,[38,5]],[[[16,[-1]],[16,[-1]]],27,[38,5]],[[[31,[-1]],[31,[-1]]],27,[38,5]],[[[12,[-1]],[12,[-1]]],27,[38,5]],[[[6,[-1]],[6,[-1]]],27,[38,5]],[[],15],[[[20,[-1,-2]],-3],[[20,[-1,-2]]],5,[],8],[[[21,[-1]]],[[13,[[15,[-1]]]]],5],[[17,39],[[23,[2,40]]]],[[[21,[-1]],39],41,[42,5]],[[[11,[-1]],39],41,[42,5]],[[[14,[-1]],39],41,[42,5]],[[[15,[-1]],39],41,[42,5]],[[28,39],41],[[[4,[-1]],39],41,[42,5]],[[[16,[-1]],39],41,[42,5]],[[[31,[-1]],39],41,[42,5]],[[[12,[-1]],39],41,[42,5]],[[[6,[-1]],39],41,[42,5]],[[32,39],41],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[43,[25]]],28],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[],[[7,[-1,[0,[0]],[0,[0]],[0,[0]]]]],5],[[],[[9,[-1,[0,[0]],[0,[0]],[0,[0]],[0,[0]]]]],5],[[[3,[-1,-2,-3,[0,[0]],-4,-5,-6,-7,-8]],[4,[-1]]],[[3,[-1,-2,-3,0,-4,-5,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[28,-1],2,44],[[[6,[-1]]],[[4,[-1]]],5],[[[34,[-1]],27],[[34,[-1]]],5],[[[16,[-1]]],27,5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[21,45]],[[11,45]],[[14,45]],[[15,45]],[[4,45]],[[16,45]],[[31,45]],[[12,45]],[[6,45]],[[],27],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[[[11,[-1]]],[],5],[[[14,[-1]]],[],5],[[[15,[-1]]],[],5],[[[16,[-1]]],[],5],[[[12,[-1]]],[],5],0,[[[20,[-1,-2]],[4,[-1]]],[[20,[-1,-2]]],5,[]],[[[21,[-1]]],[[4,[-1]]],5],0,[32,[[48,[29]]]],[[[3,[-1,-2,-3,-4,-5,-6,-7,[0,[0]],-8]],49],[[3,[-1,-2,-3,-4,-5,-6,-7,0,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],49,5],[[[20,[-1,-2]],-3],[[20,[-1,-2]]],5,[],8],[[[21,[-1]]],[[13,[[14,[-1]]]]],5],[[[10,[-1]],50],[[10,[-1]]],5],[[[9,[-1,-2,[0,[0]],-3,-4]],27],[[9,[-1,-2,0,-3,-4]]],5,[],[],[]],[[[14,[-1]]],27,5],[[],[[20,[-1,0]]],5],[[],[[10,[-1]]],5],[-1,28,[[51,[[43,[25]]]]]],[[[33,[-1]]],[[4,[-1]]],5],[[],[[34,[-1]]],5],[-2,[[31,[-1]]],5,[[51,[[4,[-1]]]]]],[[],[[35,[-1]]],5],[[],[[3,[-1,[0,[0]],[0,[0]],[0,[0]],[0,[0]],[0,[0]],[0,[0]],[0,[0]],[0,[0]]]]],5],[[-1,-2],32,[[51,[48]]],[[51,[21]]]],[[[48,[29]],[21,[29]],52],32],[[[34,[-1]],[4,[-1]]],[[34,[-1]]],5],[[[35,[-1]],[4,[-1]]],[[35,[-1]]],5],[[],4],[[[7,[-1,-2,[0,[0]],-3]],27],[[7,[-1,-2,0,-3]]],5,[],[]],[[[9,[-1,-2,-3,[0,[0]],-4]],27],[[9,[-1,-2,-3,0,-4]]],5,[],[],[]],[[[11,[-1]]],27,5],[[[14,[-1]]],27,5],0,[32,52],[[[31,[-1]]],[[4,[-1]]],5],[[[11,[-1]]],[[31,[-1]]],5],[[[14,[-1]]],[[31,[-1]]],5],0,[[[7,[-1,-2,-3,[0,[0]]]],[31,[-1]]],[[7,[-1,-2,-3,0]]],5,[],[]],[[[9,[-1,-2,-3,-4,[0,[0]]]],[31,[-1]]],[[9,[-1,-2,-3,-4,0]]],5,[],[],[]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],0,[[[7,[-1,[0,[0]],-2,-3]],[43,[25]]],[[7,[-1,0,-2,-3]]],5,[],[]],[[[9,[-1,[0,[0]],-2,-3,-4]],[43,[25]]],[[9,[-1,0,-2,-3,-4]]],5,[],[],[]],[[[11,[-1]]],28,5],[[[14,[-1]]],28,5],0,[[[21,[-1]],-2],23,5,55],[[[11,[-1]],-2],23,5,55],[[[14,[-1]],-2],23,5,55],[[[15,[-1]],-2],23,5,55],[[28,-1],23,55],[[[4,[-1]],-2],23,5,55],[[[16,[-1]],-2],23,5,55],[[[31,[-1]],-2],23,5,55],[[[12,[-1]],-2],23,5,55],[[[6,[-1]],-2],23,5,55],[[32,-1],23,55],[[[10,[-1]],[56,[-2]]],[[10,[-1]]],5,[[57,[[13,[25]]]]]],[[[15,[-1]]],[[56,[0]]],5],[17,49],[32,[[21,[29]]]],[[[3,[-1,-2,-3,-4,-5,-6,-7,-8,[0,[0]]]],49],[[3,[-1,-2,-3,-4,-5,-6,-7,-8,0]]],5,[],[],[],[],[],[],[]],[[[3,[-1,-2,-3,-4,[0,[0]],-5,-6,-7,-8]],[4,[-1]]],[[3,[-1,-2,-3,-4,0,-5,-6,-7,-8]]],5,[],[],[],[],[],[],[]],[[[6,[-1]]],[[4,[-1]]],5],[28,[[13,[25]]]],[[-1,[13,[25]]],[[18,[25]]],[]],[-1,-2,[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[[[4,[-1]]],[],5],[[[16,[-1]]],[[4,[-1]]],5],[[[12,[-1]]],[[4,[-1]]],5],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[[],59],[[],59],[32,60],[-1,4,8],[50,4],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[61,61],[62,62],[63,63],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[[48,[-1]],[48,[-1]]],64,[65,5]],[[61,61],64],[[[66,[-1]],[66,[-1]]],64,[65,5]],[[[67,[-1]],[67,[-1]]],64,[65,5]],[[[68,[-1]],[68,[-1]]],64,[65,5]],[[69,69],64],[[70,70],64],[[[71,[-1]],[71,[-1]]],64,[65,5]],[[[72,[-1]],[72,[-1]]],64,[65,5]],[[[73,[-1]],[73,[-1]]],64,[65,5]],[[62,62],64],[[[74,[-1]],[74,[-1]]],64,[65,5]],[-1,[[23,[[48,[-2]]]]],30,5],[-1,[[23,[61]]],30],[-1,[[23,[[66,[-2]]]]],30,5],[-1,[[23,[[67,[-2]]]]],30,5],[-1,[[23,[[68,[-2]]]]],30,5],[-1,[[23,[69]]],30],[-1,[[23,[70]]],30],[-1,[[23,[[71,[-2]]]]],30,5],[-1,[[23,[[72,[-2]]]]],30,5],[-1,[[23,[[73,[-2]]]]],30,5],[-1,[[23,[62]]],30],[-1,[[23,[[74,[-2]]]]],30,5],[[[74,[-1]]],61,5],[[[48,[-1]],[48,[-1]]],27,[38,5]],[[61,61],27],[[[66,[-1]],[66,[-1]]],27,[38,5]],[[[67,[-1]],[67,[-1]]],27,[38,5]],[[[68,[-1]],[68,[-1]]],27,[38,5]],[[69,69],27],[[70,70],27],[[[71,[-1]],[71,[-1]]],27,[38,5]],[[[72,[-1]],[72,[-1]]],27,[38,5]],[[[73,[-1]],[73,[-1]]],27,[38,5]],[[62,62],27],[[[74,[-1]],[74,[-1]]],27,[38,5]],[[63,63],27],[[[72,[-1]]],[[13,[[73,[-1]]]]],5],[[[48,[-1]],39],41,[42,5]],[[61,39],41],[[[66,[-1]],39],41,[42,5]],[[[67,[-1]],39],41,[42,5]],[[[68,[-1]],39],41,[42,5]],[[69,39],41],[[70,39],41],[[[71,[-1]],39],41,[42,5]],[[[72,[-1]],39],41,[42,5]],[[[73,[-1]],39],41,[42,5]],[[62,39],41],[[[74,[-1]],39],41,[42,5]],[[63,39],41],[[63,39],41],[-1,-1,[]],[[[66,[-1]]],[[48,[-1]]],5],[[[71,[-1]]],[[48,[-1]]],5],[[[67,[-1]]],[[48,[-1]]],5],[-1,-1,[]],[[[74,[-1]]],[[48,[-1]]],5],[[[68,[-1]]],[[48,[-1]]],5],[[[72,[-1]]],[[48,[-1]]],5],[-1,-1,[]],[75,61],[75,61],[-1,-1,[]],[[[2,[61,[76,[[48,[-1]]]]]]],[[66,[-1]]],5],[[[2,[61]]],[[67,[-1]]],5],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[49,62],[-1,-1,[]],[-1,-1,[]],[61,67],[69,70],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[48,45]],[[66,45]],[[67,45]],[[68,45]],[[71,45]],[[72,45]],[[73,45]],[[74,45]],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[46,47],[61,75],[[[67,[-1]]],61,5],[[[66,[-1]]],[[48,[-1]]],5],[[[68,[-1]]],[[48,[-1]]],5],[[[71,[-1]]],[[48,[-1]]],5],[[[73,[-1]]],[[48,[-1]]],5],[[[71,[-1]]],26,5],[[[72,[-1]]],[],5],[[[73,[-1]]],[],5],[[[74,[-1]]],[],5],[-1,61,[[51,[26]]]],[[61,-2],[[66,[-1]]],5,[[51,[[48,[-1]]]]]],[61,[[67,[-1]]],5],[[-1,69,-2],68,[[51,[61]]],[[51,[48]]]],[[70,[18,[25]],[18,[25]]],69],[[-1,26,-2],71,[[51,[61]]],[[51,[48]]]],[[-1,-2],[[72,[-3]]],51,8,5],[[-1,-3],[[73,[-2]]],51,5,[[51,[[48,[-2]]]]]],[[-1,-2,-3],74,51,[[51,[61]]],8],[[61,-1],[[66,[19]]],[[51,[[48,[19]]]]]],[[[68,[-1]]],61,5],[[[71,[-1]]],61,5],[[[48,[-1]],[48,[-1]]],[[56,[64]]],[77,5]],[[61,61],[[56,[64]]]],[[[66,[-1]],[66,[-1]]],[[56,[64]]],[77,5]],[[[67,[-1]],[67,[-1]]],[[56,[64]]],[77,5]],[[[68,[-1]],[68,[-1]]],[[56,[64]]],[77,5]],[[69,69],[[56,[64]]]],[[70,70],[[56,[64]]]],[[[71,[-1]],[71,[-1]]],[[56,[64]]],[77,5]],[[[72,[-1]],[72,[-1]]],[[56,[64]]],[77,5]],[[[73,[-1]],[73,[-1]]],[[56,[64]]],[77,5]],[[62,62],[[56,[64]]]],[[[74,[-1]],[74,[-1]]],[[56,[64]]],[77,5]],[69,[[13,[25]]]],[69,[[13,[25]]]],[[[66,[-1]]],61,5],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],[[53,[50]]]],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[],54],[[[48,[-1]],-2],23,5,55],[[61,-1],23,55],[[[66,[-1]],-2],23,5,55],[[[67,[-1]],-2],23,5,55],[[[68,[-1]],-2],23,5,55],[[69,-1],23,55],[[70,-1],23,55],[[[71,[-1]],-2],23,5,55],[[[72,[-1]],-2],23,5,55],[[[73,[-1]],-2],23,5,55],[[62,-1],23,55],[[[74,[-1]],-2],23,5,55],[[[68,[-1]]],69,5],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,54,[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[-1,[[23,[-2]]],[],[]],[[[66,[-1]]],[],5],[[[67,[-1]]],[],5],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[-1,58,[]],[[[48,[19]]],[[23,[2,63]]]],[62,49],[[[74,[-1]]],[[78,[62,[72,[-1]]]]],5]],"c":[],"p":[[3,"Private",681],[15,"tuple"],[3,"EnvironmentSpecBuilder",0],[3,"TypeSpec",0],[8,"Form",682],[3,"EnvironmentSpec",0],[3,"ConstructorSpecBuilder",0],[8,"IntoIterator",683],[3,"MessageSpecBuilder",0],[3,"EventSpecBuilder",0],[3,"ConstructorSpec",0],[3,"MessageParamSpec",0],[15,"slice"],[3,"MessageSpec",0],[3,"EventSpec",0],[3,"EventParamSpec",0],[4,"LangError",0],[3,"Vec",684],[4,"MetaForm",682],[3,"ContractSpecBuilder",0],[3,"ContractSpec",0],[3,"Error",685],[4,"Result",686],[8,"Input",687],[15,"u8"],[15,"u32"],[15,"bool"],[3,"Selector",0],[4,"PortableForm",682],[8,"Deserializer",688],[3,"ReturnTypeSpec",0],[3,"InkProject",0],[6,"DisplayName",0],[3,"EventParamSpecBuilder",0],[3,"MessageParamSpecBuilder",0],[8,"Output",687],[8,"Sized",689],[8,"PartialEq",690],[3,"Formatter",691],[3,"Error",691],[6,"Result",691],[8,"Debug",691],[15,"array"],[8,"Hasher",692],[3,"Registry",693],[3,"SchemaGenerator",694],[4,"Schema",695],[4,"Layout",381],[15,"usize"],[15,"str"],[8,"Into",696],[3,"PortableRegistry",697],[4,"Cow",698],[3,"String",699],[8,"Serializer",700],[4,"Option",701],[8,"AsRef",696],[3,"TypeId",702],[3,"Type",703],[15,"u64"],[3,"LayoutKey",381],[3,"Discriminant",381],[4,"MetadataError",381],[4,"Ordering",690],[8,"Ord",690],[3,"RootLayout",381],[3,"LeafLayout",381],[3,"HashLayout",381],[3,"HashingStrategy",381],[4,"CryptoHasher",381],[3,"ArrayLayout",381],[3,"StructLayout",381],[3,"FieldLayout",381],[3,"EnumLayout",381],[6,"Key",704],[3,"Box",705],[8,"PartialOrd",690],[3,"BTreeMap",706],[8,"TypeInfo",0],[8,"EventMetadata",0],[3,"ValidateLayout",381]],"b":[[96,"impl-Default-for-TypeSpec"],[97,"impl-Default-for-TypeSpec%3CPortableForm%3E"],[493,"impl-Display-for-MetadataError"],[494,"impl-Debug-for-MetadataError"],[496,"impl-From%3CRootLayout%3CF%3E%3E-for-Layout%3CF%3E"],[497,"impl-From%3CArrayLayout%3CF%3E%3E-for-Layout%3CF%3E"],[498,"impl-From%3CLeafLayout%3CF%3E%3E-for-Layout%3CF%3E"],[500,"impl-From%3CEnumLayout%3CF%3E%3E-for-Layout%3CF%3E"],[501,"impl-From%3CHashLayout%3CF%3E%3E-for-Layout%3CF%3E"],[502,"impl-From%3CStructLayout%3CF%3E%3E-for-Layout%3CF%3E"],[504,"impl-From%3Cu32%3E-for-LayoutKey"],[505,"impl-From%3C%26u32%3E-for-LayoutKey"]]},\ "ink_prelude":{"doc":"Data structures to operate on contract memory during …","t":"RAAAOAAOIINENQILLLLLLKLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNDDDDDDEENNNDDNNDDDENNDDLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLAALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLMDDDDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDEDDDDDDDNDDDDNDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLDDDDDDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDEDDDDDDDDNNDDDDDEDDNNDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLDDDDDDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDDGDILLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLDDDDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["IIP2_WILDCARD_COMPLEMENT_SELECTOR","borrow","boxed","collections","format","string","vec","vec","Borrow","BorrowMut","Borrowed","Cow","Owned","Owned","ToOwned","add","add","add_assign","add_assign","as_ref","as_ref","borrow","borrow","borrow","borrow_mut","borrow_mut","clone","clone_from","clone_into","clone_into","cmp","default","deref","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_iter","from_iter","from_iter","hash","into","into_owned","is_borrowed","is_owned","ne","ne","ne","ne","ne","ne","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","to_mut","to_owned","to_owned","to_string","try_from","try_into","type_id","Box","ThinBox","allocator","as_fd","as_mut","as_raw_fd","as_ref","assume_init","assume_init","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","call_mut","call_once","cause","clone","clone","clone","clone","clone","clone","clone_from","clone_from","clone_into","cmp","consume","default","default","default","default","default","deref","deref","deref_mut","deref_mut","description","downcast","downcast","downcast","downcast_unchecked","downcast_unchecked","downcast_unchecked","drop","drop","eq","fill_buf","finish","flush","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_raw","from_raw_in","ge","gt","hash","into","into","into_boxed_slice","into_future","into_inner","into_iter","into_pin","into_raw","into_raw_with_allocator","into_searcher","is_contained_in","is_empty","is_prefix_of","is_read_vectored","is_suffix_of","is_write_vectored","last","le","leak","len","lt","ne","new","new","new_in","new_uninit","new_uninit_in","new_uninit_slice","new_uninit_slice_in","new_unsize","new_zeroed","new_zeroed_in","new_zeroed_slice","new_zeroed_slice_in","next","next_back","nth","nth_back","partial_cmp","pin","pin_in","poll","poll_next","provide","read","read_buf","read_exact","read_line","read_to_end","read_to_string","read_until","read_vectored","resume","seek","size_hint","size_hint","source","source","stream_position","strip_prefix_of","strip_suffix_of","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_new","try_new_in","try_new_uninit","try_new_uninit_in","try_new_uninit_slice","try_new_zeroed","try_new_zeroed_in","try_new_zeroed_slice","type_id","type_id","write","write","write","write_all","write_fmt","write_i128","write_i16","write_i32","write_i64","write_i8","write_isize","write_length_prefix","write_str","write_u128","write_u16","write_u32","write_u64","write_u8","write_usize","write_vectored","AllocError","BTreeMap","BTreeMap","BTreeSet","BTreeSet","BinaryHeap","BinaryHeap","Bound","Bound","CapacityOverflow","Excluded","Excluded","HashMap","HashSet","Included","Included","LinkedList","LinkedList","TryReserveError","TryReserveErrorKind","Unbounded","Unbounded","VecDeque","VecDeque","allocator","allocator","append","append","append","append","append","as_mut","as_mut_slices","as_ref","as_slice","as_slices","back","back","back_mut","back_mut","binary_heap","binary_search","binary_search_by","binary_search_by_key","bitand","bitand","bitor","bitor","bitxor","bitxor","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","btree_map","btree_set","capacity","capacity","capacity","capacity","clear","clear","clear","clear","clear","clear","clear","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_from","clone_from","clone_from","clone_from","clone_from","clone_from","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cloned","cmp","cmp","cmp","cmp","consume","contains","contains","contains","contains","contains_key","contains_key","cursor_back","cursor_back_mut","cursor_front","cursor_front_mut","default","default","default","default","default","default","default","difference","difference","drain","drain","drain","drain","drain_sorted","drop","drop","drop","entry","entry","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","extend","extend","extend","extend","extend","extend","extend","extend","extend","extend","extend","extend","extend","extend","extend_one","extend_one","extend_one","extend_one","extend_one","extend_one","extend_one","extend_one","extend_one","extend_one","extend_one","extend_one","extend_one","extend_one","extend_reserve","extend_reserve","extend_reserve","extend_reserve","extend_reserve","extend_reserve","extend_reserve","extend_reserve","extract_if","extract_if","extract_if","extract_if","extract_if","fill_buf","first","first_entry","first_key_value","flush","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_iter","from_iter","from_iter","from_iter","from_iter","from_iter","front","front","front_mut","front_mut","get","get","get","get","get","get_key_value","get_key_value","get_many_mut","get_many_unchecked_mut","get_mut","get_mut","get_mut","get_or_insert","get_or_insert_owned","get_or_insert_with","hash","hash","hash","hash","hash","hash_map","hash_set","hasher","hasher","index","index","index","index_mut","insert","insert","insert","insert","insert","intersection","intersection","into","into","into","into","into","into","into","into","into","into","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter_sorted","into_keys","into_keys","into_sorted_vec","into_values","into_values","into_vec","is_disjoint","is_disjoint","is_empty","is_empty","is_empty","is_empty","is_empty","is_empty","is_empty","is_subset","is_subset","is_superset","is_superset","is_write_vectored","iter","iter","iter","iter","iter","iter","iter","iter_mut","iter_mut","iter_mut","iter_mut","keys","keys","kind","last","last_entry","last_key_value","len","len","len","len","len","len","len","linked_list","lower_bound","lower_bound_mut","make_contiguous","map","ne","new","new","new","new","new","new","new","new_in","new_in","new_in","new_in","new_in","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partition_point","peek","peek_mut","pop","pop_back","pop_back","pop_first","pop_first","pop_front","pop_front","pop_last","pop_last","push","push_back","push_back","push_front","push_front","range","range","range","range_mut","range_mut","raw_entry","raw_entry_mut","read","read_buf","read_to_end","read_to_string","remove","remove","remove","remove","remove","remove","remove_entry","remove_entry","replace","replace","reserve","reserve","reserve","reserve","reserve_exact","reserve_exact","resize","resize_with","retain","retain","retain","retain","retain","retain","retain_mut","rotate_left","rotate_right","shrink_to","shrink_to","shrink_to","shrink_to","shrink_to_fit","shrink_to_fit","shrink_to_fit","shrink_to_fit","split_off","split_off","split_off","split_off","sub","sub","swap","swap_remove_back","swap_remove_front","symmetric_difference","symmetric_difference","take","take","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","truncate","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_insert","try_insert","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_reserve","try_reserve","try_reserve","try_reserve","try_reserve_exact","try_reserve_exact","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","union","union","upper_bound","upper_bound_mut","values","values","values_mut","values_mut","vec_deque","with_capacity","with_capacity","with_capacity","with_capacity","with_capacity_and_hasher","with_capacity_and_hasher","with_capacity_in","with_capacity_in","with_hasher","with_hasher","write","write_all","write_vectored","layout","BinaryHeap","Drain","DrainSorted","IntoIter","IntoIterSorted","Iter","PeekMut","allocator","allocator","allocator","allocator","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","default","deref","deref_mut","drop","drop","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","into","into","into","into","into","into","into_iter","into_iter","into_iter","into_iter","into_iter","is_empty","is_empty","is_empty","last","next","next","next","next","next","next_back","next_back","next_back","pop","size_hint","size_hint","size_hint","size_hint","size_hint","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","BTreeMap","Cursor","CursorMut","Entry","ExtractIf","IntoIter","IntoKeys","IntoValues","Iter","IterMut","Keys","Occupied","OccupiedEntry","OccupiedError","Range","RangeMut","Vacant","VacantEntry","Values","ValuesMut","and_modify","as_cursor","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","default","default","default","default","default","description","drop","entry","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","get","get_mut","insert","insert","insert_after","insert_after_unchecked","insert_before","insert_before_unchecked","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_key","into_mut","key","key","key","key","key","key_mut_unchecked","key_value","key_value","key_value_mut","last","last","last","last","last","last","last","last","last","len","len","len","len","len","len","len","len","max","max","max","max","max","max","min","min","min","min","min","min","move_next","move_next","move_prev","move_prev","next","next","next","next","next","next","next","next","next","next","next","next_back","next_back","next_back","next_back","next_back","next_back","next_back","next_back","next_back","next_back","or_default","or_insert","or_insert_with","or_insert_with_key","peek_next","peek_next","peek_prev","peek_prev","remove","remove_current","remove_current_and_move_back","remove_entry","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","value","value","value","value_mut","BTreeSet","Difference","ExtractIf","Intersection","IntoIter","Iter","Range","SymmetricDifference","Union","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","last","last","len","len","max","max","min","min","min","min","min","min","next","next","next","next","next","next","next","next","next_back","next_back","next_back","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","DefaultHasher","Drain","Entry","ExtractIf","HashMap","IntoIter","IntoKeys","IntoValues","Iter","IterMut","Keys","Occupied","Occupied","OccupiedEntry","OccupiedError","RandomState","RawEntryBuilder","RawEntryBuilderMut","RawEntryMut","RawOccupiedEntryMut","RawVacantEntryMut","Vacant","Vacant","VacantEntry","Values","ValuesMut","and_modify","and_modify","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_hasher","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","description","entry","finish","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_hash","from_hash","from_key","from_key","from_key_hashed_nocheck","from_key_hashed_nocheck","get","get","get_key_value","get_key_value_mut","get_mut","get_mut","insert","insert","insert","insert","insert_entry","insert_entry","insert_hashed_nocheck","insert_key","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_key","into_key","into_key_value","into_mut","into_mut","key","key","key","key","key_mut","len","len","len","len","len","len","len","len","len","new","new","next","next","next","next","next","next","next","next","next","next","or_default","or_insert","or_insert","or_insert_with","or_insert_with","or_insert_with_key","remove","remove","remove_entry","remove_entry","replace_entry","replace_key","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","value","write","write_str","Difference","Drain","ExtractIf","HashSet","Intersection","IntoIter","Iter","SymmetricDifference","Union","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","len","len","len","next","next","next","next","next","next","next","next","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","Cursor","CursorMut","ExtractIf","IntoIter","Iter","IterMut","LinkedList","as_cursor","back","back","back_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","current","current","default","default","default","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","front","front","front_mut","index","index","insert_after","insert_before","into","into","into","into","into","into","into_iter","into_iter","into_iter","into_iter","last","last","move_next","move_next","move_prev","move_prev","next","next","next","next","next_back","next_back","next_back","peek_next","peek_next","peek_prev","peek_prev","pop_back","pop_front","push_back","push_front","remove_current","remove_current_as_list","size_hint","size_hint","size_hint","size_hint","splice_after","splice_before","split_after","split_before","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","Drain","IntoIter","Iter","IterMut","VecDeque","advance_back_by","advance_back_by","advance_back_by","advance_by","advance_by","advance_by","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","count","drop","fmt","fmt","fmt","fmt","fold","fold","fold","from","from","from","from","into","into","into","into","into_iter","into_iter","into_iter","into_iter","is_empty","is_empty","is_empty","last","last","last","len","len","next","next","next","next","next_back","next_back","next_back","next_back","next_chunk","rfold","rfold","rfold","size_hint","size_hint","size_hint","size_hint","to_owned","to_owned","try_fold","try_fold","try_fold","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_rfold","try_rfold","try_rfold","type_id","type_id","type_id","type_id","Drain","FromUtf16Error","FromUtf8Error","ParseError","String","ToString","add","add_assign","as_bytes","as_bytes","as_mut","as_mut_str","as_mut_vec","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","capacity","clear","clone","clone","clone_from","clone_into","clone_into","cmp","default","deref","deref_mut","description","description","drain","drop","eq","eq","eq","eq","eq","extend","extend","extend","extend","extend","extend","extend_from_within","extend_one","extend_one","extend_one","extend_one","extend_one","extend_reserve","extend_reserve","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_iter","from_iter","from_iter","from_iter","from_iter","from_iter","from_raw_parts","from_str","from_utf16","from_utf16_lossy","from_utf16be","from_utf16be_lossy","from_utf16le","from_utf16le_lossy","from_utf8","from_utf8_lossy","from_utf8_unchecked","hash","index","index","index","index","index","index","index_mut","index_mut","index_mut","index_mut","index_mut","index_mut","insert","insert_str","into","into","into","into","into_boxed_str","into_bytes","into_bytes","into_iter","into_raw_parts","into_searcher","is_contained_in","is_empty","is_prefix_of","is_suffix_of","last","leak","len","ne","ne","ne","new","next","next_back","partial_cmp","pop","push","push_str","remove","remove_matches","replace_range","reserve","reserve_exact","retain","shrink_to","shrink_to_fit","size_hint","split_off","strip_prefix_of","strip_suffix_of","to_owned","to_owned","to_socket_addrs","to_string","to_string","to_string","to_string","truncate","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_reserve","try_reserve_exact","type_id","type_id","type_id","type_id","utf8_error","with_capacity","write_char","write_str","Drain","ExtractIf","IntoIter","Splice","Vec","advance_back_by","advance_by","allocator","allocator","allocator","allocator","append","as_mut","as_mut","as_mut_ptr","as_mut_slice","as_mut_slice","as_ptr","as_ref","as_ref","as_ref","as_ref","as_slice","as_slice","as_slice","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","capacity","clear","clone","clone","clone_from","clone_into","clone_into","cmp","count","dedup","dedup_by","dedup_by_key","default","default","deref","deref_mut","drain","drop","drop","drop","drop","drop","eq","eq","eq","eq","eq","eq","extend","extend","extend_from_slice","extend_from_within","extend_one","extend_one","extend_reserve","extend_reserve","extract_if","flush","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_raw_parts","from_raw_parts_in","hash","index","index_mut","insert","into","into","into","into","into","into_boxed_slice","into_flattened","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_iter","into_raw_parts","into_raw_parts_with_alloc","is_empty","is_empty","is_empty","is_write_vectored","keep_rest","leak","len","ne","ne","ne","ne","ne","ne","new","new_in","next","next","next","next","next_back","next_back","next_back","next_chunk","partial_cmp","pop","push","push_within_capacity","remove","reserve","reserve_exact","resize","resize_with","retain","retain_mut","set_len","shrink_to","shrink_to_fit","size_hint","size_hint","size_hint","size_hint","spare_capacity_mut","splice","split_at_spare_mut","split_off","swap_remove","to_owned","to_owned","truncate","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_reserve","try_reserve_exact","type_id","type_id","type_id","type_id","type_id","with_capacity","with_capacity_in","write","write_all","write_vectored"],"q":[[0,"ink_prelude"],[8,"ink_prelude::borrow"],[105,"ink_prelude::boxed"],[297,"ink_prelude::collections"],[823,"ink_prelude::collections::TryReserveErrorKind"],[824,"ink_prelude::collections::binary_heap"],[920,"ink_prelude::collections::btree_map"],[1215,"ink_prelude::collections::btree_set"],[1347,"ink_prelude::collections::hash_map"],[1652,"ink_prelude::collections::hash_set"],[1767,"ink_prelude::collections::linked_list"],[1882,"ink_prelude::collections::vec_deque"],[1970,"ink_prelude::string"],[2149,"ink_prelude::vec"],[2340,"core::marker"],[2341,"std::ffi::os_str"],[2342,"std::path"],[2343,"core::cmp"],[2344,"core::cmp"],[2345,"core::alloc"],[2346,"std::path"],[2347,"core::fmt"],[2348,"core::fmt"],[2349,"core::ffi::c_str"],[2350,"core::iter::traits::collect"],[2351,"core::hash"],[2352,"core::hash"],[2353,"core::cmp"],[2354,"std::os::fd::owned"],[2355,"std::os::fd::owned"],[2356,"core::mem::maybe_uninit"],[2357,"core::marker"],[2358,"core::ops::function"],[2359,"std::io"],[2360,"core::default"],[2361,"core::any"],[2362,"std::io"],[2363,"core::str::pattern"],[2364,"core::iter::traits::exact_size"],[2365,"std::io"],[2366,"core::marker"],[2367,"core::task::wake"],[2368,"core::task::poll"],[2369,"core::future::future"],[2370,"core::marker"],[2371,"core::error"],[2372,"std::io"],[2373,"core::ops::coroutine"],[2374,"core::marker"],[2375,"core::num::nonzero"],[2376,"core::array::iter"],[2377,"core::ops::try_trait"],[2378,"core::ops::range"],[2379,"core::str::error"],[2380,"core::slice::index"]],"d":["A well know selector reserved for the message required to …","A module for working with borrowed data.","The Box<T> type for heap allocation.","Collection types.","Creates a String using interpolation of runtime …","A UTF-8–encoded, growable string.","A contiguous growable array type with heap-allocated …","Creates a Vec containing the arguments.","A trait for borrowing data.","A trait for mutably borrowing data.","Borrowed data.","A clone-on-write smart pointer.","Owned data.","The resulting type after obtaining ownership.","A generalization of Clone to borrowed data.","","","","","","","Immutably borrows from an owned value.","","","Mutably borrows from an owned value.","","","","Uses borrowed data to replace owned data, usually by …","","","Creates an owned Cow<’a, B> with the default value for …","","","","","","","","","","","","","","","","","","","","","","","Creates a Borrowed variant of Cow from a reference to Vec.","Converts the string reference into a Cow::Borrowed.","Converts a CString into an owned Cow without copying or …","Converts a String into an Owned variant. No heap …","Returns the argument unchanged.","Creates a clone-on-write pointer from a reference to …","Creates an Owned variant of Cow from an owned instance of …","Converts a string slice into a Borrowed variant. No heap …","Converts a String reference into a Borrowed variant. No …","Creates a clone-on-write pointer from a reference to Path.","Moves the string into a Cow::Owned.","Converts the string reference into a Cow::Borrowed.","Creates a Borrowed variant of Cow from a slice.","Converts a &CString into a borrowed Cow without copying or …","Creates a clone-on-write pointer from an owned instance of …","Converts a CStr into a borrowed Cow without copying or …","","","","","","Calls U::from(self).","Extracts the owned data.","Returns true if the data is borrowed, i.e. if to_mut would …","Returns true if the data is owned, i.e. if to_mut would be …","","","","","","","","","","","","","","","","","","","","Acquires a mutable reference to the owned form of the data.","Creates owned data from borrowed data, usually by cloning.","","","","","","A pointer type that uniquely owns a heap allocation of …","ThinBox.","Returns a reference to the underlying allocator.","","","","","Converts to Box<[T], A>.","Converts to Box<T, A>.","","","","","","","","","","","","","","Returns a new box with a clone() of this box’s contents.","","","","Copies source’s contents into self without creating a …","","","","Creates a Box<T>, with the Default value for T.","","","","","","","","","","Attempt to downcast the box to a concrete type.","Attempt to downcast the box to a concrete type.","Attempt to downcast the box to a concrete type.","Downcasts the box to a concrete type.","Downcasts the box to a concrete type.","Downcasts the box to a concrete type.","","","","","","","","","","","","Returns the argument unchanged.","","Converts a Cow<'a, OsStr> into a Box<OsStr>, by copying …","Converts a Cow into a box of dyn Error + Send + Sync.","Converts a [T; N] into a Box<[T]>","Converts a PathBuf into a Box<Path>.","Copies the string into a newly allocated Box<OsStr>.","Converts a T into a Box<T>","Converts a String into a box of dyn Error + Send + Sync.","Returns the argument unchanged.","Converts a Box<str> into a Box<[u8]>","Creates a boxed Path from a clone-on-write pointer.","Converts a Cow<'a, CStr> into a Box<CStr>, by copying the …","Converts a &str into a Box<str>","Converts a CString into a Box<CStr> without copying or …","Creates a boxed Path from a reference.","Converts a str into a box of dyn Error + Send + Sync.","Converts a Cow<'_, [T]> into a Box<[T]>","Converts the given String to a boxed str slice that is …","Converts a type of Error + Send + Sync into a box of dyn …","Converts a &[T] into a Box<[T]>","Converts a String into a box of dyn Error.","Convert a vector into a boxed slice.","Converts a str into a box of dyn Error.","Converts a &CStr into a Box<CStr>, by copying the contents …","Converts an OsString into a Box<OsStr> without copying or …","Converts a Cow<'_, str> into a Box<str>","Converts a type of Error into a box of dyn Error.","Converts a Cow into a box of dyn Error.","","Constructs a box from a raw pointer.","Constructs a box from a raw pointer in the given allocator.","","","","Calls U::from(self).","Calls U::from(self).","Converts a Box<T> into a Box<[T]>","","Consumes the Box, returning the wrapped value.","","Converts a Box<T> into a Pin<Box<T>>. If T does not …","Consumes the Box, returning a wrapped raw pointer.","Consumes the Box, returning a wrapped raw pointer and the …","","","","","","","","","","Consumes and leaks the Box, returning a mutable reference, …","","","","Moves a type to the heap with its Metadata stored in the …","Allocates memory on the heap and then places x into it.","Allocates memory in the given allocator then places x into …","Constructs a new box with uninitialized contents.","Constructs a new box with uninitialized contents in the …","Constructs a new boxed slice with uninitialized contents.","Constructs a new boxed slice with uninitialized contents …","Moves a type to the heap with its Metadata stored in the …","Constructs a new Box with uninitialized contents, with the …","Constructs a new Box with uninitialized contents, with the …","Constructs a new boxed slice with uninitialized contents, …","Constructs a new boxed slice with uninitialized contents …","","","","","","Constructs a new Pin<Box<T>>. If T does not implement Unpin…","Constructs a new Pin<Box<T, A>>. If T does not implement …","","","","","","","","","","","","","","","","","","","","","","","","","","Attempts to convert a Box<[T]> into a Box<[T; N]>.","Attempts to convert a Vec<T> into a Box<[T; N]>.","","","Allocates memory on the heap then places x into it, …","Allocates memory in the given allocator then places x into …","Constructs a new box with uninitialized contents on the …","Constructs a new box with uninitialized contents in the …","Constructs a new boxed slice with uninitialized contents. …","Constructs a new Box with uninitialized contents, with the …","Constructs a new Box with uninitialized contents, with the …","Constructs a new boxed slice with uninitialized contents, …","","","Writes the value and converts to Box<T, A>.","","","","","","","","","","","","","","","","","","","","The memory allocator returned an error","An ordered map based on a B-Tree.","An ordered map based on a B-Tree.","An ordered set based on a B-Tree.","An ordered set based on a B-Tree.","A priority queue implemented with a binary heap.","A priority queue implemented with a binary heap.","An endpoint of a range of keys.","An endpoint of a range of keys.","Error due to the computed capacity exceeding the collection…","An exclusive bound.","An exclusive bound.","A hash map implemented with quadratic probing and SIMD …","A hash set implemented as a HashMap where the value is ().","An inclusive bound.","An inclusive bound.","A doubly-linked list with owned nodes.","A doubly-linked list with owned nodes.","The error type for try_reserve methods.","Details of the allocation that caused a TryReserveError","An infinite endpoint. Indicates that there is no bound in …","An infinite endpoint. Indicates that there is no bound in …","A double-ended queue implemented with a growable ring …","A double-ended queue implemented with a growable ring …","Returns a reference to the underlying allocator.","Returns a reference to the underlying allocator.","Moves all the elements of other into self, leaving other …","Moves all elements from other into self, leaving other …","Moves all elements from other into self, leaving other …","Moves all elements from other to the end of the list.","Moves all the elements of other into self, leaving other …","Converts from &mut Bound<T> to Bound<&mut T>.","Returns a pair of slices which contain, in order, the …","Converts from &Bound<T> to Bound<&T>.","Returns a slice of all values in the underlying vector, in …","Returns a pair of slices which contain, in order, the …","Provides a reference to the back element, or None if the …","Provides a reference to the back element, or None if the …","Provides a mutable reference to the back element, or None …","Provides a mutable reference to the back element, or None …","A priority queue implemented with a binary heap.","Binary searches this VecDeque for a given element. If the …","Binary searches this VecDeque with a comparator function.","Binary searches this VecDeque with a key extraction …","Returns the intersection of self and rhs as a new …","Returns the intersection of self and rhs as a new …","Returns the union of self and rhs as a new HashSet<T, S>.","Returns the union of self and rhs as a new BTreeSet<T>.","Returns the symmetric difference of self and rhs as a new …","Returns the symmetric difference of self and rhs as a new …","","","","","","","","","","","","","","","","","","","","","An ordered map based on a B-Tree.","An ordered set based on a B-Tree.","Returns the number of elements the map can hold without …","Returns the number of elements the binary heap can hold …","Returns the number of elements the set can hold without …","Returns the number of elements the deque can hold without …","Clears the map, removing all key-value pairs. Keeps the …","Drops all items from the binary heap.","Clears the map, removing all elements.","Clears the set, removing all values.","Clears the set, removing all elements.","Removes all elements from the LinkedList.","Clears the deque, removing all values.","","","","","","","","","","","","","","","","","","","","","","","","","","","Map a Bound<&T> to a Bound<T> by cloning the contents of …","","","","","","Returns true if the set contains a value.","Returns true if the set contains an element equal to the …","Returns true if the LinkedList contains an element equal …","Returns true if the deque contains an element equal to the …","Returns true if the map contains a value for the specified …","Returns true if the map contains a value for the specified …","Provides a cursor at the back element.","Provides a cursor with editing operations at the back …","Provides a cursor at the front element.","Provides a cursor with editing operations at the front …","Creates an empty HashMap<K, V, S>, with the Default value …","Creates an empty BinaryHeap<T>.","Creates an empty BTreeMap.","Creates an empty HashSet<T, S> with the Default value for …","Creates an empty BTreeSet.","Creates an empty LinkedList<T>.","Creates an empty deque.","Visits the values representing the difference, i.e., the …","Visits the elements representing the difference, i.e., the …","Clears the map, returning all key-value pairs as an …","Clears the binary heap, returning an iterator over the …","Clears the set, returning all elements as an iterator. …","Removes the specified range from the deque in bulk, …","Clears the binary heap, returning an iterator over the …","","","","Gets the given key’s corresponding entry in the map for …","Gets the given key’s corresponding entry in the map for …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Creates an iterator which uses a closure to determine if …","Creates an iterator that visits all elements (key-value …","Creates an iterator which uses a closure to determine if a …","Creates an iterator that visits all elements in ascending …","Creates an iterator which uses a closure to determine if …","Returns the contents of the “front” slice as returned …","Returns a reference to the first element in the set, if …","Returns the first entry in the map for in-place …","Returns the first key-value pair in the map. The key in …","","","","","","","","","","","","","Examples","Returns the argument unchanged.","Returns the argument unchanged.","","Converts a Vec<T> into a BinaryHeap<T>.","Returns the argument unchanged.","Converts a [(K, V); N] into a BTreeMap<(K, V)>.","Returns the argument unchanged.","Examples","Converts a [T; N] into a BTreeSet<T>.","Returns the argument unchanged.","Returns the argument unchanged.","Converts a [T; N] into a LinkedList<T>.","Returns the argument unchanged.","Converts a [T; N] into a VecDeque<T>.","Turn a Vec<T> into a VecDeque<T>.","","Returns the argument unchanged.","Always evaluates to TryReserveErrorKind::CapacityOverflow.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","Provides a reference to the front element, or None if the …","Provides a reference to the front element, or None if the …","Provides a mutable reference to the front element, or None …","Provides a mutable reference to the front element, or None …","Returns a reference to the value corresponding to the key.","Returns a reference to the value corresponding to the key.","Returns a reference to the value in the set, if any, that …","Returns a reference to the element in the set, if any, …","Provides a reference to the element at the given index.","Returns the key-value pair corresponding to the supplied …","Returns the key-value pair corresponding to the supplied …","Attempts to get mutable references to N values in the map …","Attempts to get mutable references to N values in the map …","Returns a mutable reference to the value corresponding to …","Returns a mutable reference to the value corresponding to …","Provides a mutable reference to the element at the given …","Inserts the given value into the set if it is not present, …","Inserts an owned copy of the given value into the set if …","Inserts a value computed from f into the set if the given …","","","","","","A hash map implemented with quadratic probing and SIMD …","A hash set implemented as a HashMap where the value is ().","Returns a reference to the map’s BuildHasher.","Returns a reference to the set’s BuildHasher.","Returns a reference to the value corresponding to the …","Returns a reference to the value corresponding to the …","","","Inserts a key-value pair into the map.","Inserts a key-value pair into the map.","Adds a value to the set.","Adds a value to the set.","Inserts an element at index within the deque, shifting all …","Visits the values representing the intersection, i.e., the …","Visits the elements representing the intersection, i.e., …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","Creates a consuming iterator, that is, one that moves each …","","Creates a consuming iterator, that is, one that moves each …","","","","","Creates a consuming iterator, that is, one that moves each …","Gets an iterator for moving out the BTreeSet’s contents.","","","Consumes the list into an iterator yielding elements by …","","","","Consumes the deque into a front-to-back iterator yielding …","Returns an iterator which retrieves elements in heap order.","Creates a consuming iterator visiting all the keys in …","Creates a consuming iterator visiting all the keys, in …","Consumes the BinaryHeap and returns a vector in sorted …","Creates a consuming iterator visiting all the values in …","Creates a consuming iterator visiting all the values, in …","Consumes the BinaryHeap and returns the underlying vector …","Returns true if self has no elements in common with other. …","Returns true if self has no elements in common with other. …","Returns true if the map contains no elements.","Checks if the binary heap is empty.","Returns true if the map contains no elements.","Returns true if the set contains no elements.","Returns true if the set contains no elements.","Returns true if the LinkedList is empty.","Returns true if the deque is empty.","Returns true if the set is a subset of another, i.e., other…","Returns true if the set is a subset of another, i.e., other…","Returns true if the set is a superset of another, i.e., …","Returns true if the set is a superset of another, i.e., …","","An iterator visiting all key-value pairs in arbitrary …","Returns an iterator visiting all values in the underlying …","Gets an iterator over the entries of the map, sorted by …","An iterator visiting all elements in arbitrary order. The …","Gets an iterator that visits the elements in the BTreeSet …","Provides a forward iterator.","Returns a front-to-back iterator.","An iterator visiting all key-value pairs in arbitrary …","Gets a mutable iterator over the entries of the map, …","Provides a forward iterator with mutable references.","Returns a front-to-back iterator that returns mutable …","An iterator visiting all keys in arbitrary order. The …","Gets an iterator over the keys of the map, in sorted order.","Details about the allocation that caused the error","Returns a reference to the last element in the set, if any.","Returns the last entry in the map for in-place …","Returns the last key-value pair in the map. The key in …","Returns the number of elements in the map.","Returns the length of the binary heap.","Returns the number of elements in the map.","Returns the number of elements in the set.","Returns the number of elements in the set.","Returns the length of the LinkedList.","Returns the number of elements in the deque.","A doubly-linked list with owned nodes.","Returns a Cursor pointing at the first element that is …","Returns a CursorMut pointing at the first element that is …","Rearranges the internal storage of this deque so it is one …","Maps a Bound<T> to a Bound<U> by applying a function to …","","Creates an empty HashMap.","Creates an empty BinaryHeap as a max-heap.","Makes a new, empty BTreeMap.","Creates an empty HashSet.","Makes a new, empty BTreeSet.","Creates an empty LinkedList.","Creates an empty deque.","Creates an empty BinaryHeap as a max-heap, using A as …","Makes a new empty BTreeMap with a reasonable choice for B.","Makes a new BTreeSet with a reasonable choice of B.","Constructs an empty LinkedList<T, A>.","Creates an empty deque.","","","","","Returns the index of the partition point according to the …","Returns the greatest item in the binary heap, or None if …","Returns a mutable reference to the greatest item in the …","Removes the greatest item from the binary heap and returns …","Removes the last element from a list and returns it, or …","Removes the last element from the deque and returns it, or …","Removes and returns the first element in the map. The key …","Removes the first element from the set and returns it, if …","Removes the first element and returns it, or None if the …","Removes the first element and returns it, or None if the …","Removes and returns the last element in the map. The key …","Removes the last element from the set and returns it, if …","Pushes an item onto the binary heap.","Appends an element to the back of a list.","Appends an element to the back of the deque.","Adds an element first in the list.","Prepends an element to the deque.","Constructs a double-ended iterator over a sub-range of …","Constructs a double-ended iterator over a sub-range of …","Creates an iterator that covers the specified range in the …","Constructs a mutable double-ended iterator over a …","Creates an iterator that covers the specified mutable …","Creates a raw immutable entry builder for the HashMap.","Creates a raw entry builder for the HashMap.","Fill buf with the contents of the “front” slice as …","","","","Removes a key from the map, returning the value at the key …","Removes a key from the map, returning the value at the key …","Removes a value from the set. Returns whether the value was","If the set contains an element equal to the value, removes …","Removes the element at the given index and returns it.","Removes and returns the element at index from the deque. …","Removes a key from the map, returning the stored key and …","Removes a key from the map, returning the stored key and …","Adds a value to the set, replacing the existing value, if …","Adds a value to the set, replacing the existing element, …","Reserves capacity for at least additional more elements to …","Reserves capacity for at least additional elements more …","Reserves capacity for at least additional more elements to …","Reserves capacity for at least additional more elements to …","Reserves the minimum capacity for at least additional …","Reserves the minimum capacity for at least additional more …","Modifies the deque in-place so that len() is equal to …","Modifies the deque in-place so that len() is equal to …","Retains only the elements specified by the predicate.","Retains only the elements specified by the predicate.","Retains only the elements specified by the predicate.","Retains only the elements specified by the predicate.","Retains only the elements specified by the predicate.","Retains only the elements specified by the predicate.","Retains only the elements specified by the predicate.","Rotates the double-ended queue n places to the left.","Rotates the double-ended queue n places to the right.","Shrinks the capacity of the map with a lower limit. It …","Discards capacity with a lower bound.","Shrinks the capacity of the set with a lower limit. It …","Shrinks the capacity of the deque with a lower bound.","Shrinks the capacity of the map as much as possible. It …","Discards as much additional capacity as possible.","Shrinks the capacity of the set as much as possible. It …","Shrinks the capacity of the deque as much as possible.","Splits the collection into two at the given key. Returns …","Splits the collection into two at the value. Returns a new …","Splits the list into two at the given index. Returns …","Splits the deque into two at the given index.","Returns the difference of self and rhs as a new …","Returns the difference of self and rhs as a new BTreeSet<T>…","Swaps elements at indices i and j.","Removes an element from anywhere in the deque and returns …","Removes an element from anywhere in the deque and returns …","Visits the values representing the symmetric difference, …","Visits the elements representing the symmetric difference, …","Removes and returns the value in the set, if any, that is …","Removes and returns the element in the set, if any, that …","","","","","","","","","","","","Shortens the deque, keeping the first len elements and …","","","","","","","","","","","Tries to insert a key-value pair into the map, and returns …","Tries to insert a key-value pair into the map, and returns …","","","","","","","","","","","Tries to reserve capacity for at least additional more …","Tries to reserve capacity for at least additional elements …","Tries to reserve capacity for at least additional more …","Tries to reserve capacity for at least additional more …","Tries to reserve the minimum capacity for at least …","Tries to reserve the minimum capacity for at least …","","","","","","","","","","","Visits the values representing the union, i.e., all the …","Visits the elements representing the union, i.e., all the …","Returns a Cursor pointing at the last element that is …","Returns a CursorMut pointing at the last element that is …","An iterator visiting all values in arbitrary order. The …","Gets an iterator over the values of the map, in order by …","An iterator visiting all values mutably in arbitrary order.","Gets a mutable iterator over the values of the map, in …","A double-ended queue (deque) implemented with a growable …","Creates an empty HashMap with at least the specified …","Creates an empty BinaryHeap with at least the specified …","Creates an empty HashSet with at least the specified …","Creates an empty deque with space for at least capacity …","Creates an empty HashMap with at least the specified …","Creates an empty HashSet with at least the specified …","Creates an empty BinaryHeap with at least the specified …","Creates an empty deque with space for at least capacity …","Creates an empty HashMap which will use the given hash …","Creates a new empty hash set which will use the given …","","","","The layout of allocation request that failed","A priority queue implemented with a binary heap.","A draining iterator over the elements of a BinaryHeap.","A draining iterator over the elements of a BinaryHeap.","An owning iterator over the elements of a BinaryHeap.","","An iterator over the elements of a BinaryHeap.","Structure wrapping a mutable reference to the greatest …","Returns a reference to the underlying allocator.","Returns a reference to the underlying allocator.","Returns a reference to the underlying allocator.","Returns a reference to the underlying allocator.","","","","","","","","","","","","","","","","","","","Creates an empty binary_heap::IntoIter.","","","","Removes heap elements in heap order.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","Removes the peeked value from the heap and returns it.","","","","","","","","","","","","","","","","","","","","","","","","","","","An ordered map based on a B-Tree.","A cursor over a BTreeMap.","A cursor over a BTreeMap with editing operations.","A view into a single entry in a map, which may either be …","An iterator produced by calling extract_if on BTreeMap.","An owning iterator over the entries of a BTreeMap.","An owning iterator over the keys of a BTreeMap.","An owning iterator over the values of a BTreeMap.","An iterator over the entries of a BTreeMap.","A mutable iterator over the entries of a BTreeMap.","An iterator over the keys of a BTreeMap.","An occupied entry.","A view into an occupied entry in a BTreeMap. It is part of …","The error returned by try_insert when the key already …","An iterator over a sub-range of entries in a BTreeMap.","A mutable iterator over a sub-range of entries in a …","A vacant entry.","A view into a vacant entry in a BTreeMap. It is part of …","An iterator over the values of a BTreeMap.","A mutable iterator over the values of a BTreeMap.","Provides in-place mutable access to an occupied entry …","Returns a read-only cursor pointing to the current element.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Creates an empty btree_map::Iter.","Creates an empty btree_map::IterMut.","Creates an empty btree_map::IntoIter.","Creates an empty btree_map::Keys.","Creates an empty btree_map::Values.","Creates an empty btree_map::IntoKeys.","Creates an empty btree_map::IntoValues.","Creates an empty btree_map::Range.","","","The entry in the map that was already occupied.","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Gets a reference to the value in the entry.","Gets a mutable reference to the value in the entry.","Sets the value of the entry with the VacantEntry’s key, …","Sets the value of the entry with the OccupiedEntry’s key,","Inserts a new element into the BTreeMap after the current …","Inserts a new element into the BTreeMap after the current …","Inserts a new element into the BTreeMap before the current …","Inserts a new element into the BTreeMap before the current …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","Take ownership of the key.","Converts the entry into a mutable reference to its value.","Returns a reference to this entry’s key.","Gets a reference to the key that would be used when …","Gets a reference to the key in the entry.","Returns a reference to the key of the element that the …","Returns a reference to the key of the element that the …","Returns a mutable reference to the key of the element that …","Returns a reference to the key and value of the element …","Returns a reference to the key and value of the element …","Returns a reference to the key and mutable reference to …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Moves the cursor to the next element of the BTreeMap.","Moves the cursor to the next element of the BTreeMap.","Moves the cursor to the previous element of the BTreeMap.","Moves the cursor to the previous element of the BTreeMap.","","","","","","","","","","","","","","","","","","","","","","Ensures a value is in the entry by inserting the default …","Ensures a value is in the entry by inserting the default …","Ensures a value is in the entry by inserting the result of …","Ensures a value is in the entry by inserting, if empty, …","Returns a reference to the next element.","Returns a reference to the key and value of the next …","Returns a reference to the previous element.","Returns a reference to the key and value of the previous …","Takes the value of the entry out of the map, and returns …","Removes the current element from the BTreeMap.","Removes the current element from the BTreeMap.","Take ownership of the key and value from the map.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns a reference to the value of the element that the …","Returns a reference to the value of the element that the …","The value which was not inserted, because the entry was …","Returns a mutable reference to the value of the element …","An ordered set based on a B-Tree.","A lazy iterator producing elements in the difference of …","An iterator produced by calling extract_if on BTreeSet.","A lazy iterator producing elements in the intersection of …","An owning iterator over the items of a BTreeSet.","An iterator over the items of a BTreeSet.","An iterator over a sub-range of items in a BTreeSet.","A lazy iterator producing elements in the symmetric …","A lazy iterator producing elements in the union of BTreeSet…","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Creates an empty btree_set::Iter.","Creates an empty btree_set::IntoIter.","Creates an empty btree_set::Range.","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The default Hasher used by RandomState.","A draining iterator over the entries of a HashMap.","A view into a single entry in a map, which may either be …","A draining, filtering iterator over the entries of a …","A hash map implemented with quadratic probing and SIMD …","An owning iterator over the entries of a HashMap.","An owning iterator over the keys of a HashMap.","An owning iterator over the values of a HashMap.","An iterator over the entries of a HashMap.","A mutable iterator over the entries of a HashMap.","An iterator over the keys of a HashMap.","An occupied entry.","An occupied entry.","A view into an occupied entry in a HashMap. It is part of …","The error returned by try_insert when the key already …","RandomState is the default state for HashMap types.","A builder for computing where in a HashMap a key-value …","A builder for computing where in a HashMap a key-value …","A view into a single entry in a map, which may either be …","A view into an occupied entry in a HashMap. It is part of …","A view into a vacant entry in a HashMap. It is part of the …","A vacant entry.","A vacant entry.","A view into a vacant entry in a HashMap. It is part of the …","An iterator over the values of a HashMap.","A mutable iterator over the values of a HashMap.","Provides in-place mutable access to an occupied entry …","Provides in-place mutable access to an occupied entry …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Constructs a new RandomState.","Creates a new DefaultHasher using new. See its …","","The entry in the map that was already occupied.","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Creates a RawEntryMut from the given hash.","Access an entry by hash.","Creates a RawEntryMut from the given key.","Access an entry by key.","Creates a RawEntryMut from the given key and its hash.","Access an entry by a key and its hash.","Gets a reference to the value in the entry.","Gets a reference to the value in the entry.","Gets a reference to the key and value in the entry.","Gets a mutable reference to the key and value in the entry.","Gets a mutable reference to the value in the entry.","Gets a mutable reference to the value in the entry.","Sets the value of the entry, and returns the entry’s old …","Sets the value of the entry with the VacantEntry’s key, …","Sets the value of the entry, and returns the entry’s old …","Sets the value of the entry with the VacantEntry’s key, …","Sets the value of the entry, and returns an OccupiedEntry.","Sets the value of the entry with the VacantEntry’s key, …","Sets the value of the entry with the VacantEntry’s key, …","Sets the value of the entry, and returns the entry’s old …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","Converts the entry into a mutable reference to the key in …","Take ownership of the key.","Converts the OccupiedEntry into a mutable reference to the …","Converts the OccupiedEntry into a mutable reference to the …","Converts the OccupiedEntry into a mutable reference to the …","Gets a reference to the key in the entry.","Returns a reference to this entry’s key.","Gets a reference to the key in the entry.","Gets a reference to the key that would be used when …","Gets a mutable reference to the key in the entry.","","","","","","","","","","Constructs a new RandomState that is initialized with …","Creates a new DefaultHasher.","","","","","","","","","","","Ensures a value is in the entry by inserting the default …","Ensures a value is in the entry by inserting the default …","Ensures a value is in the entry by inserting the default …","Ensures a value is in the entry by inserting the result of …","Ensures a value is in the entry by inserting the result of …","Ensures a value is in the entry by inserting, if empty, …","Takes the value out of the entry, and returns it.","Takes the value out of the entry, and returns it.","Take the ownership of the key and value from the map.","Take the ownership of the key and value from the map.","Replaces the entry, returning the old key and value. The …","Replaces the key in the hash map with the key used to …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The value which was not inserted, because the entry was …","","","A lazy iterator producing elements in the difference of …","A draining iterator over the items of a HashSet.","A draining, filtering iterator over the items of a HashSet.","A hash set implemented as a HashMap where the value is ().","A lazy iterator producing elements in the intersection of …","An owning iterator over the items of a HashSet.","An iterator over the items of a HashSet.","A lazy iterator producing elements in the symmetric …","A lazy iterator producing elements in the union of HashSet…","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A cursor over a LinkedList.","A cursor over a LinkedList with editing operations.","An iterator produced by calling extract_if on LinkedList.","An owning iterator over the elements of a LinkedList.","An iterator over the elements of a LinkedList.","A mutable iterator over the elements of a LinkedList.","A doubly-linked list with owned nodes.","Returns a read-only cursor pointing to the current element.","Provides a reference to the back element of the cursor’s …","Provides a reference to the back element of the cursor’s …","Provides a mutable reference to back element of the cursor…","","","","","","","","","","","","","","","","","","","Returns a reference to the element that the cursor is …","Returns a reference to the element that the cursor is …","Creates an empty linked_list::Iter.","","Creates an empty linked_list::IntoIter.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Provides a reference to the front element of the cursor’…","Provides a reference to the front element of the cursor’…","Provides a mutable reference to the front element of the …","Returns the cursor position index within the LinkedList.","Returns the cursor position index within the LinkedList.","Inserts a new element into the LinkedList after the …","Inserts a new element into the LinkedList before the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","Moves the cursor to the next element of the LinkedList.","Moves the cursor to the next element of the LinkedList.","Moves the cursor to the previous element of the LinkedList.","Moves the cursor to the previous element of the LinkedList.","","","","","","","","Returns a reference to the next element.","Returns a reference to the next element.","Returns a reference to the previous element.","Returns a reference to the previous element.","Removes the last element from the cursor’s parent list …","Removes the first element from the cursor’s parent list …","Appends an element to the back of the cursor’s parent …","Appends an element to the front of the cursor’s parent …","Removes the current element from the LinkedList.","Removes the current element from the LinkedList without …","","","","","Inserts the elements from the given LinkedList after the …","Inserts the elements from the given LinkedList before the …","Splits the list into two after the current element. This …","Splits the list into two before the current element. This …","","","","","","","","","","","","","","","","","","","","","","A draining iterator over the elements of a VecDeque.","An owning iterator over the elements of a VecDeque.","An iterator over the elements of a VecDeque.","A mutable iterator over the elements of a VecDeque.","A double-ended queue implemented with a growable ring …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A draining iterator for String.","A possible error value when converting a String from a …","A possible error value when converting a String from a …","A type alias for Infallible.","A UTF-8–encoded, growable string.","A trait for converting a value to a String.","","","Returns a byte slice of this String’s contents.","Returns a slice of u8s bytes that were attempted to …","","Converts a String into a mutable string slice.","Returns a mutable reference to the contents of this String.","","","","","","","Returns the remaining (sub)string of this iterator as a …","Extracts a string slice containing the entire String.","","","","","","","","","","","Returns this String’s capacity, in bytes.","Truncates this String, removing all contents.","","","","","","","Creates an empty String.","","","","","Removes the specified range from the string in bulk, …","","","","","","","","","","","","","Copies elements from src range to the end of the string.","","","","","","","","","","","","","","","Returns the argument unchanged.","Converts a &str into a String.","Converts a &String into a String.","Returns the argument unchanged.","Allocates an owned String from a single character.","Converts a &mut str into a String.","Converts the given boxed str slice to a String. It is …","Converts a clone-on-write string to an owned instance of …","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","Creates a new String from a length, capacity, and pointer.","","Decode a UTF-16–encoded vector v into a String, …","Decode a UTF-16–encoded slice v into a String, replacing …","Decode a UTF-16BE–encoded vector v into a String, …","Decode a UTF-16BE–encoded slice v into a String, …","Decode a UTF-16LE–encoded vector v into a String, …","Decode a UTF-16LE–encoded slice v into a String, …","Converts a vector of bytes to a String.","Converts a slice of bytes to a string, including invalid …","Converts a vector of bytes to a String without checking …","","","","","","","","","","","","","","Inserts a character into this String at a byte position.","Inserts a string slice into this String at a byte position.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this String into a Box<str>.","Converts a String into a byte vector.","Returns the bytes that were attempted to convert to a …","","Decomposes a String into its raw components.","","","Returns true if this String has a length of zero, and false…","","","","Consumes and leaks the String, returning a mutable …","Returns the length of this String, in bytes, not chars or …","","","","Creates a new empty String.","","","","Removes the last character from the string buffer and …","Appends the given char to the end of this String.","Appends a given string slice onto the end of this String.","Removes a char from this String at a byte position and …","Remove all matches of pattern pat in the String.","Removes the specified range in the string, and replaces it …","Reserves capacity for at least additional bytes more than …","Reserves the minimum capacity for at least additional …","Retains only the characters specified by the predicate.","Shrinks the capacity of this String with a lower bound.","Shrinks the capacity of this String to match its length.","","Splits the string into two at the given byte index.","","","","","","Converts the given value to a String.","","","","Shortens this String to the specified length.","","","","","","","","","Tries to reserve capacity for at least additional bytes …","Tries to reserve the minimum capacity for at least …","","","","","Fetch a Utf8Error to get more details about the conversion …","Creates a new empty String with at least the specified …","","","A draining iterator for Vec<T>.","An iterator which uses a closure to determine if an …","An iterator that moves out of a vector.","A splicing iterator for Vec.","A contiguous growable array type, written as Vec<T>, short …","","","Returns a reference to the underlying allocator.","Returns a reference to the underlying allocator.","Returns a reference to the underlying allocator.","Returns a reference to the underlying allocator.","Moves all the elements of other into self, leaving other …","","","Returns an unsafe mutable pointer to the vector’s …","Returns the remaining items of this iterator as a mutable …","Extracts a mutable slice of the entire vector.","Returns a raw pointer to the vector’s buffer, or a …","","","","","Returns the remaining items of this iterator as a slice.","Returns the remaining items of this iterator as a slice.","Extracts a slice containing the entire vector.","","","","","","","","","","","","","Returns the total number of elements the vector can hold …","Clears the vector, removing all values.","","","","","","","","Removes consecutive repeated elements in the vector …","Removes all but the first of consecutive elements in the …","Removes all but the first of consecutive elements in the …","Creates an empty vec::IntoIter.","Creates an empty Vec<T>.","","","Removes the specified range from the vector in bulk, …","","","","","","","","","","","","","","Clones and appends all elements in a slice to the Vec.","Copies elements from src range to the end of the vector.","","","","","Creates an iterator which uses a closure to determine if …","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Converts the given String to a vector Vec that holds …","Converts a CString into a Vec<u8>.","Allocate a Vec<T> and fill it by cloning s’s items.","Returns the argument unchanged.","Converts a BinaryHeap<T> into a Vec<T>.","Convert a boxed slice into a vector by transferring …","Allocate a Vec<u8> and fill it with a UTF-8 string.","Allocate a Vec<T> and fill it by cloning s’s items.","Allocate a Vec<T> and fill it by cloning s’s items.","Turn a VecDeque<T> into a Vec<T>.","Allocate a Vec<T> and fill it by cloning s’s items.","Allocate a Vec<T> and move s’s items into it.","Convert a clone-on-write slice into a vector.","Returns the argument unchanged.","Returns the argument unchanged.","","Creates a Vec<T> directly from a pointer, a capacity, and …","Creates a Vec<T, A> directly from a pointer, a capacity, a …","","","","Inserts an element at position index within the vector, …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts the vector into Box<[T]>.","Takes a Vec<[T; N]> and flattens it into a Vec<T>.","","","","Creates a consuming iterator, that is, one that moves each …","","","","Decomposes a Vec<T> into its raw components.","Decomposes a Vec<T> into its raw components.","","","Returns true if the vector contains no elements.","","Keep unyielded elements in the source Vec.","Consumes and leaks the Vec, returning a mutable reference …","Returns the number of elements in the vector, also …","","","","","","","Constructs a new, empty Vec<T>.","Constructs a new, empty Vec<T, A>.","","","","","","","","","","Removes the last element from a vector and returns it, or …","Appends an element to the back of a collection.","Appends an element if there is sufficient spare capacity, …","Removes and returns the element at position index within …","Reserves capacity for at least additional more elements to …","Reserves the minimum capacity for at least additional more …","Resizes the Vec in-place so that len is equal to new_len.","Resizes the Vec in-place so that len is equal to new_len.","Retains only the elements specified by the predicate.","Retains only the elements specified by the predicate, …","Forces the length of the vector to new_len.","Shrinks the capacity of the vector with a lower bound.","Shrinks the capacity of the vector as much as possible.","","","","","Returns the remaining spare capacity of the vector as a …","Creates a splicing iterator that replaces the specified …","Returns vector content as a slice of T, along with the …","Splits the collection into two at the given index.","Removes an element from the vector and returns it.","","","Shortens the vector, keeping the first len elements and …","","","","","","","","","","","Tries to reserve capacity for at least additional more …","Tries to reserve the minimum capacity for at least …","","","","","","Constructs a new, empty Vec<T> with at least the specified …","Constructs a new, empty Vec<T, A> with at least the …","","",""],"i":[0,0,0,0,0,0,0,0,0,0,2,0,2,4,0,2,2,2,2,2,2,98,2,2,193,2,2,2,4,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,4,2,2,2,2,2,0,0,32,32,32,32,32,32,32,46,32,32,46,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,46,32,46,32,32,32,32,32,32,32,32,46,32,32,32,32,32,46,46,32,32,32,46,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,46,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,46,32,32,32,32,32,32,46,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,46,32,32,32,32,32,46,32,46,32,32,32,46,32,32,32,32,32,32,32,32,32,46,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,97,0,0,0,0,0,0,0,0,97,91,91,0,0,91,91,0,0,0,0,91,91,0,0,86,87,86,88,89,90,87,91,87,91,86,87,90,87,90,87,0,87,87,87,92,89,92,89,92,89,95,86,88,92,89,90,87,96,97,91,95,86,88,92,89,90,87,96,97,91,0,0,95,86,92,87,95,86,88,92,89,90,87,95,86,88,92,89,90,87,96,97,91,95,86,92,89,90,87,95,86,88,92,89,90,87,96,97,91,91,88,89,90,87,87,92,89,90,87,95,88,90,90,90,90,95,86,88,92,89,90,87,92,89,95,86,92,87,86,88,90,87,95,88,95,88,92,89,90,87,87,87,87,87,87,87,96,97,91,95,95,86,86,88,88,92,92,89,89,90,90,87,87,95,95,86,86,88,88,92,92,89,89,90,90,87,87,95,95,86,86,92,92,87,87,95,88,92,89,90,87,89,88,88,87,95,86,88,92,89,90,87,96,96,97,91,95,95,86,86,86,88,88,92,92,89,89,90,90,87,87,87,96,96,97,97,91,95,86,88,92,89,90,87,90,87,90,87,95,88,92,89,87,95,88,95,95,95,88,87,92,92,92,88,89,90,87,91,0,0,95,92,95,88,87,87,95,88,92,89,87,92,89,95,86,88,92,89,90,87,96,97,91,95,95,95,86,86,88,88,88,92,92,89,89,90,90,90,87,87,87,86,95,88,86,95,88,86,92,89,95,86,88,92,89,90,87,92,89,92,89,87,95,86,88,92,89,90,87,95,88,90,87,95,88,96,89,88,88,95,86,88,92,89,90,87,0,88,88,87,91,90,95,86,88,92,89,90,87,86,88,89,90,87,88,89,90,87,87,86,86,86,90,87,88,89,90,87,88,89,86,90,87,90,87,88,89,87,88,87,95,95,87,87,87,87,95,88,92,89,90,87,95,88,92,89,95,86,92,87,86,87,87,87,95,86,88,92,89,87,87,87,87,95,86,92,87,95,86,92,87,88,89,90,87,92,89,87,87,87,92,89,92,89,95,86,88,92,89,90,87,96,97,91,96,87,95,86,88,92,89,90,87,96,97,91,95,88,95,86,88,92,89,90,87,96,97,91,95,86,92,87,86,87,95,86,88,92,89,90,87,96,97,91,92,89,88,88,95,88,95,88,0,95,86,92,87,95,92,86,87,95,92,87,87,87,194,0,0,0,0,0,0,0,125,139,104,108,148,124,125,139,104,108,148,124,125,139,104,108,124,125,139,124,125,139,125,148,148,148,108,148,124,125,139,104,108,148,124,125,139,104,108,148,124,125,139,104,108,124,125,139,104,108,124,125,104,124,124,125,139,104,108,124,125,104,148,124,125,139,104,108,124,125,139,148,124,125,139,104,108,148,124,125,139,104,108,148,124,125,139,104,108,0,0,0,0,0,0,0,0,0,0,0,110,0,0,0,0,110,0,0,0,110,147,110,164,117,157,128,127,126,145,161,163,141,143,149,151,113,146,147,110,164,117,157,128,127,126,145,161,163,141,143,149,151,113,146,147,128,145,161,149,146,128,145,161,149,146,128,127,126,145,161,141,143,149,157,126,157,110,164,117,157,157,128,127,126,145,161,163,141,143,149,151,113,146,147,110,164,117,157,128,127,126,145,161,163,141,143,149,151,113,146,147,117,117,164,117,147,147,147,147,110,164,117,157,128,127,126,145,161,163,141,143,149,151,113,146,147,128,127,126,145,161,163,141,143,149,151,113,164,117,110,164,117,146,147,147,146,147,147,128,127,145,161,163,141,143,149,151,128,127,126,145,161,163,141,143,128,127,145,141,149,151,128,127,145,141,149,151,146,147,146,147,128,127,126,145,161,163,141,143,149,151,113,128,127,126,145,161,163,141,143,149,151,110,110,110,110,146,147,146,147,117,147,147,117,128,127,126,145,161,163,141,143,113,128,145,161,149,146,157,110,164,117,157,128,127,126,145,161,163,141,143,149,151,113,146,147,110,164,117,157,128,127,126,145,161,163,141,143,149,151,113,146,147,110,164,117,157,128,127,126,145,161,163,141,143,149,151,113,146,147,146,147,157,147,0,0,0,0,0,0,0,0,0,132,102,155,120,159,115,131,150,132,102,155,120,159,115,131,150,132,102,155,120,159,150,132,102,155,120,159,150,132,131,150,132,102,155,120,159,115,131,150,132,102,155,120,159,115,131,150,132,102,155,120,159,115,131,150,132,102,155,120,159,115,131,150,132,150,132,131,132,150,132,102,155,120,159,150,132,102,155,120,159,115,131,150,132,131,150,132,102,155,120,159,115,131,132,102,155,120,159,150,132,102,155,120,159,115,131,150,132,102,155,120,159,115,131,150,132,102,155,120,159,115,131,150,0,0,0,0,0,0,0,0,0,0,0,165,109,0,0,0,0,0,0,0,0,165,109,0,0,0,165,109,121,122,123,144,160,103,112,162,140,142,153,165,168,169,152,109,170,171,156,166,167,121,122,123,144,160,103,112,162,140,142,153,165,168,169,152,109,170,171,156,166,167,166,121,144,160,166,167,121,144,160,166,167,166,167,156,156,167,121,122,123,144,160,103,112,162,140,142,153,165,168,169,152,109,170,171,156,156,166,167,121,122,123,144,160,103,112,162,140,142,153,165,168,169,152,109,170,171,156,166,167,153,152,153,152,153,152,168,170,168,168,168,170,168,169,170,171,109,171,169,168,121,122,123,144,160,103,112,162,140,142,153,165,168,169,152,109,170,171,156,166,167,121,122,123,144,160,103,112,162,140,142,168,171,168,168,170,168,109,170,171,168,121,122,123,144,160,103,162,140,142,166,167,121,122,123,144,160,103,112,162,140,142,109,165,109,165,109,109,168,170,168,170,170,170,121,122,123,144,160,103,112,162,140,142,121,144,160,166,167,156,121,122,123,144,160,103,112,162,140,142,153,165,168,169,152,109,170,171,156,166,167,121,122,123,144,160,103,112,162,140,142,153,165,168,169,152,109,170,171,156,166,167,121,122,123,144,160,103,112,162,140,142,153,165,168,169,152,109,170,171,156,166,167,156,167,167,0,0,0,0,0,0,0,0,0,129,130,105,114,119,101,154,158,129,130,105,114,119,101,154,158,129,119,101,154,158,129,119,101,154,158,129,130,105,114,119,101,154,158,129,130,105,114,119,101,154,158,129,130,105,114,119,101,154,158,129,130,105,114,119,101,154,158,129,130,105,129,130,105,114,119,101,154,158,129,130,105,114,119,101,154,158,129,119,101,154,158,129,130,105,114,119,101,154,158,129,130,105,114,119,101,154,158,129,130,105,114,119,101,154,158,0,0,0,0,0,0,0,100,99,100,100,133,135,99,100,116,134,133,135,99,100,116,134,133,99,134,133,99,134,99,100,133,135,134,133,135,99,100,116,134,133,135,99,100,116,134,99,100,100,99,100,100,100,133,135,99,100,116,134,133,135,116,134,133,135,99,100,99,100,133,135,116,134,133,135,134,99,100,99,100,100,100,100,100,100,100,133,135,116,134,100,100,100,100,133,99,134,133,135,99,100,116,134,133,135,99,100,116,134,133,135,99,100,116,134,0,0,0,0,0,136,137,138,136,137,138,106,136,137,138,106,136,137,138,137,138,137,138,138,106,106,136,137,138,136,137,138,106,136,137,138,106,136,137,138,106,136,137,138,136,137,138,136,137,138,136,137,106,136,137,138,106,136,137,138,138,136,137,138,106,136,137,138,137,138,136,137,138,106,136,137,138,106,136,137,138,136,137,138,106,136,137,138,0,0,0,0,0,0,16,16,16,175,16,16,16,176,176,16,16,16,16,176,16,176,16,16,175,177,176,16,16,175,177,16,16,16,175,16,16,175,16,16,16,16,175,177,16,176,16,16,16,16,175,16,16,16,16,16,16,16,16,16,16,16,16,16,16,176,16,16,175,175,177,177,176,16,16,16,16,16,16,16,175,177,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,176,16,175,177,16,16,175,176,16,16,16,16,16,16,176,16,16,16,16,16,16,176,176,16,16,16,16,16,16,16,16,16,16,16,16,176,16,16,16,16,175,16,195,16,175,177,16,176,16,175,177,176,16,175,177,16,16,176,16,175,177,175,16,16,16,0,0,0,0,0,187,187,189,187,11,190,11,11,11,11,187,11,11,189,187,11,11,189,187,11,189,187,11,11,190,191,189,187,11,11,190,191,11,11,187,11,11,187,11,11,187,11,11,11,187,11,11,11,11,189,187,11,190,191,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,189,187,11,190,191,189,187,11,11,11,11,11,11,11,11,11,11,11,11,11,190,191,11,11,11,11,11,11,11,189,187,11,190,191,11,11,189,187,11,11,11,190,191,11,11,189,187,11,11,189,11,11,11,11,11,11,11,11,11,11,189,187,190,191,189,187,191,187,11,11,11,11,11,11,11,11,11,11,11,11,11,11,189,187,190,191,11,11,11,11,11,187,11,11,189,187,11,190,191,189,187,11,190,191,11,11,189,187,11,190,191,11,11,11,11,11],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[2,[1]],[2,[1]]]],[[[2,[1]],1]],[[[2,[1]],[2,[1]]],3],[[[2,[1]],1],3],[[[2,[-1]]],-1,[4,5]],[[[2,[6]]],7],[-1,-2,[],[]],[[[2,[-1]]],-1,[4,5]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[2,[-1]]],[[2,[-1]]],[4,5]],[[[2,[-1]],[2,[-1]]],3,[4,5]],[-1,3,[]],[[-1,-2],3,[],[]],[[[2,[-1]],[2,[-1]]],8,[9,4,5]],[[],[[2,[-1]]],[4,5]],[[[2,[-1]]],-1,[4,5]],[[[2,[[10,[-2]]]],[11,[-1,-3]]],12,[],[[13,[-1]],14],15],[[[2,[1]],16],12],[[[2,[7]],7],12],[[[2,[[10,[-2]]]],[10,[-1]]],12,[],[[13,[-1]],14]],[[[2,[1]],1],12],[[[2,[6]],6],12],[[[2,[7]],6],12],[[[2,[6]],7],12],[[[2,[6]],7],12],[[[2,[-2]],[2,[-1]]],12,[4,5],[[13,[-1]],4,5]],[[[2,[7]],17],12],[[[2,[[10,[-2]]]],[10,[-1]]],12,[],[[13,[-1]],14]],[[[2,[7]],18],12],[[[2,[6]],17],12],[[[2,[6]],6],12],[[[2,[1]],1],12],[[[2,[7]],7],12],[[[2,[6]],18],12],[[[2,[7]],6],12],[[[2,[-1]],19],[[21,[3,20]]],[22,4,5]],[[[2,[-1]],19],[[21,[3,20]]],[23,4,5]],[[[11,[-1]]],[[2,[[10,[-1]]]]],14],[18,[[2,[6]]]],[24,[[2,[25]]]],[16,[[2,[1]]]],[-1,-1,[]],[17,[[2,[7]]]],[[[11,[-1]]],[[2,[[10,[-1]]]]],14],[1,[[2,[1]]]],[16,[[2,[1]]]],[7,[[2,[7]]]],[18,[[2,[6]]]],[6,[[2,[6]]]],[[[10,[-1]]],[[2,[[10,[-1]]]]],14],[24,[[2,[25]]]],[17,[[2,[7]]]],[25,[[2,[25]]]],[-1,[[2,[1]]],26],[-1,[[2,[1]]],26],[-1,[[2,[1]]],26],[-1,[[2,[[10,[-2]]]]],26,14],[[[2,[-1]],-2],3,[27,4,5],28],[-1,-2,[],[]],[[[2,[-1]]],[],[4,5]],[[[2,[-1]]],12,[4,5]],[[[2,[-1]]],12,[4,5]],[[[2,[[10,[-2]]]],[10,[-1]]],12,[],[[13,[-1]],14]],[[[2,[1]],1],12],[[[2,[[10,[-2]]]],[11,[-1,-3]]],12,[],[[13,[-1]],14],15],[[[2,[1]],1],12],[[[2,[1]],16],12],[[[2,[[10,[-2]]]],[10,[-1]]],12,[],[[13,[-1]],14]],[[[2,[6]],17],[[29,[8]]]],[[[2,[6]],7],[[29,[8]]]],[[[2,[-1]],[2,[-1]]],[[29,[8]]],[30,4,5]],[[[2,[7]],6],[[29,[8]]]],[[[2,[6]],7],[[29,[8]]]],[[[2,[7]],18],[[29,[8]]]],[[[2,[7]],17],[[29,[8]]]],[[[2,[7]],6],[[29,[8]]]],[[[2,[6]],6],[[29,[8]]]],[[[2,[7]],7],[[29,[8]]]],[[[2,[6]],18],[[29,[8]]]],[[[2,[7]],7],[[29,[8]]]],[[[2,[6]],6],[[29,[8]]]],[[[2,[-1]]],[],[4,5]],[-1,[],[]],[-1,-2,[],[]],[-1,16,[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,31,[]],0,0,[[[32,[-1,-2]]],-2,5,15],[[[32,[-1]]],33,34],[[[32,[-1,-2]]],-1,5,15],[[[32,[-1]]],35,36],[[[32,[-1,-2]]],-1,5,15],[[[32,[[10,[[37,[-1]]]],-2]]],[[32,[[10,[-1]],-2]]],[],15],[[[32,[[37,[-1]],-2]]],[[32,[-1,-2]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[[[32,[-1,-2]]],-1,5,15],[-1,-2,[],[]],[-1,-2,[],[]],[[[32,[-1,-2]]],-1,5,15],[[[32,[-2,-3]],-1],[],38,[[39,[-1]],5],15],[[[32,[-2,-3]],-1],[],38,[[40,[-1]],5],15],[[[32,[-2,-3]],-1],[],38,[[41,[-1]],5],15],[[[32,[-1]]],[[29,[42]]],42],[[[32,[[10,[-1]],-2]]],[[32,[[10,[-1]],-2]]],14,[15,14]],[[[32,[6]]],[[32,[6]]]],[[[32,[7]]],[[32,[7]]]],[[[32,[-1,-2]]],[[32,[-1,-2]]],14,[15,14]],[[[32,[25]]],[[32,[25]]]],[[[32,[1]]],[[32,[1]]]],[[[32,[[10,[-1]],-2]],[32,[[10,[-1]],-2]]],3,14,[15,14]],[[[32,[-1,-2]],[32,[-1,-2]]],3,14,[15,14]],[[-1,-2],3,[],[]],[[[32,[-1,-2]],[32,[-1,-2]]],8,[9,5],15],[[[32,[-1]],43],3,[44,5]],[[],[[32,[-1]]],45],[[],[[32,[[10,[-1]]]]],[]],[[],[[32,[1]]]],[[],[[32,[25]]]],[[],[[32,[6]]]],[[[46,[-1]]],-1,5],[[[32,[-1,-2]]],-1,5,15],[[[46,[-1]]],-1,5],[[[32,[-1,-2]]],-1,5,15],[[[32,[-1]]],1,42],[[[32,[47,-1]]],[[21,[[32,[-2,-1]],[32,[47,-1]]]]],15,47],[[[32,[47,-1]]],[[21,[[32,[-2,-1]],[32,[47,-1]]]]],15,47],[[[32,[47,-1]]],[[21,[[32,[-2,-1]],[32,[47,-1]]]]],15,47],[[[32,[47,-1]]],[[32,[-2,-1]]],15,47],[[[32,[47,-1]]],[[32,[-2,-1]]],15,47],[[[32,[47,-1]]],[[32,[-2,-1]]],15,47],[[[46,[-1]]],3,5],[[[32,[-1,-2]]],3,5,15],[[[32,[-1,-2]],[32,[-1,-2]]],12,[13,5],15],[[[32,[-1]]],[[21,[[10,[48]],49]]],[44,5]],[[[32,[-1,-2]]],50,[28,5],15],[[[32,[-1]]],[[21,[3,49]]],[51,5]],[[[46,[-1]],19],[[21,[3,20]]],[22,5]],[[[46,[-1]],19],[[21,[3,20]]],[23,5]],[[[32,[-1,-2]],19],[[21,[3,20]]],[22,5],15],[[[32,[-1,-2]],19],[[21,[3,20]]],[23,5],15],[[[32,[-1,-2]],19],[[21,[3,20]]],5,15],[-1,-1,[]],[52,-1,[]],[[[2,[6]]],[[32,[6]]]],[[[2,[1]]],[[32,[42]]]],[[[53,[-1]]],[[32,[[10,[-1]]]]],[]],[17,[[32,[7]]]],[6,[[32,[6]]]],[-1,[[32,[-1]]],[]],[16,[[32,[42]]]],[-1,-1,[]],[[[32,[1,-1]]],[[32,[[10,[48]],-1]]],15],[[[2,[7]]],[[32,[7]]]],[[[2,[25]]],[[32,[25]]]],[1,[[32,[1]]]],[24,[[32,[25]]]],[7,[[32,[7]]]],[1,[[32,[42]]]],[[[2,[[10,[-1]]]]],[[32,[[10,[-1]]]]],14],[16,[[32,[1]]]],[-1,[[32,[42]]],[42,54,55]],[[[10,[-1]]],[[32,[[10,[-1]]]]],14],[16,[[32,[42]]]],[[[11,[-1,-2]]],[[32,[[10,[-1]],-2]]],[],15],[1,[[32,[42]]]],[25,[[32,[25]]]],[18,[[32,[6]]]],[[[2,[1]]],[[32,[1]]]],[-1,[[32,[42]]],42],[[[2,[1]]],[[32,[42]]]],[-1,[[32,[[10,[-2]]]]],26,[]],[[],[[32,[-1]]],5],[-1,[[32,[-2,-1]]],15,5],[[[32,[-1,-2]],[32,[-1,-2]]],12,[30,5],15],[[[32,[-1,-2]],[32,[-1,-2]]],12,[30,5],15],[[[32,[-1,-2]],-3],3,[27,5],15,28],[-1,-2,[],[]],[-1,-2,[],[]],[[[32,[-1,-2]]],[[32,[[10,[-1]],-2]]],[],15],[-1,[],[]],[[[32,[-1,-2]]],-1,[],15],[-1,-2,[],[]],[[[32,[-1,-2]]],[[56,[[32,[-1,-2]]]]],5,15],[[[32,[-1,-2]]],[],5,15],[[[32,[-1,-2]]],[[3,[-2]]],5,15],[[-1,1],[[57,[-2]]],[],[]],[[-1,1],12,[]],[[[32,[-1,-2]]],12,[58,5],15],[[-1,1],12,[]],[[[32,[-1]]],12,[59,5]],[[-1,1],12,[]],[[[32,[-1]]],12,[51,5]],[[[32,[-1,-2]]],29,[60,5],15],[[[32,[-1,-2]],[32,[-1,-2]]],12,[30,5],15],[[[32,[-1,-2]]],-1,5,15],[[[32,[-1,-2]]],43,[58,5],15],[[[32,[-1,-2]],[32,[-1,-2]]],12,[30,5],15],[[[32,[-1,-2]],[32,[-1,-2]]],12,[13,5],15],[-1,[[46,[-1]]],[]],[-1,[[32,[-1]]],[]],[[-1,-2],[[32,[-1,-2]]],[],[15,15]],[[],[[32,[[37,[-1]]]]],[]],[-1,[[32,[[37,[-2]],-1]]],[15,15],[]],[43,[[32,[[10,[[37,[-1]]]]]]],[]],[[43,-1],[[32,[[10,[[37,[-2]]]],-1]]],15,[]],[-2,[[46,[-1]]],5,[[61,[-1]]]],[[],[[32,[[37,[-1]]]]],[]],[-1,[[32,[[37,[-2]],-1]]],[15,15],[]],[43,[[32,[[10,[[37,[-1]]]]]]],[]],[[43,-1],[[32,[[10,[[37,[-2]]]],-1]]],15,[]],[[[32,[-1,-2]]],29,[60,5],15],[[[32,[-1,-2]]],29,[62,5],15],[[[32,[-1,-2]],43],29,[60,5],15],[[[32,[-1,-2]],43],29,[62,5],15],[[[32,[-1,-2]],[32,[-1,-2]]],[[29,[8]]],[30,5],15],[-1,[[56,[[32,[-1]]]]],[]],[[-1,-2],[[56,[[32,[-1,-2]]]]],[],[15,15]],[[[56,[[32,[-1,-2]]]],63],64,[65,66,5],15],[[[56,[[32,[-1]]]],63],[[64,[29]]],[67,66,5]],[[[32,[-1]],68],3,42],[[[32,[-1]],[10,[48]]],[[21,[43,49]]],[59,5]],[[[32,[-1]],69],[[21,[3,49]]],[59,5]],[[[32,[-1]],[10,[48]]],[[21,[3,49]]],[59,5]],[[[32,[-1]],16],[[21,[43,49]]],[44,5]],[[[32,[-1]],[11,[48]]],[[21,[43,49]]],[59,5]],[[[32,[-1]],16],[[21,[43,49]]],[59,5]],[[[32,[-1]],48,[11,[48]]],[[21,[43,49]]],[44,5]],[[[32,[-1]],[10,[70]]],[[21,[43,49]]],[59,5]],[[[56,[[32,[-2,-3]]]],-1],71,[],[[72,[-1]],66,5],15],[[[32,[-1]],73],[[21,[50,49]]],[74,5]],[[[32,[-1,-2]]],[[3,[43,[29,[43]]]]],[60,5],15],[[[32,[-1]]],[[3,[43,[29,[43]]]]],[67,66,5]],[[[46,[-1]]],[[29,[42]]],[42,5]],[[[32,[-1]]],[[29,[42]]],42],[[[32,[-1]]],[[21,[50,49]]],[74,5]],[[-1,1],[[29,[1]]],[]],[[-1,1],[[29,[1]]],[]],[-1,-2,[],[]],[-1,16,[]],[-1,16,[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[[[32,[[10,[-1]]]]],[[21,[[32,[[53,[-1]]]]]]],[]],[[[11,[-1]]],[[21,[[32,[[53,[-1]]]]]]],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[[32,[-1]],75]]],[]],[[-1,-2],[[21,[[32,[-1,-2]],75]]],[],[15,15]],[[],[[21,[[32,[[37,[-1]]]],75]]],[]],[-1,[[21,[[32,[[37,[-2]],-1]],75]]],[15,15],[]],[43,[[21,[[32,[[10,[[37,[-1]]]]]],75]]],[]],[[],[[21,[[32,[[37,[-1]]]],75]]],[]],[-1,[[21,[[32,[[37,[-2]],-1]],75]]],[15,15],[]],[43,[[21,[[32,[[10,[[37,[-1]]]]]],75]]],[]],[-1,31,[]],[-1,31,[]],[[[32,[[37,[-1]],-2]],-1],[[32,[-1,-2]]],[],15],[[[32,[-1]],[10,[48]]],[[21,[43,49]]],[51,5]],[[[32,[-1,-2]],[10,[48]]],3,[28,5],15],[[[32,[-1]],[10,[48]]],[[21,[3,49]]],[51,5]],[[[32,[-1]],76],[[21,[3,49]]],[51,5]],[[[32,[-1,-2]],77],3,[28,5],15],[[[32,[-1,-2]],78],3,[28,5],15],[[[32,[-1,-2]],35],3,[28,5],15],[[[32,[-1,-2]],79],3,[28,5],15],[[[32,[-1,-2]],80],3,[28,5],15],[[[32,[-1,-2]],81],3,[28,5],15],[[[32,[-1,-2]],43],3,[28,5],15],[[[32,[-1,-2]],1],3,[28,5],15],[[[32,[-1,-2]],82],3,[28,5],15],[[[32,[-1,-2]],83],3,[28,5],15],[[[32,[-1,-2]],84],3,[28,5],15],[[[32,[-1,-2]],50],3,[28,5],15],[[[32,[-1,-2]],48],3,[28,5],15],[[[32,[-1,-2]],43],3,[28,5],15],[[[32,[-1]],[10,[85]]],[[21,[43,49]]],[51,5]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[86,[-1,-2]]],-2,[],15],[[[87,[-1,-2]]],-2,[],15],[[[86,[-1,-2]],[86,[-1,-2]]],3,9,15],[[[88,[-1,-2,-3]],[88,[-1,-2,-3]]],3,9,[],[14,15,14]],[[[89,[-1,-2]],[89,[-1,-2]]],3,9,[14,15,14]],[[[90,[-1]],[90,[-1]]],3,[]],[[[87,[-1,-2]],[87,[-1,-2]]],3,[],15],[[[91,[-1]]],[[91,[-1]]],[]],[[[87,[-1,-2]]],[[3,[[10,[-1]],[10,[-1]]]]],[],15],[[[91,[-1]]],[[91,[-1]]],[]],[[[86,[-1,-2]]],[[10,[-1]]],[],15],[[[87,[-1,-2]]],[[3,[[10,[-1]],[10,[-1]]]]],[],15],[[[90,[-1,-2]]],[[29,[-1]]],[],15],[[[87,[-1,-2]]],[[29,[-1]]],[],15],[[[90,[-1,-2]]],[[29,[-1]]],[],15],[[[87,[-1,-2]]],[[29,[-1]]],[],15],0,[[[87,[-1,-2]],-1],[[21,[43,43]]],9,15],[[[87,[-1,-2]],-3],[[21,[43,43]]],[],15,40],[[[87,[-1,-2]],-3,-4],[[21,[43,43]]],[],15,9,40],[[[92,[-1,-2]],[92,[-1,-2]]],[[92,[-1,-2]]],[93,27,14],[94,45]],[[[89,[-1,-2]],[89,[-1,-2]]],[[89,[-1,-2]]],[9,14],[15,14]],[[[92,[-1,-2]],[92,[-1,-2]]],[[92,[-1,-2]]],[93,27,14],[94,45]],[[[89,[-1,-2]],[89,[-1,-2]]],[[89,[-1,-2]]],[9,14],[15,14]],[[[92,[-1,-2]],[92,[-1,-2]]],[[92,[-1,-2]]],[93,27,14],[94,45]],[[[89,[-1,-2]],[89,[-1,-2]]],[[89,[-1,-2]]],[9,14],[15,14]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],0,0,[[[95,[-1,-2,-3]]],43,[],[],[]],[[[86,[-1,-2]]],43,[],15],[[[92,[-1,-2]]],43,[],[]],[[[87,[-1,-2]]],43,[],15],[[[95,[-1,-2,-3]]],3,[],[],[]],[[[86,[-1,-2]]],3,[],15],[[[88,[-1,-2,-3]]],3,[],[],[15,14]],[[[92,[-1,-2]]],3,[],[]],[[[89,[-1,-2]]],3,[],[14,15,14]],[[[90,[-1,-2]]],3,[],15],[[[87,[-1,-2]]],3,[],15],[[[95,[-1,-2,-3]]],[[95,[-1,-2,-3]]],14,14,14],[[[86,[-1,-2]]],[[86,[-1,-2]]],14,[15,14]],[[[88,[-1,-2,-3]]],[[88,[-1,-2,-3]]],14,14,[15,14]],[[[92,[-1,-2]]],[[92,[-1,-2]]],14,14],[[[89,[-1,-2]]],[[89,[-1,-2]]],14,[15,14]],[[[90,[-1,-2]]],[[90,[-1,-2]]],14,[15,14]],[[[87,[-1,-2]]],[[87,[-1,-2]]],14,[15,14]],[96,96],[97,97],[[[91,[-1]]],[[91,[-1]]],14],[[[95,[-1,-2,-3]],[95,[-1,-2,-3]]],3,14,14,14],[[[86,[-1,-2]],[86,[-1,-2]]],3,14,[15,14]],[[[92,[-1,-2]],[92,[-1,-2]]],3,14,14],[[[89,[-1,-2]],[89,[-1,-2]]],3,14,[15,14]],[[[90,[-1,-2]],[90,[-1,-2]]],3,14,[15,14]],[[[87,[-1,-2]],[87,[-1,-2]]],3,14,[15,14]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[[91,[-1]]],[[91,[-1]]],14],[[[88,[-1,-2,-3]],[88,[-1,-2,-3]]],8,9,9,[15,14]],[[[89,[-1,-2]],[89,[-1,-2]]],8,9,[15,14]],[[[90,[-1,-2]],[90,[-1,-2]]],8,9,15],[[[87,[-1,-2]],[87,[-1,-2]]],8,9,15],[[[87,[48,-1]],43],3,15],[[[92,[-2,-3]],-1],12,[27,93,5],[[98,[-1]],93,27],94],[[[89,[-2,-3]],-1],12,[9,5],[[98,[-1]],9],[15,14]],[[[90,[-1,-2]],-1],12,13,15],[[[87,[-1,-2]],-1],12,13,15],[[[95,[-2,-3,-4]],-1],12,[27,93,5],[[98,[-1]],93,27],[],94],[[[88,[-2,-3,-4]],-1],12,[9,5],[[98,[-1]],9],[],[15,14]],[[[90,[-1,-2]]],[[99,[-1,-2]]],[],15],[[[90,[-1,-2]]],[[100,[-1,-2]]],[],15],[[[90,[-1,-2]]],[[99,[-1,-2]]],[],15],[[[90,[-1,-2]]],[[100,[-1,-2]]],[],15],[[],[[95,[-1,-2,-3]]],[],[],45],[[],[[86,[-1]]],9],[[],[[88,[-1,-2]]],[],[]],[[],[[92,[-1,-2]]],[],45],[[],[[89,[-1]]],[]],[[],[[90,[-1]]],[]],[[],[[87,[-1]]],[]],[[[92,[-1,-2]],[92,[-1,-2]]],[[101,[-1,-2]]],[93,27],94],[[[89,[-1,-2]],[89,[-1,-2]]],[[102,[-1,-2]]],9,[15,14]],[[[95,[-1,-2,-3]]],[[103,[-1,-2]]],[],[],[]],[[[86,[-1,-2]]],[[104,[-1,-2]]],[],15],[[[92,[-1,-2]]],[[105,[-1]]],[],[]],[[[87,[-1,-2]],-3],[[106,[-1,-2]]],[],15,[[107,[43]]]],[[[86,[-1,-2]]],[[108,[-1,-2]]],9,15],[[[88,[-1,-2,-3]]],3,[],[],[15,14]],[[[90,[-1,-2]]],3,[],15],[[[87,[-1,-2]]],3,[],15],[[[95,[-1,-2,-3]],-1],[[109,[-1,-2]]],[93,27],[],94],[[[88,[-1,-2,-3]],-1],[[110,[-1,-2,-3]]],9,[],[15,14]],[[[95,[-1,-2,-3]],[95,[-1,-2,-3]]],12,[93,27],13,94],[[[88,[-1,-2,-3]],[88,[-1,-2,-3]]],12,13,13,[15,14]],[[[92,[-1,-2]],[92,[-1,-2]]],12,[93,27],94],[[[89,[-1,-2]],[89,[-1,-2]]],12,13,[15,14]],[[[90,[-1,-2]],[90,[-1,-2]]],12,13,15],[[[87,[-2,-3]],[53,[-1]]],12,[],[[13,[-1]]],15],[[[87,[-2,-3]],[53,[-1]]],12,[],[[13,[-1]]],15],[[[87,[-2,-3]],[10,[-1]]],12,[],[[13,[-1]]],15],[[[87,[-2,-3]],[10,[-1]]],12,[],[[13,[-1]]],15],[[[87,[-2,-3]],[53,[-1]]],12,[],[[13,[-1]]],15],[[[87,[-2,-3]],[11,[-1,-3]]],12,[],[[13,[-1]]],15],[[[87,[-1,-2]],[87,[-1,-2]]],12,13,15],[[96,96],12],[[97,97],12],[[[91,[-1]],[91,[-1]]],12,13],[[[95,[-1,-2,-3]],-4],3,[93,27,111],111,94,26],[[[95,[-1,-2,-3]],-4],3,[93,27],[],94,26],[[[86,[-1,-2]],-3],3,[9,111],15,26],[[[86,[-1,-2]],-3],3,9,15,26],[[[88,[-1,-2,-3]],-4],3,9,[],[15,14],26],[[[88,[-1,-2,-3]],-4],3,[9,111],111,[15,14],26],[[[92,[-1,-2]],-3],3,[93,27,111],94,26],[[[92,[-1,-2]],-3],3,[93,27],94,26],[[[89,[-1,-2]],-3],3,9,[15,14],26],[[[89,[-1,-2]],-3],3,[9,111],[15,14],26],[[[90,[-1,-2]],-3],3,111,15,26],[[[90,[-1,-2]],-3],3,[],15,26],[[[87,[-1,-2]],-3],3,[],15,26],[[[87,[-1,-2]],-3],3,111,15,26],[[[95,[-1,-2,-3]],[3,[-1,-2]]],3,[93,27],[],94],[[[95,[-1,-2,-3]],[3,[-1,-2]]],3,[93,27,111],111,94],[[[86,[-1,-2]],-1],3,9,15],[[[86,[-1,-2]],-1],3,[9,111],15],[[[88,[-1,-2,-3]],[3,[-1,-2]]],3,[9,111],111,[15,14]],[[[88,[-1,-2,-3]],[3,[-1,-2]]],3,9,[],[15,14]],[[[92,[-1,-2]],-1],3,[93,27],94],[[[92,[-1,-2]],-1],3,[93,27,111],94],[[[89,[-1,-2]],-1],3,[9,111],[15,14]],[[[89,[-1,-2]],-1],3,9,[15,14]],[[[90,[-1,-2]],-1],3,111,15],[[[90,[-1,-2]],-1],3,[],15],[[[87,[-1,-2]],-1],3,111,15],[[[87,[-1,-2]],-1],3,[],15],[[[95,[-1,-2,-3]],43],3,[93,27],[],94],[[[95,[-1,-2,-3]],43],3,[93,27,111],111,94],[[[86,[-1,-2]],43],3,[9,111],15],[[[86,[-1,-2]],43],3,9,15],[[[92,[-1,-2]],43],3,[93,27,111],94],[[[92,[-1,-2]],43],3,[93,27],94],[[[87,[-1,-2]],43],3,[],15],[[[87,[-1,-2]],43],3,111,15],[[[95,[-1,-2,-3]],-4],[[112,[-1,-2,-4]]],[],[],[],40],[[[88,[-1,-2,-3]],-4],[[113,[-1,-2,-4,-3]]],9,[],[15,14],40],[[[92,[-1,-2]],-3],[[114,[-1,-3]]],[],[],40],[[[89,[-1,-2]],-3],[[115,[-1,-3,-2]]],9,[15,14],40],[[[90,[-1,-2]],-3],[[116,[-1,-3,-2]]],[],15,40],[[[87,[48,-1]]],[[21,[[10,[48]],49]]],15],[[[89,[-1,-2]]],[[29,[-1]]],9,[15,14]],[[[88,[-1,-2,-3]]],[[29,[[117,[-1,-2,-3]]]]],9,[],[15,14]],[[[88,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],9,[],[15,14]],[[[87,[48,-1]]],[[21,[3,49]]],15],[[[95,[-1,-2,-3]],19],[[21,[3,20]]],23,23,[]],[[[86,[-1,-2]],19],[[21,[3,20]]],23,15],[[[88,[-1,-2,-3]],19],[[21,[3,20]]],23,23,[15,14]],[[[92,[-1,-2]],19],[[21,[3,20]]],23,[]],[[[89,[-1,-2]],19],[[21,[3,20]]],23,[15,14]],[[[90,[-1,-2]],19],[[21,[3,20]]],23,15],[[[87,[-1,-2]],19],[[21,[3,20]]],23,15],[[96,19],[[21,[3,20]]]],[[96,19],[[21,[3,20]]]],[[97,19],[[21,[3,20]]]],[[[91,[-1]],19],[[21,[3,20]]],23],[[[53,[[3,[-1,-2]]]]],[[95,[-1,-2]]],[93,27],[]],[-1,-1,[]],[-1,-1,[]],[[[53,[-1]]],[[86,[-1]]],9],[[[11,[-1,-2]]],[[86,[-1,-2]]],9,15],[-1,-1,[]],[[[53,[[3,[-1,-2]]]]],[[88,[-1,-2]]],9,[]],[-1,-1,[]],[[[53,[-1]]],[[92,[-1]]],[93,27]],[[[53,[-1]]],[[89,[-1]]],9],[-1,-1,[]],[-1,-1,[]],[[[53,[-1]]],[[90,[-1]]],[]],[-1,-1,[]],[[[53,[-1]]],[[87,[-1]]],[]],[[[11,[-1,-2]]],[[87,[-1,-2]]],[],15],[97,96],[-1,-1,[]],[118,97],[-1,-1,[]],[-1,-1,[]],[-1,[[95,[-2,-3,-4]]],26,[93,27],[],[94,45]],[-1,[[86,[-2]]],26,9],[-1,[[88,[-2,-3]]],26,9,[]],[-1,[[92,[-2,-3]]],26,[93,27],[94,45]],[-1,[[89,[-2]]],26,9],[-1,[[90,[-2]]],26,[]],[-1,[[87,[-2]]],26,[]],[[[90,[-1,-2]]],[[29,[-1]]],[],15],[[[87,[-1,-2]]],[[29,[-1]]],[],15],[[[90,[-1,-2]]],[[29,[-1]]],[],15],[[[87,[-1,-2]]],[[29,[-1]]],[],15],[[[95,[-2,-3,-4]],-1],[[29,[-3]]],[27,93,5],[[98,[-1]],93,27],[],94],[[[88,[-2,-3,-4]],-1],[[29,[-3]]],[9,5],[[98,[-1]],9],[],[15,14]],[[[92,[-2,-3]],-1],[[29,[-2]]],[27,93,5],[[98,[-1]],93,27],94],[[[89,[-2,-3]],-1],[[29,[-2]]],[9,5],[[98,[-1]],9],[15,14]],[[[87,[-1,-2]],43],[[29,[-1]]],[],15],[[[95,[-2,-3,-4]],-1],[[29,[[3,[-2,-3]]]]],[27,93,5],[[98,[-1]],93,27],[],94],[[[88,[-2,-3,-4]],-1],[[29,[[3,[-2,-3]]]]],[9,5],[[98,[-1]],9],[],[15,14]],[[[95,[-2,-3,-4]],[53,[-1]]],[[29,[[53,[-3]]]]],[27,93,5],[[98,[-1]],93,27],[],94],[[[95,[-2,-3,-4]],[53,[-1]]],[[29,[[53,[-3]]]]],[27,93,5],[[98,[-1]],93,27],[],94],[[[95,[-2,-3,-4]],-1],[[29,[-3]]],[27,93,5],[[98,[-1]],93,27],[],94],[[[88,[-2,-3,-4]],-1],[[29,[-3]]],[9,5],[[98,[-1]],9],[],[15,14]],[[[87,[-1,-2]],43],[[29,[-1]]],[],15],[[[92,[-1,-2]],-1],-1,[93,27],94],[[[92,[-2,-3]],-1],-2,[27,93,4,5],[[98,[-1]],93,27],94],[[[92,[-2,-3]],-1,-4],-2,[27,93,5],[[98,[-1]],93,27],94,41],[[[88,[-1,-2,-3]],-4],3,27,27,[15,14],28],[[[89,[-1,-2]],-3],3,27,[15,14],28],[[[90,[-1,-2]],-3],3,27,15,28],[[[87,[-1,-2]],-3],3,27,15,28],[[[91,[-1]],-2],3,27,28],0,0,[[[95,[-1,-2,-3]]],-3,[],[],[]],[[[92,[-1,-2]]],-2,[],[]],[[[95,[-2,-3,-4]],-1],-3,[93,27,5],[93,27,[98,[-1]]],[],94],[[[88,[-2,-3,-4]],-1],-3,[9,5],[[98,[-1]],9],[],[15,14]],[[[87,[-1,-2]],43],-1,[],15],[[[87,[-1,-2]],43],-1,[],15],[[[95,[-1,-2,-3]],-1,-2],[[29,[-2]]],[93,27],[],94],[[[88,[-1,-2,-3]],-1,-2],[[29,[-2]]],9,[],[15,14]],[[[92,[-1,-2]],-1],12,[93,27],94],[[[89,[-1,-2]],-1],12,9,[15,14]],[[[87,[-1,-2]],43,-1],3,[],15],[[[92,[-1,-2]],[92,[-1,-2]]],[[119,[-1,-2]]],[93,27],94],[[[89,[-1,-2]],[89,[-1,-2]]],[[120,[-1,-2]]],9,[15,14]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[95,[-1,-2,-3]]],[[121,[-1,-2]]],[],[],[]],[[[95,[-1,-2,-3]]],[[122,[-1,-2]]],[],[],[]],[[[95,[-1,-2,-3]]],[[123,[-1,-2]]],[],[],[]],[[[86,[-1,-2]]],[[124,[-1]]],[],15],[[[86,[-1,-2]]],[[125,[-1,-2]]],[],15],[[[88,[-1,-2,-3]]],[[126,[-1,-2,-3]]],[],[],[15,14]],[[[88,[-1,-2,-3]]],[[127,[-1,-2]]],[],[],[15,14]],[[[88,[-1,-2,-3]]],[[128,[-1,-2]]],[],[],[15,14]],[[[92,[-1,-2]]],[[129,[-1]]],[],[]],[[[92,[-1,-2]]],[[130,[-1]]],[],[]],[[[89,[-1,-2]]],[[131,[-1,-2]]],[],[15,14]],[[[89,[-1,-2]]],[[132,[-1]]],[],[15,14]],[[[90,[-1,-2]]],[[133,[-1]]],[],15],[[[90,[-1,-2]]],[[134,[-1,-2]]],[],15],[[[90,[-1,-2]]],[[135,[-1]]],[],15],[[[87,[-1,-2]]],[[136,[-1]]],[],15],[[[87,[-1,-2]]],[[137,[-1]]],[],15],[[[87,[-1,-2]]],[[138,[-1,-2]]],[],15],[[[86,[-1,-2]]],[[139,[-1,-2]]],[],15],[[[95,[-1,-2,-3]]],[[140,[-1,-2]]],[],[],[]],[[[88,[-1,-2,-3]]],[[141,[-1,-2,-3]]],[],[],[15,14]],[[[86,[-1,-2]]],[[11,[-1,-2]]],9,15],[[[95,[-1,-2,-3]]],[[142,[-1,-2]]],[],[],[]],[[[88,[-1,-2,-3]]],[[143,[-1,-2,-3]]],[],[],[15,14]],[[[86,[-1,-2]]],[[11,[-1,-2]]],[],15],[[[92,[-1,-2]],[92,[-1,-2]]],12,[93,27],94],[[[89,[-1,-2]],[89,[-1,-2]]],12,9,[15,14]],[[[95,[-1,-2,-3]]],12,[],[],[]],[[[86,[-1,-2]]],12,[],15],[[[88,[-1,-2,-3]]],12,[],[],[15,14]],[[[92,[-1,-2]]],12,[],[]],[[[89,[-1,-2]]],12,[],[15,14]],[[[90,[-1,-2]]],12,[],15],[[[87,[-1,-2]]],12,[],15],[[[92,[-1,-2]],[92,[-1,-2]]],12,[93,27],94],[[[89,[-1,-2]],[89,[-1,-2]]],12,9,[15,14]],[[[92,[-1,-2]],[92,[-1,-2]]],12,[93,27],94],[[[89,[-1,-2]],[89,[-1,-2]]],12,9,[15,14]],[[[87,[48,-1]]],12,15],[[[95,[-1,-2,-3]]],[[121,[-1,-2]]],[],[],[]],[[[86,[-1,-2]]],[[124,[-1]]],[],15],[[[88,[-1,-2,-3]]],[[128,[-1,-2]]],[],[],[15,14]],[[[92,[-1,-2]]],[[129,[-1]]],[],[]],[[[89,[-1,-2]]],[[132,[-1]]],[],[15,14]],[[[90,[-1,-2]]],[[133,[-1]]],[],15],[[[87,[-1,-2]]],[[137,[-1]]],[],15],[[[95,[-1,-2,-3]]],[[122,[-1,-2]]],[],[],[]],[[[88,[-1,-2,-3]]],[[127,[-1,-2]]],[],[],[15,14]],[[[90,[-1,-2]]],[[135,[-1]]],[],15],[[[87,[-1,-2]]],[[136,[-1]]],[],15],[[[95,[-1,-2,-3]]],[[144,[-1,-2]]],[],[],[]],[[[88,[-1,-2,-3]]],[[145,[-1,-2]]],[],[],[15,14]],[96,97],[[[89,[-1,-2]]],[[29,[-1]]],9,[15,14]],[[[88,[-1,-2,-3]]],[[29,[[117,[-1,-2,-3]]]]],9,[],[15,14]],[[[88,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],9,[],[15,14]],[[[95,[-1,-2,-3]]],43,[],[],[]],[[[86,[-1,-2]]],43,[],15],[[[88,[-1,-2,-3]]],43,[],[],[15,14]],[[[92,[-1,-2]]],43,[],[]],[[[89,[-1,-2]]],43,[],[15,14]],[[[90,[-1,-2]]],43,[],15],[[[87,[-1,-2]]],43,[],15],0,[[[88,[-2,-3,-4]],[91,[-1]]],[[146,[-2,-3]]],9,[[98,[-1]],9],[],[15,14]],[[[88,[-2,-3,-4]],[91,[-1]]],[[147,[-2,-3,-4]]],9,[[98,[-1]],9],[],[15,14]],[[[87,[-1,-2]]],[[10,[-1]]],[],15],[[[91,[-1]],-2],[[91,[-3]]],[],41,[]],[[[90,[-1,-2]],[90,[-1,-2]]],12,13,15],[[],[[95,[-1,-2]]],[],[]],[[],[[86,[-1]]],9],[[],[[88,[-1,-2]]],[],[]],[[],[[92,[-1]]],[]],[[],[[89,[-1]]],[]],[[],[[90,[-1]]],[]],[[],[[87,[-1]]],[]],[-1,[[86,[-2,-1]]],15,9],[-1,[[88,[-2,-3,-1]]],[15,14],[],[]],[-1,[[89,[-2,-1]]],[15,14],[]],[-1,[[90,[-2,-1]]],15,[]],[-1,[[87,[-2,-1]]],15,[]],[[[88,[-1,-2,-3]],[88,[-1,-2,-3]]],[[29,[8]]],30,30,[15,14]],[[[89,[-1,-2]],[89,[-1,-2]]],[[29,[8]]],30,[15,14]],[[[90,[-1,-2]],[90,[-1,-2]]],[[29,[8]]],30,15],[[[87,[-1,-2]],[87,[-1,-2]]],[[29,[8]]],30,15],[[[87,[-1,-2]],-3],43,[],15,40],[[[86,[-1,-2]]],[[29,[-1]]],[],15],[[[86,[-1,-2]]],[[29,[[148,[-1,-2]]]]],9,15],[[[86,[-1,-2]]],[[29,[-1]]],9,15],[[[90,[-1,-2]]],[[29,[-1]]],[],15],[[[87,[-1,-2]]],[[29,[-1]]],[],15],[[[88,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],9,[],[15,14]],[[[89,[-1,-2]]],[[29,[-1]]],9,[15,14]],[[[90,[-1,-2]]],[[29,[-1]]],[],15],[[[87,[-1,-2]]],[[29,[-1]]],[],15],[[[88,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],9,[],[15,14]],[[[89,[-1,-2]]],[[29,[-1]]],9,[15,14]],[[[86,[-1,-2]],-1],3,9,15],[[[90,[-1,-2]],-1],3,[],15],[[[87,[-1,-2]],-1],3,[],15],[[[90,[-1,-2]],-1],3,[],15],[[[87,[-1,-2]],-1],3,[],15],[[[88,[-2,-3,-4]],-5],[[149,[-2,-3]]],[9,5],[[98,[-1]],9],[],[15,14],[[107,[-1]]]],[[[89,[-2,-3]],-4],[[150,[-2]]],[9,5],[[98,[-1]],9],[15,14],[[107,[-1]]]],[[[87,[-1,-2]],-3],[[137,[-1]]],[],15,[[107,[43]]]],[[[88,[-2,-3,-4]],-5],[[151,[-2,-3]]],[9,5],[[98,[-1]],9],[],[15,14],[[107,[-1]]]],[[[87,[-1,-2]],-3],[[136,[-1]]],[],15,[[107,[43]]]],[[[95,[-1,-2,-3]]],[[152,[-1,-2,-3]]],[],[],94],[[[95,[-1,-2,-3]]],[[153,[-1,-2,-3]]],[],[],94],[[[87,[48,-1]],[10,[48]]],[[21,[43,49]]],15],[[[87,[48,-1]],69],[[21,[3,49]]],15],[[[87,[48,-1]],[11,[48]]],[[21,[43,49]]],15],[[[87,[48,-1]],16],[[21,[43,49]]],15],[[[95,[-2,-3,-4]],-1],[[29,[-3]]],[27,93,5],[[98,[-1]],93,27],[],94],[[[88,[-2,-3,-4]],-1],[[29,[-3]]],[9,5],[[98,[-1]],9],[],[15,14]],[[[92,[-2,-3]],-1],12,[27,93,5],[[98,[-1]],93,27],94],[[[89,[-2,-3]],-1],12,[9,5],[[98,[-1]],9],[15,14]],[[[90,[-1,-2]],43],-1,[],15],[[[87,[-1,-2]],43],[[29,[-1]]],[],15],[[[95,[-2,-3,-4]],-1],[[29,[[3,[-2,-3]]]]],[27,93,5],[[98,[-1]],93,27],[],94],[[[88,[-2,-3,-4]],-1],[[29,[[3,[-2,-3]]]]],[9,5],[[98,[-1]],9],[],[15,14]],[[[92,[-1,-2]],-1],[[29,[-1]]],[93,27],94],[[[89,[-1,-2]],-1],[[29,[-1]]],9,[15,14]],[[[95,[-1,-2,-3]],43],3,[93,27],[],94],[[[86,[-1,-2]],43],3,[],15],[[[92,[-1,-2]],43],3,[93,27],94],[[[87,[-1,-2]],43],3,[],15],[[[86,[-1,-2]],43],3,[],15],[[[87,[-1,-2]],43],3,[],15],[[[87,[-1,-2]],43,-1],3,14,15],[[[87,[-1,-2]],43,-3],3,[],15,40],[[[95,[-1,-2,-3]],-4],3,[],[],[],40],[[[86,[-1,-2]],-3],3,9,15,40],[[[88,[-1,-2,-3]],-4],3,9,[],[15,14],40],[[[92,[-1,-2]],-3],3,[],[],40],[[[89,[-1,-2]],-3],3,9,[15,14],40],[[[87,[-1,-2]],-3],3,[],15,40],[[[87,[-1,-2]],-3],3,[],15,40],[[[87,[-1,-2]],43],3,[],15],[[[87,[-1,-2]],43],3,[],15],[[[95,[-1,-2,-3]],43],3,[93,27],[],94],[[[86,[-1,-2]],43],3,[],15],[[[92,[-1,-2]],43],3,[93,27],94],[[[87,[-1,-2]],43],3,[],15],[[[95,[-1,-2,-3]]],3,[93,27],[],94],[[[86,[-1,-2]]],3,[],15],[[[92,[-1,-2]]],3,[93,27],94],[[[87,[-1,-2]]],3,[],15],[[[88,[-2,-3,-4]],-1],[[88,[-2,-3,-4]]],[9,5],[[98,[-1]],9],[],[14,15,14]],[[[89,[-2,-3]],-1],[[89,[-2,-3]]],[9,5],[[98,[-1]],9],[14,15,14]],[[[90,[-1,-2]],43],[[90,[-1,-2]]],[],[14,15]],[[[87,[-1,-2]],43],[[87,[-1,-2]]],[],[14,15]],[[[92,[-1,-2]],[92,[-1,-2]]],[[92,[-1,-2]]],[93,27,14],[94,45]],[[[89,[-1,-2]],[89,[-1,-2]]],[[89,[-1,-2]]],[9,14],[15,14]],[[[87,[-1,-2]],43,43],3,[],15],[[[87,[-1,-2]],43],[[29,[-1]]],[],15],[[[87,[-1,-2]],43],[[29,[-1]]],[],15],[[[92,[-1,-2]],[92,[-1,-2]]],[[154,[-1,-2]]],[93,27],94],[[[89,[-1,-2]],[89,[-1,-2]]],[[155,[-1]]],9,[15,14]],[[[92,[-2,-3]],-1],[[29,[-2]]],[27,93,5],[[98,[-1]],93,27],94],[[[89,[-2,-3]],-1],[[29,[-2]]],[9,5],[[98,[-1]],9],[15,14]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,16,[]],[[[87,[-1,-2]],43],3,[],15],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[[[95,[-1,-2,-3]],-1,-2],[[21,[-2,[156,[-1,-2]]]]],[93,27],[],94],[[[88,[-1,-2,-3]],-1,-2],[[21,[-2,[157,[-1,-2,-3]]]]],9,[],[15,14]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[[[95,[-1,-2,-3]],43],[[21,[3,96]]],[93,27],[],94],[[[86,[-1,-2]],43],[[21,[3,96]]],[],15],[[[92,[-1,-2]],43],[[21,[3,96]]],[93,27],94],[[[87,[-1,-2]],43],[[21,[3,96]]],[],15],[[[86,[-1,-2]],43],[[21,[3,96]]],[],15],[[[87,[-1,-2]],43],[[21,[3,96]]],[],15],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[[[92,[-1,-2]],[92,[-1,-2]]],[[158,[-1,-2]]],[93,27],94],[[[89,[-1,-2]],[89,[-1,-2]]],[[159,[-1]]],9,[15,14]],[[[88,[-2,-3,-4]],[91,[-1]]],[[146,[-2,-3]]],9,[[98,[-1]],9],[],[15,14]],[[[88,[-2,-3,-4]],[91,[-1]]],[[147,[-2,-3,-4]]],9,[[98,[-1]],9],[],[15,14]],[[[95,[-1,-2,-3]]],[[160,[-1,-2]]],[],[],[]],[[[88,[-1,-2,-3]]],[[161,[-1,-2]]],[],[],[15,14]],[[[95,[-1,-2,-3]]],[[162,[-1,-2]]],[],[],[]],[[[88,[-1,-2,-3]]],[[163,[-1,-2]]],[],[],[15,14]],0,[43,[[95,[-1,-2]]],[],[]],[43,[[86,[-1]]],9],[43,[[92,[-1]]],[]],[43,[[87,[-1]]],[]],[[43,-1],[[95,[-2,-3,-1]]],[],[],[]],[[43,-1],[[92,[-2,-1]]],[],[]],[[43,-1],[[86,[-2,-1]]],15,9],[[43,-1],[[87,[-2,-1]]],15,[]],[-1,[[95,[-2,-3,-1]]],[],[],[]],[-1,[[92,[-2,-1]]],[],[]],[[[87,[48,-1]],[10,[48]]],[[21,[43,49]]],15],[[[87,[48,-1]],[10,[48]]],[[21,[3,49]]],15],[[[87,[48,-1]],[10,[85]]],[[21,[43,49]]],15],0,0,0,0,0,0,0,0,[[[125,[-1,-2]]],-2,[],15],[[[139,[-1,-2]]],-2,[],15],[[[104,[-1,-2]]],-2,[],15],[[[108,[-1,-2]]],-2,9,15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[124,[-1]]],[[124,[-1]]],[]],[[[125,[-1,-2]]],[[125,[-1,-2]]],14,[14,15]],[[[139,[-1,-2]]],[[139,[-1,-2]]],14,[14,15]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],[[125,[-1]]],[]],[[[148,[-1,-2]]],-1,9,15],[[[148,[-1,-2]]],-1,9,15],[[[148,[-1,-2]]],3,9,15],[[[108,[-1,-2]]],3,9,15],[[[148,[-1,-2]],19],[[21,[3,20]]],[9,23],15],[[[124,[-1]],19],[[21,[3,20]]],23],[[[125,[-1,-2]],19],[[21,[3,20]]],23,15],[[[139,[-1,-2]],19],[[21,[3,20]]],23,[23,15]],[[[104,[-1,-2]],19],[[21,[3,20]]],23,[23,15]],[[[108,[-1,-2]],19],[[21,[3,20]]],[23,9],[23,15]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[124,[-1]]],12,[]],[[[125,[-1,-2]]],12,[],15],[[[104,[-1,-2]]],12,[],15],[[[124,[-1]]],[[29,[-1]]],[]],[[[124,[-1]]],[[29,[-1]]],[]],[[[125,[-1,-2]]],[[29,[-1]]],[],15],[[[139,[-1,-2]]],[[29,[-1]]],9,15],[[[104,[-1,-2]]],[[29,[-1]]],[],15],[[[108,[-1,-2]]],[[29,[-1]]],9,15],[[[124,[-1]]],[[29,[-1]]],[]],[[[125,[-1,-2]]],[[29,[-1]]],[],15],[[[104,[-1,-2]]],[[29,[-1]]],[],15],[[[148,[-1,-2]]],-1,9,15],[[[124,[-1]]],[[3,[43,[29,[43]]]]],[]],[[[125,[-1,-2]]],[[3,[43,[29,[43]]]]],[],15],[[[139,[-1,-2]]],[[3,[43,[29,[43]]]]],9,15],[[[104,[-1,-2]]],[[3,[43,[29,[43]]]]],[],15],[[[108,[-1,-2]]],[[3,[43,[29,[43]]]]],9,15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[110,[-1,-2,-3]],-4],[[110,[-1,-2,-3]]],9,[],[15,14],41],[[[147,[-1,-2,-3]]],[[146,[-1,-2]]],[],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[128,[-1,-2]]],[[128,[-1,-2]]],[],[]],[[[145,[-1,-2]]],[[145,[-1,-2]]],[],[]],[[[161,[-1,-2]]],[[161,[-1,-2]]],[],[]],[[[149,[-1,-2]]],[[149,[-1,-2]]],[],[]],[[[146,[-1,-2]]],[[146,[-1,-2]]],[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],[[128,[-1,-2]]],[],[]],[[],[[127,[-1,-2]]],[],[]],[[],[[126,[-1,-2,-3]]],[],[],[15,45,14]],[[],[[145,[-1,-2]]],[],[]],[[],[[161,[-1,-2]]],[],[]],[[],[[141,[-1,-2,-3]]],[],[],[15,45,14]],[[],[[143,[-1,-2,-3]]],[],[],[15,45,14]],[[],[[149,[-1,-2]]],[],[]],[[[157,[-1,-2]]],1,[23,9],23],[[[126,[-1,-2,-3]]],3,[],[],[15,14]],0,[[[110,[-1,-2,-3]],19],[[21,[3,20]]],[23,9],23,[15,14]],[[[164,[-1,-2,-3]],19],[[21,[3,20]]],[23,9],[],[15,14]],[[[117,[-1,-2,-3]],19],[[21,[3,20]]],[23,9],23,[15,14]],[[[157,[-1,-2,-3]],19],[[21,[3,20]]],[23,9],23,[15,14]],[[[157,[-1,-2,-3]],19],[[21,[3,20]]],[23,9],23,[15,14]],[[[128,[-1,-2]],19],[[21,[3,20]]],23,23],[[[127,[-1,-2]],19],[[21,[3,20]]],23,23],[[[126,[-1,-2,-3]],19],[[21,[3,20]]],23,23,[15,14]],[[[145,[-1,-2]],19],[[21,[3,20]]],23,[]],[[[161,[-1,-2]],19],[[21,[3,20]]],[],23],[[[163,[-1,-2]],19],[[21,[3,20]]],[],23],[[[141,[-1,-2,-3]],19],[[21,[3,20]]],23,[],[15,14]],[[[143,[-1,-2,-3]],19],[[21,[3,20]]],[],23,[15,14]],[[[149,[-1,-2]],19],[[21,[3,20]]],23,23],[[[151,[-1,-2]],19],[[21,[3,20]]],23,23],[[[113,[-1,-2,-3]],19],[[21,[3,20]]],23,23,40],[[[146,[-1,-2]],19],[[21,[3,20]]],23,23],[[[147,[-1,-2,-3]],19],[[21,[3,20]]],23,23,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[117,[-1,-2,-3]]],-2,9,[],[15,14]],[[[117,[-1,-2,-3]]],-2,9,[],[15,14]],[[[164,[-1,-2,-3]],-2],-2,9,[],[15,14]],[[[117,[-1,-2,-3]],-2],-2,9,[],[15,14]],[[[147,[-1,-2,-3]],-1,-2],3,9,[],[15,14]],[[[147,[-1,-2,-3]],-1,-2],3,9,[],[15,14]],[[[147,[-1,-2,-3]],-1,-2],3,9,[],[15,14]],[[[147,[-1,-2,-3]],-1,-2],3,9,[],[15,14]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[164,[-1,-2,-3]]],-1,9,[],[15,14]],[[[117,[-1,-2,-3]]],-2,9,[],[15,14]],[[[110,[-1,-2,-3]]],-1,9,[],[15,14]],[[[164,[-1,-2,-3]]],-1,9,[],[15,14]],[[[117,[-1,-2,-3]]],-1,9,[],[15,14]],[[[146,[-1,-2]]],[[29,[-1]]],[],[]],[[[147,[-1,-2,-3]]],[[29,[-1]]],[],[],[]],[[[147,[-1,-2,-3]]],[[29,[-1]]],[],[],[]],[[[146,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[147,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],[],[],[]],[[[147,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],[],[],[]],[[[128,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[127,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[145,[-1,-2]]],[[29,[-1]]],[],[]],[[[161,[-1,-2]]],[[29,[-2]]],[],[]],[[[163,[-1,-2]]],[[29,[-2]]],[],[]],[[[141,[-1,-2,-3]]],[[29,[-1]]],[],[],[15,14]],[[[143,[-1,-2,-3]]],[[29,[-2]]],[],[],[15,14]],[[[149,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[151,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[128,[-1,-2]]],43,[],[]],[[[127,[-1,-2]]],43,[],[]],[[[126,[-1,-2,-3]]],43,[],[],[15,14]],[[[145,[-1,-2]]],43,[],[]],[[[161,[-1,-2]]],43,[],[]],[[[163,[-1,-2]]],43,[],[]],[[[141,[-1,-2,-3]]],43,[],[],[15,14]],[[[143,[-1,-2,-3]]],43,[],[],[15,14]],[[[128,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[127,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[145,[-1,-2]]],[[29,[-1]]],[],[]],[[[141,[-1,-2,-3]]],[[29,[-1]]],9,[],[15,14]],[[[149,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[151,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[128,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[127,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[145,[-1,-2]]],[[29,[-1]]],[],[]],[[[141,[-1,-2,-3]]],[[29,[-1]]],9,[],[15,14]],[[[149,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[151,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[146,[-1,-2]]],3,[],[]],[[[147,[-1,-2,-3]]],3,[],[],[]],[[[146,[-1,-2]]],3,[],[]],[[[147,[-1,-2,-3]]],3,[],[],[]],[[[128,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[127,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[126,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],[],[],[15,14]],[[[145,[-1,-2]]],[[29,[-1]]],[],[]],[[[161,[-1,-2]]],[[29,[-2]]],[],[]],[[[163,[-1,-2]]],[[29,[-2]]],[],[]],[[[141,[-1,-2,-3]]],[[29,[-1]]],[],[],[15,14]],[[[143,[-1,-2,-3]]],[[29,[-2]]],[],[],[15,14]],[[[149,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[151,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[113,[-1,-2,-3,-4]]],[[29,[[3,[-1,-2]]]]],[],[],40,[15,14]],[[[128,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[127,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[126,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],[],[],[15,14]],[[[145,[-1,-2]]],[[29,[-1]]],[],[]],[[[161,[-1,-2]]],[[29,[-2]]],[],[]],[[[163,[-1,-2]]],[[29,[-2]]],[],[]],[[[141,[-1,-2,-3]]],[[29,[-1]]],[],[],[15,14]],[[[143,[-1,-2,-3]]],[[29,[-2]]],[],[],[15,14]],[[[149,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[151,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[110,[-1,-2,-3]]],-2,9,45,[15,14]],[[[110,[-1,-2,-3]],-2],-2,9,[],[15,14]],[[[110,[-1,-2,-3]],-4],-2,9,[],[15,14],41],[[[110,[-1,-2,-3]],-4],-2,9,[],[15,14],41],[[[146,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[147,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],[],[],[]],[[[146,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[147,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],[],[],[]],[[[117,[-1,-2,-3]]],-2,9,[],[15,14]],[[[147,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],9,[],[15,14]],[[[147,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],9,[],[15,14]],[[[117,[-1,-2,-3]]],[[3,[-1,-2]]],9,[],[15,14]],[[[128,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[127,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[126,[-1,-2,-3]]],[[3,[43,[29,[43]]]]],[],[],[15,14]],[[[145,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[161,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[163,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[141,[-1,-2,-3]]],[[3,[43,[29,[43]]]]],[],[],[15,14]],[[[143,[-1,-2,-3]]],[[3,[43,[29,[43]]]]],[],[],[15,14]],[[[113,[-1,-2,-3,-4]]],[[3,[43,[29,[43]]]]],[],[],40,[15,14]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,16,[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[[[146,[-1,-2]]],[[29,[-2]]],[],[]],[[[147,[-1,-2,-3]]],[[29,[-2]]],[],[],[]],0,[[[147,[-1,-2,-3]]],[[29,[-2]]],[],[],[]],0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[132,[-1]]],[[132,[-1]]],[]],[[[102,[-1,-2]]],[[102,[-1,-2]]],[],[15,14]],[[[155,[-1]]],[[155,[-1]]],[]],[[[120,[-1,-2]]],[[120,[-1,-2]]],[],[15,14]],[[[159,[-1]]],[[159,[-1]]],[]],[[[150,[-1]]],[[150,[-1]]],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],[[132,[-1]]],[]],[[],[[131,[-1,-2]]],[],[15,45,14]],[[],[[150,[-1]]],[]],[[[132,[-1]],19],[[21,[3,20]]],23],[[[102,[-1,-2]],19],[[21,[3,20]]],23,[15,14]],[[[155,[-1]],19],[[21,[3,20]]],23],[[[120,[-1,-2]],19],[[21,[3,20]]],23,[15,14]],[[[159,[-1]],19],[[21,[3,20]]],23],[[[115,[-1,-2,-3]],19],[[21,[3,20]]],23,40,[15,14]],[[[131,[-1,-2]],19],[[21,[3,20]]],23,[23,15,14]],[[[150,[-1]],19],[[21,[3,20]]],23],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[132,[-1]]],[[29,[-1]]],[]],[[[150,[-1]]],[[29,[-1]]],[]],[[[132,[-1]]],43,[]],[[[131,[-1,-2]]],43,[],[15,14]],[[[132,[-1]]],[[29,[-1]]],[]],[[[150,[-1]]],[[29,[-1]]],[]],[[[132,[-1]]],[[29,[-1]]],[]],[[[102,[-1,-2]]],[[29,[-1]]],9,[15,14]],[[[155,[-1]]],[[29,[-1]]],9],[[[120,[-1,-2]]],[[29,[-1]]],9,[15,14]],[[[159,[-1]]],[[29,[-1]]],9],[[[150,[-1]]],[[29,[-1]]],[]],[[[132,[-1]]],[[29,[-1]]],[]],[[[102,[-1,-2]]],[[29,[-1]]],9,[15,14]],[[[155,[-1]]],[[29,[-1]]],9],[[[120,[-1,-2]]],[[29,[-1]]],9,[15,14]],[[[159,[-1]]],[[29,[-1]]],9],[[[115,[-1,-2,-3]]],[[29,[-1]]],[],40,[15,14]],[[[131,[-1,-2]]],[[29,[-1]]],[],[15,14]],[[[150,[-1]]],[[29,[-1]]],[]],[[[132,[-1]]],[[29,[-1]]],[]],[[[131,[-1,-2]]],[[29,[-1]]],[],[15,14]],[[[150,[-1]]],[[29,[-1]]],[]],[[[132,[-1]]],[[3,[43,[29,[43]]]]],[]],[[[102,[-1,-2]]],[[3,[43,[29,[43]]]]],9,[15,14]],[[[155,[-1]]],[[3,[43,[29,[43]]]]],9],[[[120,[-1,-2]]],[[3,[43,[29,[43]]]]],9,[15,14]],[[[159,[-1]]],[[3,[43,[29,[43]]]]],9],[[[115,[-1,-2,-3]]],[[3,[43,[29,[43]]]]],[],40,[15,14]],[[[131,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[15,14]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[165,[-1,-2,-3]],-4],[[165,[-1,-2,-3]]],[],[],[],41],[[[109,[-1,-2]],-3],[[109,[-1,-2]]],[],[],41],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[166,167],[[[121,[-1,-2]]],[[121,[-1,-2]]],[],[]],[[[144,[-1,-2]]],[[144,[-1,-2]]],[],[]],[[[160,[-1,-2]]],[[160,[-1,-2]]],[],[]],[166,166],[167,167],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[],166],[[],167],[[[156,[-1,-2]]],1,23,23],0,[167,50],[[[121,[-1,-2]],19],[[21,[3,20]]],23,23],[[[122,[-1,-2]],19],[[21,[3,20]]],23,23],[[[123,[-1,-2]],19],[[21,[3,20]]],23,23],[[[144,[-1,-2]],19],[[21,[3,20]]],23,[]],[[[160,[-1,-2]],19],[[21,[3,20]]],[],23],[[[103,[-1,-2]],19],[[21,[3,20]]],23,23],[[[112,[-1,-2,-3]],19],[[21,[3,20]]],[],[],40],[[[162,[-1,-2]],19],[[21,[3,20]]],[],23],[[[140,[-1,-2]],19],[[21,[3,20]]],23,[]],[[[142,[-1,-2]],19],[[21,[3,20]]],[],23],[[[153,[-1,-2,-3]],19],[[21,[3,20]]],[],[],[]],[[[165,[-1,-2,-3]],19],[[21,[3,20]]],23,23,[]],[[[168,[-1,-2,-3]],19],[[21,[3,20]]],23,23,[]],[[[169,[-1,-2,-3]],19],[[21,[3,20]]],[],[],[]],[[[152,[-1,-2,-3]],19],[[21,[3,20]]],[],[],[]],[[[109,[-1,-2]],19],[[21,[3,20]]],23,23],[[[170,[-1,-2]],19],[[21,[3,20]]],23,23],[[[171,[-1,-2]],19],[[21,[3,20]]],23,[]],[[[156,[-1,-2]],19],[[21,[3,20]]],23,23],[[[156,[-1,-2]],19],[[21,[3,20]]],23,23],[[166,19],[[21,[3,20]]]],[[167,19],[[21,[3,20]]]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[153,[-1,-2,-3]],50,-4],[[165,[-1,-2,-3]]],[],[],94,40],[[[152,[-1,-2,-3]],50,-4],[[29,[[3,[-1,-2]]]]],[],[],94,40],[[[153,[-2,-3,-4]],-1],[[165,[-2,-3,-4]]],[27,93,5],[[98,[-1]]],[],94],[[[152,[-2,-3,-4]],-1],[[29,[[3,[-2,-3]]]]],[27,93,5],[[98,[-1]]],[],94],[[[153,[-2,-3,-4]],50,-1],[[165,[-2,-3,-4]]],[93,5],[[98,[-1]]],[],94],[[[152,[-2,-3,-4]],50,-1],[[29,[[3,[-2,-3]]]]],[27,93,5],[[98,[-1]]],[],94],[[[168,[-1,-2,-3]]],-2,[],[],[]],[[[170,[-1,-2]]],-2,[],[]],[[[168,[-1,-2,-3]]],[[3,[-1,-2]]],[],[],[]],[[[168,[-1,-2,-3]]],[[3,[-1,-2]]],[],[],[]],[[[168,[-1,-2,-3]]],-2,[],[],[]],[[[170,[-1,-2]]],-2,[],[]],[[[168,[-1,-2,-3]],-2],-2,[],[],[]],[[[169,[-1,-2,-3]],-1,-2],[[3,[-1,-2]]],27,[],94],[[[170,[-1,-2]],-2],-2,[],[]],[[[171,[-1,-2]],-2],-2,[],[]],[[[109,[-1,-2]],-2],[[170,[-1,-2]]],[],[]],[[[171,[-1,-2]],-2],[[170,[-1,-2]]],[],[]],[[[169,[-1,-2,-3]],50,-1,-2],[[3,[-1,-2]]],27,[],94],[[[168,[-1,-2,-3]],-1],-1,[],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[168,[-1,-2,-3]]],-1,[],[],[]],[[[171,[-1,-2]]],-1,[],[]],[[[168,[-1,-2,-3]]],[[3,[-1,-2]]],[],[],[]],[[[168,[-1,-2,-3]]],-2,[],[],[]],[[[170,[-1,-2]]],-2,[],[]],[[[168,[-1,-2,-3]]],-1,[],[],[]],[[[109,[-1,-2]]],-1,[],[]],[[[170,[-1,-2]]],-1,[],[]],[[[171,[-1,-2]]],-1,[],[]],[[[168,[-1,-2,-3]]],-1,[],[],[]],[[[121,[-1,-2]]],43,[],[]],[[[122,[-1,-2]]],43,[],[]],[[[123,[-1,-2]]],43,[],[]],[[[144,[-1,-2]]],43,[],[]],[[[160,[-1,-2]]],43,[],[]],[[[103,[-1,-2]]],43,[],[]],[[[162,[-1,-2]]],43,[],[]],[[[140,[-1,-2]]],43,[],[]],[[[142,[-1,-2]]],43,[],[]],[[],166],[[],167],[[[121,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[122,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[123,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[144,[-1,-2]]],[[29,[-1]]],[],[]],[[[160,[-1,-2]]],[[29,[-2]]],[],[]],[[[103,[-1,-2]]],[[29,[[3,[-1,-2]]]]],[],[]],[[[112,[-1,-2,-3]]],[[29,[[3,[-1,-2]]]]],[],[],40],[[[162,[-1,-2]]],[[29,[-2]]],[],[]],[[[140,[-1,-2]]],[[29,[-1]]],[],[]],[[[142,[-1,-2]]],[[29,[-2]]],[],[]],[[[109,[-1,-2]]],-2,[],45],[[[165,[-1,-2,-3]],-1,-2],[[3,[-1,-2]]],27,[],94],[[[109,[-1,-2]],-2],-2,[],[]],[[[165,[-1,-2,-3]],-4],[[3,[-1,-2]]],27,[],94,41],[[[109,[-1,-2]],-3],-2,[],[],41],[[[109,[-1,-2]],-3],-2,[],[],41],[[[168,[-1,-2,-3]]],-2,[],[],[]],[[[170,[-1,-2]]],-2,[],[]],[[[168,[-1,-2,-3]]],[[3,[-1,-2]]],[],[],[]],[[[170,[-1,-2]]],[[3,[-1,-2]]],[],[]],[[[170,[-1,-2]],-2],[[3,[-1,-2]]],[],[]],[[[170,[-1,-2]]],-1,[],[]],[[[121,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[122,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[123,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[144,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[160,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[103,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[112,[-1,-2,-3]]],[[3,[43,[29,[43]]]]],[],[],40],[[[162,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[140,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[[[142,[-1,-2]]],[[3,[43,[29,[43]]]]],[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,16,[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],0,[[167,[10,[48]]],3],[[167,1],3],0,0,0,0,0,0,0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[129,[-1]]],[[129,[-1]]],[]],[[[119,[-1,-2]]],[[119,[-1,-2]]],[],[]],[[[101,[-1,-2]]],[[101,[-1,-2]]],[],[]],[[[154,[-1,-2]]],[[154,[-1,-2]]],[],[]],[[[158,[-1,-2]]],[[158,[-1,-2]]],[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[[129,[-1]],19],[[21,[3,20]]],23],[[[130,[-1]],19],[[21,[3,20]]],23],[[[105,[-1]],19],[[21,[3,20]]],23],[[[114,[-1,-2]],19],[[21,[3,20]]],[],40],[[[119,[-1,-2]],19],[[21,[3,20]]],[23,93,27],94],[[[101,[-1,-2]],19],[[21,[3,20]]],[23,93,27],94],[[[154,[-1,-2]],19],[[21,[3,20]]],[23,93,27],94],[[[158,[-1,-2]],19],[[21,[3,20]]],[23,93,27],94],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[129,[-1]]],43,[]],[[[130,[-1]]],43,[]],[[[105,[-1]]],43,[]],[[[129,[-1]]],[[29,[-1]]],[]],[[[130,[-1]]],[[29,[-1]]],[]],[[[105,[-1]]],[[29,[-1]]],[]],[[[114,[-1,-2]]],[[29,[-1]]],[],40],[[[119,[-1,-2]]],[[29,[-1]]],[93,27],94],[[[101,[-1,-2]]],[[29,[-1]]],[93,27],94],[[[154,[-1,-2]]],[[29,[-1]]],[93,27],94],[[[158,[-1,-2]]],[[29,[-1]]],[93,27],94],[[[129,[-1]]],[[3,[43,[29,[43]]]]],[]],[[[130,[-1]]],[[3,[43,[29,[43]]]]],[]],[[[105,[-1]]],[[3,[43,[29,[43]]]]],[]],[[[114,[-1,-2]]],[[3,[43,[29,[43]]]]],[],40],[[[119,[-1,-2]]],[[3,[43,[29,[43]]]]],[93,27],94],[[[101,[-1,-2]]],[[3,[43,[29,[43]]]]],[93,27],94],[[[154,[-1,-2]]],[[3,[43,[29,[43]]]]],[93,27],94],[[[158,[-1,-2]]],[[3,[43,[29,[43]]]]],[93,27],94],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],0,0,0,0,0,0,0,[[[100,[-1,-2]]],[[99,[-1,-2]]],[],15],[[[99,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[133,[-1]]],[[133,[-1]]],[]],[[[99,[-1,-2]]],[[99,[-1,-2]]],[],15],[[[134,[-1,-2]]],[[134,[-1,-2]]],14,[14,15]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[[99,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[[],[[133,[-1]]],[]],[[],[[135,[-1]]],[]],[[],[[134,[-1]]],[]],[[[133,[-1]],19],[[21,[3,20]]],23],[[[135,[-1]],19],[[21,[3,20]]],23],[[[99,[-1,-2]],19],[[21,[3,20]]],23,15],[[[100,[-1,-2]],19],[[21,[3,20]]],23,15],[[[116,[-1,-2]],19],[[21,[3,20]]],23,40],[[[134,[-1,-2]],19],[[21,[3,20]]],23,15],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[[[99,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[[[99,[-1,-2]]],[[29,[43]]],[],15],[[[100,[-1,-2]]],[[29,[43]]],[],15],[[[100,[-1,-2]],-1],3,[],15],[[[100,[-1,-2]],-1],3,[],15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[133,[-1]]],[[29,[-1]]],[]],[[[135,[-1]]],[[29,[-1]]],[]],[[[99,[-1,-2]]],3,[],15],[[[100,[-1,-2]]],3,[],15],[[[99,[-1,-2]]],3,[],15],[[[100,[-1,-2]]],3,[],15],[[[133,[-1]]],[[29,[-1]]],[]],[[[135,[-1]]],[[29,[-1]]],[]],[[[116,[-1,-2,-3]]],[[29,[-1]]],[],40,15],[[[134,[-1,-2]]],[[29,[-1]]],[],15],[[[133,[-1]]],[[29,[-1]]],[]],[[[135,[-1]]],[[29,[-1]]],[]],[[[134,[-1,-2]]],[[29,[-1]]],[],15],[[[99,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[[[99,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]],-1],3,[],15],[[[100,[-1,-2]],-1],3,[],15],[[[100,[-1,-2]]],[[29,[-1]]],[],15],[[[100,[-1,-2]]],[[29,[[90,[-1,-2]]]]],[],[14,15]],[[[133,[-1]]],[[3,[43,[29,[43]]]]],[]],[[[135,[-1]]],[[3,[43,[29,[43]]]]],[]],[[[116,[-1,-2,-3]]],[[3,[43,[29,[43]]]]],[],40,15],[[[134,[-1,-2]]],[[3,[43,[29,[43]]]]],[],15],[[[100,[-1]],[90,[-1]]],3,[]],[[[100,[-1]],[90,[-1]]],3,[]],[[[100,[-1,-2]]],[[90,[-1,-2]]],[],[14,15]],[[[100,[-1,-2]]],[[90,[-1,-2]]],[],[14,15]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],0,0,0,0,0,[[[136,[-1]],43],[[21,[3,172]]],[]],[[[137,[-1]],43],[[21,[3,172]]],[]],[[[138,[-1,-2]],43],[[21,[3,172]]],[],15],[[[136,[-1]],43],[[21,[3,172]]],[]],[[[137,[-1]],43],[[21,[3,172]]],[]],[[[138,[-1,-2]],43],[[21,[3,172]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[137,[-1]]],[[137,[-1]]],[]],[[[138,[-1,-2]]],[[138,[-1,-2]]],14,[14,15]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[[138,[-1,-2]]],43,[],15],[[[106,[-1,-2]]],3,[],15],[[[106,[-1,-2]],19],[[21,[3,20]]],23,15],[[[136,[-1]],19],[[21,[3,20]]],23],[[[137,[-1]],19],[[21,[3,20]]],23],[[[138,[-1,-2]],19],[[21,[3,20]]],23,15],[[[136,[-1]],-2,-3],-2,[],[],40],[[[137,[-1]],-2,-3],-2,[],[],40],[[[138,[-1,-2]],-3,-4],-3,[],15,[],40],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[136,[-1]]],12,[]],[[[137,[-1]]],12,[]],[[[138,[-1,-2]]],12,[],15],[[[136,[-1]]],[[29,[-1]]],[]],[[[137,[-1]]],[[29,[-1]]],[]],[[[138,[-1,-2]]],29,[],15],[[[136,[-1]]],43,[]],[[[137,[-1]]],43,[]],[[[106,[-1,-2]]],[[29,[-1]]],[],15],[[[136,[-1]]],[[29,[-1]]],[]],[[[137,[-1]]],[[29,[-1]]],[]],[[[138,[-1,-2]]],[[29,[-1]]],[],15],[[[106,[-1,-2]]],[[29,[-1]]],[],15],[[[136,[-1]]],[[29,[-1]]],[]],[[[137,[-1]]],[[29,[-1]]],[]],[[[138,[-1,-2]]],[[29,[-1]]],[],15],[[[138,[-1,-2]]],[[21,[53,173]]],[],15],[[[136,[-1]],-2,-3],-2,[],[],40],[[[137,[-1]],-2,-3],-2,[],[],40],[[[138,[-1,-2]],-3,-4],-3,[],15,[],40],[[[106,[-1,-2]]],[[3,[43,[29,[43]]]]],[],15],[[[136,[-1]]],[[3,[43,[29,[43]]]]],[]],[[[137,[-1]]],[[3,[43,[29,[43]]]]],[]],[[[138,[-1,-2]]],[[3,[43,[29,[43]]]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[[[136,[-1]],-2,-3],-4,[],[],40,174],[[[137,[-1]],-2,-3],-4,[],[],40,174],[[[138,[-1,-2]],-3,-4],-5,[],15,[],40,174],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[[[136,[-1]],-2,-3],-4,[],[],40,174],[[[137,[-1]],-2,-3],-4,[],[],40,174],[[[138,[-1,-2]],-3,-4],-5,[],15,[],40,174],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],0,0,0,0,0,0,[[16,1],16],[[16,1],3],[16,[[10,[48]]]],[175,[[10,[48]]]],[16,1],[16,1],[16,[[11,[48]]]],[176,[[10,[48]]]],[176,1],[16,1],[16,[[10,[48]]]],[16,6],[16,7],[176,1],[16,1],[-1,-2,[],[]],[-1,-2,[],[]],[16,1],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[16,1],[-1,-2,[],[]],[-1,-2,[],[]],[16,43],[16,3],[16,16],[175,175],[[16,16],3],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[16,16],8],[[],16],[16,1],[16,1],[175,1],[177,1],[[16,-1],176,[[107,[43]]]],[176,3],[[16,1],12],[[16,1],12],[[16,16],12],[[16,[2,[1]]],12],[[175,175],12],[[16,-1],3,26],[[16,-1],3,26],[[16,-1],3,26],[[16,-1],3,26],[[16,-1],3,26],[[16,-1],3,26],[[16,-1],3,[[107,[43]]]],[[16,178],3],[[16,1],3],[[16,[2,[1]]],3],[[16,16],3],[[16,178],3],[[16,43],3],[[16,43],3],[[176,19],[[21,[3,20]]]],[[16,19],[[21,[3,20]]]],[[16,19],[[21,[3,20]]]],[[175,19],[[21,[3,20]]]],[[175,19],[[21,[3,20]]]],[[177,19],[[21,[3,20]]]],[[177,19],[[21,[3,20]]]],[-1,-1,[]],[1,16],[16,16],[-1,-1,[]],[178,16],[1,16],[[[32,[1]]],16],[[[2,[1]]],16],[-1,-1,[]],[-1,-1,[]],[-1,16,26],[-1,16,26],[-1,16,26],[-1,16,26],[-1,16,26],[-1,16,26],[[48,43,43],16],[1,[[21,[16]]]],[[[10,[83]]],[[21,[16,177]]]],[[[10,[83]]],16],[[[10,[48]]],[[21,[16,177]]]],[[[10,[48]]],16],[[[10,[48]]],[[21,[16,177]]]],[[[10,[48]]],16],[[[11,[48]]],[[21,[16,175]]]],[[[10,[48]]],[[2,[1]]]],[[[11,[48]]],16],[[16,-1],3,28],[[16,179],1],[[16,[180,[43]]],1],[[16,[181,[43]]],1],[[16,[182,[43]]],1],[[16,[183,[43]]],1],[[16,[184,[43]]],1],[[16,[182,[43]]],1],[[16,[181,[43]]],1],[[16,[180,[43]]],1],[[16,[183,[43]]],1],[[16,[184,[43]]],1],[[16,179],1],[[16,43,178],3],[[16,43,1],3],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[16,[[32,[1]]]],[16,[[11,[48]]]],[175,[[11,[48]]]],[-1,-2,[],[]],[16,[[3,[48,43,43]]]],[[16,1]],[[16,1],12],[16,12],[[16,1],12],[[16,1],12],[176,[[29,[178]]]],[16,1],[16,43],[[16,[2,[1]]],12],[[16,1],12],[[16,1],12],[[],16],[176,[[29,[178]]]],[176,[[29,[178]]]],[[16,16],[[29,[8]]]],[16,[[29,[178]]]],[[16,178],3],[[16,1],3],[[16,43],178],[[16,-1],3,185],[[16,-1,1],3,[[107,[43]]]],[[16,43],3],[[16,43],3],[[16,-1],3,40],[[16,43],3],[16,3],[176,[[3,[43,[29,[43]]]]]],[[16,43],16],[[16,1],[[29,[1]]]],[[16,1],[[29,[1]]]],[-1,-2,[],[]],[-1,-2,[],[]],[16,[[21,[[187,[186]],49]]]],[-1,16,[]],[-1,16,[]],[-1,16,[]],[-1,16,[]],[[16,43],3],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[[16,43],[[21,[3,96]]]],[[16,43],[[21,[3,96]]]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[175,188],[43,16],[[16,178],[[21,[3,20]]]],[[16,1],[[21,[3,20]]]],0,0,0,0,0,[[[187,[-1,-2]],43],[[21,[3,172]]],[],15],[[[187,[-1,-2]],43],[[21,[3,172]]],[],15],[[[189,[-1,-2]]],-2,[],15],[[[187,[-1,-2]]],-2,[],15],[[[11,[-1,-2]]],-2,[],15],[[[190,[-1,-2,-3]]],-3,[],40,15],[[[11,[-1,-2]],[11,[-1,-2]]],3,[],15],[[[11,[-1,-2]]],[[11,[-1,-2]]],[],15],[[[11,[-1,-2]]],[[10,[-1]]],[],15],[[[11,[-1,-2]]],[],[],15],[[[187,[-1,-2]]],[[10,[-1]]],[],15],[[[11,[-1,-2]]],[[10,[-1]]],[],15],[[[11,[-1,-2]]],[],[],15],[[[189,[-1,-2]]],[[10,[-1]]],[],15],[[[187,[-1,-2]]],[[10,[-1]]],[],15],[[[11,[-1,-2]]],[[11,[-1,-2]]],[],15],[[[11,[-1,-2]]],[[10,[-1]]],[],15],[[[189,[-1,-2]]],[[10,[-1]]],[],15],[[[187,[-1,-2]]],[[10,[-1]]],[],15],[[[11,[-1,-2]]],[[10,[-1]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[[[11,[-1,-2]]],[[10,[-1]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[11,[-1,-2]]],[[10,[-1]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[[[11,[-1,-2]]],43,[],15],[[[11,[-1,-2]]],3,[],15],[[[187,[-1,-2]]],[[187,[-1,-2]]],14,[15,14]],[[[11,[-1,-2]]],[[11,[-1,-2]]],14,[15,14]],[[[11,[-1,-2]],[11,[-1,-2]]],3,14,[15,14]],[[-1,-2],3,[],[]],[[-1,-2],3,[],[]],[[[11,[-1,-2]],[11,[-1,-2]]],8,9,15],[[[187,[-1,-2]]],43,[],15],[[[11,[-1,-2]]],3,13,15],[[[11,[-1,-2]],-3],3,[],15,40],[[[11,[-1,-2]],-3],3,[],15,40],[[],[[187,[-1,-2]]],[],[15,45]],[[],[[11,[-1]]],[]],[[[11,[-1,-2]]],[[10,[-1]]],[],15],[[[11,[-1,-2]]],[[10,[-1]]],[],15],[[[11,[-1,-2]],-3],[[189,[-1,-2]]],[],15,[[107,[43]]]],[[[189,[-1,-2]]],3,[],15],[[[187,[-1,-2]]],3,[],15],[[[11,[-1,-2]]],3,[],15],[[[190,[-1,-2,-3]]],3,[],40,15],[[[191,[-1,-2]]],3,60,15],[[[11,[-2,-3]],[10,[-1]]],12,[],[[13,[-1]]],15],[[[11,[-2,-3]],[10,[-1]]],12,[],[[13,[-1]]],15],[[[11,[-2,-3]],[11,[-1,-4]]],12,[],[[13,[-1]]],15,15],[[[11,[-2,-3]],[53,[-1]]],12,[],[[13,[-1]]],15],[[[11,[-2,-3]],[53,[-1]]],12,[],[[13,[-1]]],15],[[[11,[-2,-3]],[10,[-1]]],12,[],[[13,[-1]]],15],[[[11,[-1,-2]],-3],3,111,15,26],[[[11,[-1,-2]],-3],3,[],15,26],[[[11,[-1,-2]],[10,[-1]]],3,14,15],[[[11,[-1,-2]],-3],3,14,15,[[107,[43]]]],[[[11,[-1,-2]],-1],3,111,15],[[[11,[-1,-2]],-1],3,[],15],[[[11,[-1,-2]],43],3,[],15],[[[11,[-1,-2]],43],3,111,15],[[[11,[-1,-2]],-3],[[190,[-1,-3,-2]]],[],15,40],[[[11,[48,-1]]],[[21,[3,49]]],15],[[[189,[-1,-2]],19],[[21,[3,20]]],23,15],[[[187,[-1,-2]],19],[[21,[3,20]]],23,15],[[[11,[-1,-2]],19],[[21,[3,20]]],23,15],[[[190,[-1,-2,-3]],19],[[21,[3,20]]],23,[23,40],[23,15]],[[[191,[-1,-2]],19],[[21,[3,20]]],[23,60],[23,15]],[-1,-1,[]],[-1,-1,[]],[16,[[11,[48]]]],[24,[[11,[48]]]],[[[10,[-1]]],[[11,[-1]]],14],[-1,-1,[]],[[[86,[-1,-2]]],[[11,[-1,-2]]],[],15],[[[32,[[10,[-1]],-2]]],[[11,[-1,-2]]],[],15],[1,[[11,[48]]]],[[[53,[-1]]],[[11,[-1]]],14],[[[10,[-1]]],[[11,[-1]]],14],[[[87,[-1,-2]]],[[11,[-1,-2]]],[],15],[[[53,[-1]]],[[11,[-1]]],14],[[[53,[-1]]],[[11,[-1]]],[]],[[[2,[[10,[-1]]]]],[[11,[-1]]],[]],[-1,-1,[]],[-1,-1,[]],[-1,[[11,[-2]]],26,[]],[[43,43],[[11,[-1]]],[]],[[43,43,-1],[[11,[-2,-1]]],15,[]],[[[11,[-1,-2]],-3],3,27,15,28],[[[11,[-1,-2]],-3],[],[],15,[[192,[[10,[-1]]]]]],[[[11,[-1,-2]],-3],[],[],15,[[192,[[10,[-1]]]]]],[[[11,[-1,-2]],43,-1],3,[],15],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[11,[-1,-2]]],[[32,[[10,[-1]],-2]]],[],15],[[[11,[[53,[-1]],-2]]],[[11,[-1,-2]]],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[[[11,[-1,-2]]],[],[],15],[[[11,[-1,-2]]],[],[],15],[[[11,[-1,-2]]],[],[],15],[-1,-2,[],[]],[-1,-2,[],[]],[[[11,[-1,-2]]],[[3,[43,43]]],[],15],[[[11,[-1,-2]]],[[3,[43,43,-2]]],[],15],[[[189,[-1,-2]]],12,[],15],[[[187,[-1,-2]]],12,[],15],[[[11,[-1,-2]]],12,[],15],[[[11,[48,-1]]],12,15],[[[189,[-1,-2]]],3,[],15],[[[11,[-1,-2]]],[[10,[-1]]],[],15],[[[11,[-1,-2]]],43,[],15],[[[11,[-2,-3]],[10,[-1]]],12,[],[[13,[-1]]],15],[[[11,[-2,-3]],[11,[-1,-4]]],12,[],[[13,[-1]]],15,15],[[[11,[-2,-3]],[10,[-1]]],12,[],[[13,[-1]]],15],[[[11,[-2,-3]],[53,[-1]]],12,[],[[13,[-1]]],15],[[[11,[-2,-3]],[10,[-1]]],12,[],[[13,[-1]]],15],[[[11,[-2,-3]],[53,[-1]]],12,[],[[13,[-1]]],15],[[],[[11,[-1]]],[]],[-1,[[11,[-2,-1]]],15,[]],[[[189,[-1,-2]]],[[29,[-1]]],[],15],[[[187,[-1,-2]]],[[29,[-1]]],[],15],[[[190,[-1,-2,-3]]],[[29,[-1]]],[],40,15],[[[191,[-1,-2]]],29,60,15],[[[189,[-1,-2]]],[[29,[-1]]],[],15],[[[187,[-1,-2]]],[[29,[-1]]],[],15],[[[191,[-1,-2]]],29,60,15],[[[187,[-1,-2]]],[[21,[[53,[-1]],[173,[-1]]]]],[],15],[[[11,[-1,-2]],[11,[-1,-3]]],[[29,[8]]],30,15,15],[[[11,[-1,-2]]],[[29,[-1]]],[],15],[[[11,[-1,-2]],-1],3,[],15],[[[11,[-1,-2]],-1],[[21,[3,-1]]],[],15],[[[11,[-1,-2]],43],-1,[],15],[[[11,[-1,-2]],43],3,[],15],[[[11,[-1,-2]],43],3,[],15],[[[11,[-1,-2]],43,-1],3,14,15],[[[11,[-1,-2]],43,-3],3,[],15,40],[[[11,[-1,-2]],-3],3,[],15,40],[[[11,[-1,-2]],-3],3,[],15,40],[[[11,[-1,-2]],43],3,[],15],[[[11,[-1,-2]],43],3,[],15],[[[11,[-1,-2]]],3,[],15],[[[189,[-1,-2]]],[[3,[43,[29,[43]]]]],[],15],[[[187,[-1,-2]]],[[3,[43,[29,[43]]]]],[],15],[[[190,[-1,-2,-3]]],[[3,[43,[29,[43]]]]],[],40,15],[[[191,[-1,-2]]],[[3,[43,[29,[43]]]]],60,15],[[[11,[-1,-2]]],[[10,[[37,[-1]]]]],[],15],[[[11,[-1,-2]],-3,-4],[[191,[-2]]],[],15,[[107,[43]]],26],[[[11,[-1,-2]]],[[3,[[10,[-1]],[10,[[37,[-1]]]]]]],[],15],[[[11,[-1,-2]],43],[[11,[-1,-2]]],[],[14,15]],[[[11,[-1,-2]],43],-1,[],15],[-1,-2,[],[]],[-1,-2,[],[]],[[[11,[-1,-2]],43],3,[],15],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[-1,[[21,[-2]]],[],[]],[[[11,[-1,-2]],43],[[21,[3,96]]],[],15],[[[11,[-1,-2]],43],[[21,[3,96]]],[],15],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[43,[[11,[-1]]],[]],[[43,-1],[[11,[-2,-1]]],15,[]],[[[11,[48,-1]],[10,[48]]],[[21,[43,49]]],15],[[[11,[48,-1]],[10,[48]]],[[21,[3,49]]],15],[[[11,[48,-1]],[10,[85]]],[[21,[43,49]]],15]],"c":[],"p":[[15,"str"],[4,"Cow",8],[15,"tuple"],[8,"ToOwned",8],[8,"Sized",2340],[3,"OsStr",2341],[3,"Path",2342],[4,"Ordering",2343],[8,"Ord",2343],[15,"slice"],[3,"Vec",2149],[15,"bool"],[8,"PartialEq",2343],[8,"Clone",2344],[8,"Allocator",2345],[3,"String",1970],[3,"PathBuf",2342],[3,"OsString",2341],[3,"Formatter",2346],[3,"Error",2346],[4,"Result",2347],[8,"Display",2346],[8,"Debug",2346],[3,"CString",2348],[3,"CStr",2349],[8,"IntoIterator",2350],[8,"Hash",2351],[8,"Hasher",2351],[4,"Option",2352],[8,"PartialOrd",2343],[3,"TypeId",2353],[3,"Box",105],[3,"BorrowedFd",2354],[8,"AsFd",2354],[15,"i32"],[8,"AsRawFd",2355],[19,"MaybeUninit",2356],[8,"Tuple",2340],[8,"Fn",2357],[8,"FnMut",2357],[8,"FnOnce",2357],[8,"Error",2358],[15,"usize"],[8,"BufRead",2359],[8,"Default",2360],[3,"ThinBox",105],[8,"Any",2353],[15,"u8"],[3,"Error",2361],[15,"u64"],[8,"Write",2359],[15,"never"],[15,"array"],[8,"Send",2340],[8,"Sync",2340],[3,"Pin",2362],[3,"CharPredicateSearcher",2363],[8,"ExactSizeIterator",2364],[8,"Read",2359],[8,"Iterator",2365],[8,"Unsize",2340],[8,"DoubleEndedIterator",2366],[3,"Context",2367],[4,"Poll",2368],[8,"Future",2369],[8,"Unpin",2340],[8,"AsyncIterator",2370],[3,"Request",2358],[3,"BorrowedCursor",2371],[3,"IoSliceMut",2359],[4,"CoroutineState",2372],[8,"Coroutine",2372],[4,"SeekFrom",2359],[8,"Seek",2359],[3,"AllocError",2345],[3,"Arguments",2346],[15,"i128"],[15,"i16"],[15,"i64"],[15,"i8"],[15,"isize"],[15,"u128"],[15,"u16"],[15,"u32"],[3,"IoSlice",2359],[3,"BinaryHeap",297],[3,"VecDeque",297],[3,"BTreeMap",297],[3,"BTreeSet",297],[3,"LinkedList",297],[4,"Bound",297],[3,"HashSet",297],[8,"Eq",2343],[8,"BuildHasher",2351],[3,"HashMap",297],[3,"TryReserveError",297],[4,"TryReserveErrorKind",297],[8,"Borrow",8],[3,"Cursor",1767],[3,"CursorMut",1767],[3,"Difference",1652],[3,"Difference",1215],[3,"Drain",1347],[3,"Drain",824],[3,"Drain",1652],[3,"Drain",1882],[8,"RangeBounds",2373],[3,"DrainSorted",824],[4,"Entry",1347],[4,"Entry",920],[8,"Copy",2340],[3,"ExtractIf",1347],[3,"ExtractIf",920],[3,"ExtractIf",1652],[3,"ExtractIf",1215],[3,"ExtractIf",1767],[3,"OccupiedEntry",920],[3,"LayoutError",2374],[3,"Intersection",1652],[3,"Intersection",1215],[3,"Iter",1347],[3,"IterMut",1347],[3,"IntoIter",1347],[3,"Iter",824],[3,"IntoIter",824],[3,"IntoIter",920],[3,"IterMut",920],[3,"Iter",920],[3,"Iter",1652],[3,"IntoIter",1652],[3,"IntoIter",1215],[3,"Iter",1215],[3,"Iter",1767],[3,"IntoIter",1767],[3,"IterMut",1767],[3,"IterMut",1882],[3,"Iter",1882],[3,"IntoIter",1882],[3,"IntoIterSorted",824],[3,"IntoKeys",1347],[3,"IntoKeys",920],[3,"IntoValues",1347],[3,"IntoValues",920],[3,"Keys",1347],[3,"Keys",920],[3,"Cursor",920],[3,"CursorMut",920],[3,"PeekMut",824],[3,"Range",920],[3,"Range",1215],[3,"RangeMut",920],[3,"RawEntryBuilder",1347],[3,"RawEntryBuilderMut",1347],[3,"SymmetricDifference",1652],[3,"SymmetricDifference",1215],[3,"OccupiedError",1347],[3,"OccupiedError",920],[3,"Union",1652],[3,"Union",1215],[3,"Values",1347],[3,"Values",920],[3,"ValuesMut",1347],[3,"ValuesMut",920],[3,"VacantEntry",920],[4,"RawEntryMut",1347],[3,"RandomState",1347],[3,"DefaultHasher",1347],[3,"RawOccupiedEntryMut",1347],[3,"RawVacantEntryMut",1347],[3,"OccupiedEntry",1347],[3,"VacantEntry",1347],[3,"NonZeroUsize",2375],[3,"IntoIter",2376],[8,"Try",2377],[3,"FromUtf8Error",1970],[3,"Drain",1970],[3,"FromUtf16Error",1970],[15,"char"],[3,"RangeFull",2373],[3,"RangeToInclusive",2373],[3,"RangeFrom",2373],[3,"RangeTo",2373],[3,"Range",2373],[3,"RangeInclusive",2373],[8,"Pattern",2363],[4,"SocketAddr",2378],[3,"IntoIter",2149],[3,"Utf8Error",2379],[3,"Drain",2149],[3,"ExtractIf",2149],[3,"Splice",2149],[8,"SliceIndex",2380],[8,"BorrowMut",8],[13,"AllocError",823],[8,"ToString",1970]],"b":[[15,"impl-Add-for-Cow%3C\'a,+str%3E"],[16,"impl-Add%3C%26str%3E-for-Cow%3C\'a,+str%3E"],[17,"impl-AddAssign-for-Cow%3C\'a,+str%3E"],[18,"impl-AddAssign%3C%26str%3E-for-Cow%3C\'a,+str%3E"],[19,"impl-AsRef%3CT%3E-for-Cow%3C\'_,+T%3E"],[20,"impl-AsRef%3CPath%3E-for-Cow%3C\'_,+OsStr%3E"],[33,"impl-PartialEq%3CVec%3CU,+A%3E%3E-for-Cow%3C\'_,+%5BT%5D%3E"],[34,"impl-PartialEq%3CString%3E-for-Cow%3C\'a,+str%3E"],[35,"impl-PartialEq%3CPath%3E-for-Cow%3C\'a,+Path%3E"],[36,"impl-PartialEq%3C%26%5BU%5D%3E-for-Cow%3C\'_,+%5BT%5D%3E"],[37,"impl-PartialEq%3Cstr%3E-for-Cow%3C\'a,+str%3E"],[38,"impl-PartialEq%3C%26OsStr%3E-for-Cow%3C\'a,+OsStr%3E"],[39,"impl-PartialEq%3COsStr%3E-for-Cow%3C\'a,+Path%3E"],[40,"impl-PartialEq%3C%26Path%3E-for-Cow%3C\'b,+OsStr%3E"],[41,"impl-PartialEq%3CPath%3E-for-Cow%3C\'a,+OsStr%3E"],[42,"impl-PartialEq%3CCow%3C\'b,+C%3E%3E-for-Cow%3C\'a,+B%3E"],[43,"impl-PartialEq%3CPathBuf%3E-for-Cow%3C\'a,+Path%3E"],[44,"impl-PartialEq%3C%26mut+%5BU%5D%3E-for-Cow%3C\'_,+%5BT%5D%3E"],[45,"impl-PartialEq%3COsString%3E-for-Cow%3C\'a,+Path%3E"],[46,"impl-PartialEq%3CPathBuf%3E-for-Cow%3C\'a,+OsStr%3E"],[47,"impl-PartialEq%3COsStr%3E-for-Cow%3C\'a,+OsStr%3E"],[48,"impl-PartialEq%3C%26str%3E-for-Cow%3C\'a,+str%3E"],[49,"impl-PartialEq%3C%26Path%3E-for-Cow%3C\'a,+Path%3E"],[50,"impl-PartialEq%3COsString%3E-for-Cow%3C\'a,+OsStr%3E"],[51,"impl-PartialEq%3C%26OsStr%3E-for-Cow%3C\'a,+Path%3E"],[52,"impl-Display-for-Cow%3C\'_,+B%3E"],[53,"impl-Debug-for-Cow%3C\'_,+B%3E"],[54,"impl-From%3C%26Vec%3CT%3E%3E-for-Cow%3C\'a,+%5BT%5D%3E"],[55,"impl-From%3C%26OsString%3E-for-Cow%3C\'a,+OsStr%3E"],[56,"impl-From%3CCString%3E-for-Cow%3C\'a,+CStr%3E"],[57,"impl-From%3CString%3E-for-Cow%3C\'a,+str%3E"],[59,"impl-From%3C%26PathBuf%3E-for-Cow%3C\'a,+Path%3E"],[60,"impl-From%3CVec%3CT%3E%3E-for-Cow%3C\'a,+%5BT%5D%3E"],[61,"impl-From%3C%26str%3E-for-Cow%3C\'a,+str%3E"],[62,"impl-From%3C%26String%3E-for-Cow%3C\'a,+str%3E"],[63,"impl-From%3C%26Path%3E-for-Cow%3C\'a,+Path%3E"],[64,"impl-From%3COsString%3E-for-Cow%3C\'a,+OsStr%3E"],[65,"impl-From%3C%26OsStr%3E-for-Cow%3C\'a,+OsStr%3E"],[66,"impl-From%3C%26%5BT%5D%3E-for-Cow%3C\'a,+%5BT%5D%3E"],[67,"impl-From%3C%26CString%3E-for-Cow%3C\'a,+CStr%3E"],[68,"impl-From%3CPathBuf%3E-for-Cow%3C\'a,+Path%3E"],[69,"impl-From%3C%26CStr%3E-for-Cow%3C\'a,+CStr%3E"],[70,"impl-FromIterator%3CString%3E-for-Cow%3C\'a,+str%3E"],[71,"impl-FromIterator%3Cchar%3E-for-Cow%3C\'a,+str%3E"],[72,"impl-FromIterator%3C%26str%3E-for-Cow%3C\'a,+str%3E"],[73,"impl-FromIterator%3CT%3E-for-Cow%3C\'a,+%5BT%5D%3E"],[79,"impl-PartialEq%3C%26%5BU%5D%3E-for-Cow%3C\'_,+%5BT%5D%3E"],[80,"impl-PartialEq%3Cstr%3E-for-Cow%3C\'a,+str%3E"],[81,"impl-PartialEq%3CVec%3CU,+A%3E%3E-for-Cow%3C\'_,+%5BT%5D%3E"],[82,"impl-PartialEq%3C%26str%3E-for-Cow%3C\'a,+str%3E"],[83,"impl-PartialEq%3CString%3E-for-Cow%3C\'a,+str%3E"],[84,"impl-PartialEq%3C%26mut+%5BU%5D%3E-for-Cow%3C\'_,+%5BT%5D%3E"],[85,"impl-PartialOrd%3CPathBuf%3E-for-Cow%3C\'a,+OsStr%3E"],[86,"impl-PartialOrd%3CPath%3E-for-Cow%3C\'a,+OsStr%3E"],[87,"impl-PartialOrd-for-Cow%3C\'a,+B%3E"],[88,"impl-PartialOrd%3C%26OsStr%3E-for-Cow%3C\'a,+Path%3E"],[89,"impl-PartialOrd%3C%26Path%3E-for-Cow%3C\'b,+OsStr%3E"],[90,"impl-PartialOrd%3COsString%3E-for-Cow%3C\'a,+Path%3E"],[91,"impl-PartialOrd%3CPathBuf%3E-for-Cow%3C\'a,+Path%3E"],[92,"impl-PartialOrd%3COsStr%3E-for-Cow%3C\'a,+Path%3E"],[93,"impl-PartialOrd%3C%26OsStr%3E-for-Cow%3C\'a,+OsStr%3E"],[94,"impl-PartialOrd%3CPath%3E-for-Cow%3C\'a,+Path%3E"],[95,"impl-PartialOrd%3COsString%3E-for-Cow%3C\'a,+OsStr%3E"],[96,"impl-PartialOrd%3C%26Path%3E-for-Cow%3C\'a,+Path%3E"],[97,"impl-PartialOrd%3COsStr%3E-for-Cow%3C\'a,+OsStr%3E"],[112,"impl-Box%3C%5BMaybeUninit%3CT%3E%5D,+A%3E"],[113,"impl-Box%3CMaybeUninit%3CT%3E,+A%3E"],[124,"impl-Clone-for-Box%3C%5BT%5D,+A%3E"],[125,"impl-Clone-for-Box%3COsStr%3E"],[126,"impl-Clone-for-Box%3CPath%3E"],[127,"impl-Clone-for-Box%3CT,+A%3E"],[128,"impl-Clone-for-Box%3CCStr%3E"],[129,"impl-Clone-for-Box%3Cstr%3E"],[130,"impl-Clone-for-Box%3C%5BT%5D,+A%3E"],[131,"impl-Clone-for-Box%3CT,+A%3E"],[135,"impl-Default-for-Box%3CT%3E"],[136,"impl-Default-for-Box%3C%5BT%5D%3E"],[137,"impl-Default-for-Box%3Cstr%3E"],[138,"impl-Default-for-Box%3CCStr%3E"],[139,"impl-Default-for-Box%3COsStr%3E"],[145,"impl-Box%3Cdyn+Any+%2B+Send+%2B+Sync,+A%3E"],[146,"impl-Box%3Cdyn+Any,+A%3E"],[147,"impl-Box%3Cdyn+Any+%2B+Send,+A%3E"],[148,"impl-Box%3Cdyn+Any,+A%3E"],[149,"impl-Box%3Cdyn+Any+%2B+Send+%2B+Sync,+A%3E"],[150,"impl-Box%3Cdyn+Any+%2B+Send,+A%3E"],[157,"impl-Display-for-ThinBox%3CT%3E"],[158,"impl-Debug-for-ThinBox%3CT%3E"],[159,"impl-Display-for-Box%3CT,+A%3E"],[160,"impl-Debug-for-Box%3CT,+A%3E"],[161,"impl-Pointer-for-Box%3CT,+A%3E"],[164,"impl-From%3CCow%3C\'_,+OsStr%3E%3E-for-Box%3COsStr%3E"],[165,"impl-From%3CCow%3C\'b,+str%3E%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E"],[166,"impl-From%3C%5BT;+N%5D%3E-for-Box%3C%5BT%5D%3E"],[167,"impl-From%3CPathBuf%3E-for-Box%3CPath%3E"],[168,"impl-From%3C%26OsStr%3E-for-Box%3COsStr%3E"],[169,"impl-From%3CT%3E-for-Box%3CT%3E"],[170,"impl-From%3CString%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E"],[172,"impl-From%3CBox%3Cstr,+A%3E%3E-for-Box%3C%5Bu8%5D,+A%3E"],[173,"impl-From%3CCow%3C\'_,+Path%3E%3E-for-Box%3CPath%3E"],[174,"impl-From%3CCow%3C\'_,+CStr%3E%3E-for-Box%3CCStr%3E"],[175,"impl-From%3C%26str%3E-for-Box%3Cstr%3E"],[176,"impl-From%3CCString%3E-for-Box%3CCStr%3E"],[177,"impl-From%3C%26Path%3E-for-Box%3CPath%3E"],[178,"impl-From%3C%26str%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E"],[179,"impl-From%3CCow%3C\'_,+%5BT%5D%3E%3E-for-Box%3C%5BT%5D%3E"],[180,"impl-From%3CString%3E-for-Box%3Cstr%3E"],[181,"impl-From%3CE%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E"],[182,"impl-From%3C%26%5BT%5D%3E-for-Box%3C%5BT%5D%3E"],[183,"impl-From%3CString%3E-for-Box%3Cdyn+Error%3E"],[184,"impl-From%3CVec%3CT,+A%3E%3E-for-Box%3C%5BT%5D,+A%3E"],[185,"impl-From%3C%26str%3E-for-Box%3Cdyn+Error%3E"],[186,"impl-From%3C%26CStr%3E-for-Box%3CCStr%3E"],[187,"impl-From%3COsString%3E-for-Box%3COsStr%3E"],[188,"impl-From%3CCow%3C\'_,+str%3E%3E-for-Box%3Cstr%3E"],[189,"impl-From%3CE%3E-for-Box%3Cdyn+Error%3E"],[190,"impl-From%3CCow%3C\'a,+str%3E%3E-for-Box%3Cdyn+Error%3E"],[251,"impl-Iterator-for-Box%3CI,+A%3E"],[252,"impl-AsyncIterator-for-Box%3CS%3E"],[263,"impl-TryFrom%3CBox%3C%5BT%5D%3E%3E-for-Box%3C%5BT;+N%5D%3E"],[264,"impl-TryFrom%3CVec%3CT%3E%3E-for-Box%3C%5BT;+N%5D%3E"],[277,"impl-Box%3CMaybeUninit%3CT%3E,+A%3E"],[278,"impl-Write-for-Box%3CW%3E"],[279,"impl-Hasher-for-Box%3CT,+A%3E"],[446,"impl-PartialEq%3C%5BU;+N%5D%3E-for-VecDeque%3CT,+A%3E"],[447,"impl-PartialEq%3C%26mut+%5BU;+N%5D%3E-for-VecDeque%3CT,+A%3E"],[448,"impl-PartialEq%3C%26mut+%5BU%5D%3E-for-VecDeque%3CT,+A%3E"],[449,"impl-PartialEq%3C%26%5BU%5D%3E-for-VecDeque%3CT,+A%3E"],[450,"impl-PartialEq%3C%26%5BU;+N%5D%3E-for-VecDeque%3CT,+A%3E"],[451,"impl-PartialEq%3CVec%3CU,+A%3E%3E-for-VecDeque%3CT,+A%3E"],[452,"impl-PartialEq-for-VecDeque%3CT,+A%3E"],[456,"impl-Extend%3C(%26K,+%26V)%3E-for-HashMap%3CK,+V,+S%3E"],[457,"impl-Extend%3C(K,+V)%3E-for-HashMap%3CK,+V,+S%3E"],[458,"impl-Extend%3C%26T%3E-for-BinaryHeap%3CT,+A%3E"],[459,"impl-Extend%3CT%3E-for-BinaryHeap%3CT,+A%3E"],[460,"impl-Extend%3C(K,+V)%3E-for-BTreeMap%3CK,+V,+A%3E"],[461,"impl-Extend%3C(%26K,+%26V)%3E-for-BTreeMap%3CK,+V,+A%3E"],[462,"impl-Extend%3C%26T%3E-for-HashSet%3CT,+S%3E"],[463,"impl-Extend%3CT%3E-for-HashSet%3CT,+S%3E"],[464,"impl-Extend%3CT%3E-for-BTreeSet%3CT,+A%3E"],[465,"impl-Extend%3C%26T%3E-for-BTreeSet%3CT,+A%3E"],[466,"impl-Extend%3C%26T%3E-for-LinkedList%3CT,+A%3E"],[467,"impl-Extend%3CT%3E-for-LinkedList%3CT,+A%3E"],[468,"impl-Extend%3CT%3E-for-VecDeque%3CT,+A%3E"],[469,"impl-Extend%3C%26T%3E-for-VecDeque%3CT,+A%3E"],[470,"impl-Extend%3C(K,+V)%3E-for-HashMap%3CK,+V,+S%3E"],[471,"impl-Extend%3C(%26K,+%26V)%3E-for-HashMap%3CK,+V,+S%3E"],[472,"impl-Extend%3CT%3E-for-BinaryHeap%3CT,+A%3E"],[473,"impl-Extend%3C%26T%3E-for-BinaryHeap%3CT,+A%3E"],[474,"impl-Extend%3C(%26K,+%26V)%3E-for-BTreeMap%3CK,+V,+A%3E"],[475,"impl-Extend%3C(K,+V)%3E-for-BTreeMap%3CK,+V,+A%3E"],[476,"impl-Extend%3CT%3E-for-HashSet%3CT,+S%3E"],[477,"impl-Extend%3C%26T%3E-for-HashSet%3CT,+S%3E"],[478,"impl-Extend%3C%26T%3E-for-BTreeSet%3CT,+A%3E"],[479,"impl-Extend%3CT%3E-for-BTreeSet%3CT,+A%3E"],[480,"impl-Extend%3C%26T%3E-for-LinkedList%3CT,+A%3E"],[481,"impl-Extend%3CT%3E-for-LinkedList%3CT,+A%3E"],[482,"impl-Extend%3C%26T%3E-for-VecDeque%3CT,+A%3E"],[483,"impl-Extend%3CT%3E-for-VecDeque%3CT,+A%3E"],[484,"impl-Extend%3C(K,+V)%3E-for-HashMap%3CK,+V,+S%3E"],[485,"impl-Extend%3C(%26K,+%26V)%3E-for-HashMap%3CK,+V,+S%3E"],[486,"impl-Extend%3C%26T%3E-for-BinaryHeap%3CT,+A%3E"],[487,"impl-Extend%3CT%3E-for-BinaryHeap%3CT,+A%3E"],[488,"impl-Extend%3C%26T%3E-for-HashSet%3CT,+S%3E"],[489,"impl-Extend%3CT%3E-for-HashSet%3CT,+S%3E"],[490,"impl-Extend%3CT%3E-for-VecDeque%3CT,+A%3E"],[491,"impl-Extend%3C%26T%3E-for-VecDeque%3CT,+A%3E"],[509,"impl-Display-for-TryReserveError"],[510,"impl-Debug-for-TryReserveError"],[516,"impl-From%3C%5BT;+N%5D%3E-for-BinaryHeap%3CT%3E"],[517,"impl-From%3CVec%3CT,+A%3E%3E-for-BinaryHeap%3CT,+A%3E"],[527,"impl-From%3C%5BT;+N%5D%3E-for-VecDeque%3CT%3E"],[528,"impl-From%3CVec%3CT,+A%3E%3E-for-VecDeque%3CT,+A%3E"],[590,"impl-IntoIterator-for-%26HashMap%3CK,+V,+S%3E"],[591,"impl-IntoIterator-for-%26mut+HashMap%3CK,+V,+S%3E"],[592,"impl-IntoIterator-for-HashMap%3CK,+V,+S%3E"],[593,"impl-IntoIterator-for-%26BinaryHeap%3CT,+A%3E"],[594,"impl-IntoIterator-for-BinaryHeap%3CT,+A%3E"],[595,"impl-IntoIterator-for-BTreeMap%3CK,+V,+A%3E"],[596,"impl-IntoIterator-for-%26mut+BTreeMap%3CK,+V,+A%3E"],[597,"impl-IntoIterator-for-%26BTreeMap%3CK,+V,+A%3E"],[598,"impl-IntoIterator-for-%26HashSet%3CT,+S%3E"],[599,"impl-IntoIterator-for-HashSet%3CT,+S%3E"],[600,"impl-IntoIterator-for-BTreeSet%3CT,+A%3E"],[601,"impl-IntoIterator-for-%26BTreeSet%3CT,+A%3E"],[602,"impl-IntoIterator-for-%26LinkedList%3CT,+A%3E"],[603,"impl-IntoIterator-for-LinkedList%3CT,+A%3E"],[604,"impl-IntoIterator-for-%26mut+LinkedList%3CT,+A%3E"],[605,"impl-IntoIterator-for-%26mut+VecDeque%3CT,+A%3E"],[606,"impl-IntoIterator-for-%26VecDeque%3CT,+A%3E"],[607,"impl-IntoIterator-for-VecDeque%3CT,+A%3E"],[1000,"impl-Display-for-OccupiedError%3C\'a,+K,+V,+A%3E"],[1001,"impl-Debug-for-OccupiedError%3C\'_,+K,+V,+A%3E"],[1451,"impl-Debug-for-OccupiedError%3C\'_,+K,+V%3E"],[1452,"impl-Display-for-OccupiedError%3C\'a,+K,+V%3E"],[1983,"impl-AsRef%3C%5Bu8%5D%3E-for-Drain%3C\'a%3E"],[1984,"impl-AsRef%3Cstr%3E-for-Drain%3C\'a%3E"],[1985,"impl-AsRef%3Cstr%3E-for-String"],[1986,"impl-AsRef%3C%5Bu8%5D%3E-for-String"],[1987,"impl-AsRef%3COsStr%3E-for-String"],[1988,"impl-AsRef%3CPath%3E-for-String"],[2016,"impl-PartialEq%3C%26str%3E-for-String"],[2017,"impl-PartialEq%3Cstr%3E-for-String"],[2018,"impl-PartialEq-for-String"],[2019,"impl-PartialEq%3CCow%3C\'a,+str%3E%3E-for-String"],[2021,"impl-Extend%3Cchar%3E-for-String"],[2022,"impl-Extend%3CCow%3C\'a,+str%3E%3E-for-String"],[2023,"impl-Extend%3C%26str%3E-for-String"],[2024,"impl-Extend%3C%26char%3E-for-String"],[2025,"impl-Extend%3CBox%3Cstr%3E%3E-for-String"],[2026,"impl-Extend%3CString%3E-for-String"],[2028,"impl-Extend%3Cchar%3E-for-String"],[2029,"impl-Extend%3C%26str%3E-for-String"],[2030,"impl-Extend%3CCow%3C\'a,+str%3E%3E-for-String"],[2031,"impl-Extend%3CString%3E-for-String"],[2032,"impl-Extend%3C%26char%3E-for-String"],[2033,"impl-Extend%3C%26char%3E-for-String"],[2034,"impl-Extend%3Cchar%3E-for-String"],[2036,"impl-Debug-for-String"],[2037,"impl-Display-for-String"],[2038,"impl-Display-for-FromUtf8Error"],[2039,"impl-Debug-for-FromUtf8Error"],[2040,"impl-Display-for-FromUtf16Error"],[2041,"impl-Debug-for-FromUtf16Error"],[2043,"impl-From%3C%26str%3E-for-String"],[2044,"impl-From%3C%26String%3E-for-String"],[2046,"impl-From%3Cchar%3E-for-String"],[2047,"impl-From%3C%26mut+str%3E-for-String"],[2048,"impl-From%3CBox%3Cstr%3E%3E-for-String"],[2049,"impl-From%3CCow%3C\'a,+str%3E%3E-for-String"],[2052,"impl-FromIterator%3C%26char%3E-for-String"],[2053,"impl-FromIterator%3CCow%3C\'a,+str%3E%3E-for-String"],[2054,"impl-FromIterator%3C%26str%3E-for-String"],[2055,"impl-FromIterator%3CBox%3Cstr%3E%3E-for-String"],[2056,"impl-FromIterator%3CString%3E-for-String"],[2057,"impl-FromIterator%3Cchar%3E-for-String"],[2070,"impl-Index%3CRangeFull%3E-for-String"],[2071,"impl-Index%3CRangeToInclusive%3Cusize%3E%3E-for-String"],[2072,"impl-Index%3CRangeFrom%3Cusize%3E%3E-for-String"],[2073,"impl-Index%3CRangeTo%3Cusize%3E%3E-for-String"],[2074,"impl-Index%3CRange%3Cusize%3E%3E-for-String"],[2075,"impl-Index%3CRangeInclusive%3Cusize%3E%3E-for-String"],[2076,"impl-IndexMut%3CRangeTo%3Cusize%3E%3E-for-String"],[2077,"impl-IndexMut%3CRangeFrom%3Cusize%3E%3E-for-String"],[2078,"impl-IndexMut%3CRangeToInclusive%3Cusize%3E%3E-for-String"],[2079,"impl-IndexMut%3CRange%3Cusize%3E%3E-for-String"],[2080,"impl-IndexMut%3CRangeInclusive%3Cusize%3E%3E-for-String"],[2081,"impl-IndexMut%3CRangeFull%3E-for-String"],[2101,"impl-PartialEq%3CCow%3C\'a,+str%3E%3E-for-String"],[2102,"impl-PartialEq%3C%26str%3E-for-String"],[2103,"impl-PartialEq%3Cstr%3E-for-String"],[2161,"impl-AsMut%3CVec%3CT,+A%3E%3E-for-Vec%3CT,+A%3E"],[2162,"impl-AsMut%3C%5BT%5D%3E-for-Vec%3CT,+A%3E"],[2169,"impl-AsRef%3CVec%3CT,+A%3E%3E-for-Vec%3CT,+A%3E"],[2170,"impl-AsRef%3C%5BT%5D%3E-for-Vec%3CT,+A%3E"],[2208,"impl-PartialEq%3C%26mut+%5BU%5D%3E-for-Vec%3CT,+A%3E"],[2209,"impl-PartialEq%3C%26%5BU%5D%3E-for-Vec%3CT,+A%3E"],[2210,"impl-PartialEq%3CVec%3CU,+A2%3E%3E-for-Vec%3CT,+A1%3E"],[2211,"impl-PartialEq%3C%5BU;+N%5D%3E-for-Vec%3CT,+A%3E"],[2212,"impl-PartialEq%3C%26%5BU;+N%5D%3E-for-Vec%3CT,+A%3E"],[2213,"impl-PartialEq%3C%5BU%5D%3E-for-Vec%3CT,+A%3E"],[2214,"impl-Extend%3C%26T%3E-for-Vec%3CT,+A%3E"],[2215,"impl-Extend%3CT%3E-for-Vec%3CT,+A%3E"],[2218,"impl-Extend%3C%26T%3E-for-Vec%3CT,+A%3E"],[2219,"impl-Extend%3CT%3E-for-Vec%3CT,+A%3E"],[2220,"impl-Extend%3CT%3E-for-Vec%3CT,+A%3E"],[2221,"impl-Extend%3C%26T%3E-for-Vec%3CT,+A%3E"],[2231,"impl-From%3CString%3E-for-Vec%3Cu8%3E"],[2232,"impl-From%3CCString%3E-for-Vec%3Cu8%3E"],[2233,"impl-From%3C%26mut+%5BT%5D%3E-for-Vec%3CT%3E"],[2235,"impl-From%3CBinaryHeap%3CT,+A%3E%3E-for-Vec%3CT,+A%3E"],[2236,"impl-From%3CBox%3C%5BT%5D,+A%3E%3E-for-Vec%3CT,+A%3E"],[2237,"impl-From%3C%26str%3E-for-Vec%3Cu8%3E"],[2238,"impl-From%3C%26%5BT;+N%5D%3E-for-Vec%3CT%3E"],[2239,"impl-From%3C%26%5BT%5D%3E-for-Vec%3CT%3E"],[2240,"impl-From%3CVecDeque%3CT,+A%3E%3E-for-Vec%3CT,+A%3E"],[2241,"impl-From%3C%26mut+%5BT;+N%5D%3E-for-Vec%3CT%3E"],[2242,"impl-From%3C%5BT;+N%5D%3E-for-Vec%3CT%3E"],[2243,"impl-From%3CCow%3C\'a,+%5BT%5D%3E%3E-for-Vec%3CT%3E"],[2262,"impl-IntoIterator-for-%26Vec%3CT,+A%3E"],[2263,"impl-IntoIterator-for-Vec%3CT,+A%3E"],[2264,"impl-IntoIterator-for-%26mut+Vec%3CT,+A%3E"],[2276,"impl-PartialEq%3C%26mut+%5BU%5D%3E-for-Vec%3CT,+A%3E"],[2277,"impl-PartialEq%3CVec%3CU,+A2%3E%3E-for-Vec%3CT,+A1%3E"],[2278,"impl-PartialEq%3C%5BU%5D%3E-for-Vec%3CT,+A%3E"],[2279,"impl-PartialEq%3C%26%5BU;+N%5D%3E-for-Vec%3CT,+A%3E"],[2280,"impl-PartialEq%3C%26%5BU%5D%3E-for-Vec%3CT,+A%3E"],[2281,"impl-PartialEq%3C%5BU;+N%5D%3E-for-Vec%3CT,+A%3E"]]},\ -"ink_primitives":{"doc":"Utilities in use by ink!.","t":"DSIGNNNDGDEGNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["AccountId","CLEAR_HASH","Clear","ConstructorResult","CouldNotReadInput","Err","Err","Hash","Key","KeyComposer","LangError","MessageResult","Ok","Ok","as_bits","as_bits","as_byte_slice","as_byte_slice","as_mut","as_mut","as_mut","as_mut_bits","as_mut_bits","as_mut_byte_slice","as_mut_byte_slice","as_mut_slice_of","as_mut_slice_of","as_ref","as_ref","as_ref","as_slice_of","as_slice_of","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","compute_key","concat","decode","decode","decode","decode_all","decode_all","decode_all","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_as_fields","decode_as_fields","decode_as_type_maybe_compact","decode_as_type_maybe_compact","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","default","encode","encode","encode_as_fields_to","encode_as_fields_to","encode_as_type_to","encode_as_type_to","encode_to","encode_to","encode_to","eq","eq","eq","fmt","fmt","fmt","from","from","from","from","from","from","from_bytes","from_str","hash","hash","into","into","into","into","into_visitor","into_visitor","is_clear","is_clear","max_encoded_len","max_encoded_len","partial_cmp","partial_cmp","size_hint","size_hint","size_hint","to_keyed_vec","to_keyed_vec","to_keyed_vec","to_owned","to_owned","to_owned","try_as_bits","try_as_bits","try_as_mut_bits","try_as_mut_bits","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_info","type_info","type_info","using_encoded","using_encoded"],"q":[[0,"ink_primitives"],[136,"bitvec::slice"],[137,"bitvec::order"],[138,"byte_slice_cast"],[139,"core::result"],[140,"byte_slice_cast"],[141,"parity_scale_codec::error"],[142,"parity_scale_codec::codec"],[143,"scale_decode"],[144,"scale_info::portable"],[145,"scale_decode::error"],[146,"alloc::vec"],[147,"scale_encode"],[148,"scale_encode::error"],[149,"parity_scale_codec::codec"],[150,"core::fmt"],[151,"core::fmt"],[152,"core::option"],[153,"bitvec::ptr::span"],[154,"core::array"],[155,"core::any"],[156,"scale_info::ty"],[157,"core::ops::function"]],"d":["The default environment AccountId type.","The clear hash.","The equivalent of Zero for hashes.","The Result type for ink! constructors.","Failed to read execution input for the dispatchable.","Contains the error value","Contains the error value","The default environment Hash type.","A key into the smart contract storage.","Contains all rules related to storage key creation.","An error emitted by the smart contracting language.","The Result type for ink! messages.","Contains the success value","Contains the success value","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Evaluates the storage key of the field in the structure, …","Concatenate two Key into one during compilation.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the storage key from the supplied bytes.","Return the storage key from the supplied str.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","Returns true if the hash is clear.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,38,0,0,11,39,40,0,0,0,0,0,39,40,5,7,5,7,5,5,7,5,7,5,7,5,7,5,5,7,5,7,41,5,7,11,41,5,7,11,5,7,11,5,7,11,5,7,41,41,5,7,11,5,7,11,5,7,11,5,7,5,7,5,7,11,7,5,7,5,7,5,7,5,7,11,5,7,11,5,7,11,41,5,5,7,7,11,41,41,5,7,41,5,7,11,5,7,38,7,5,7,5,7,5,7,11,5,7,11,5,7,11,5,7,5,7,41,5,5,7,7,11,41,5,7,11,41,5,7,11,5,7,11,5,7],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,[[1,[-2,-3]]],[],[],2],[-1,[[1,[-2,-3]]],[],[],2],[-1,[[4,[3]]],[]],[-1,[[4,[3]]],[]],[5,[[6,[3]]]],[5,[[4,[3]]]],[7,[[4,[3]]]],[-1,[[1,[-2,-3]]],[],[],2],[-1,[[1,[-2,-3]]],[],[],2],[-1,[[4,[3]]],[]],[-1,[[4,[3]]],[]],[-1,[[9,[[4,[-2]],8]]],[],10],[-1,[[9,[[4,[-2]],8]]],[],10],[5,[[6,[3]]]],[5,[[4,[3]]]],[7,[[4,[3]]]],[-1,[[9,[[4,[-2]],8]]],[],10],[-1,[[9,[[4,[-2]],8]]],[],10],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[5,5],[7,7],[11,11],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],[[-1,-2],12,[],[]],[[5,5],13],[[7,7],13],[[14,14,14],[[9,[15,0]]]],[[15,15],15],[-1,[[9,[5,16]]],17],[-1,[[9,[7,16]]],17],[-1,[[9,[11,16]]],17],[[[4,[3]]],[[9,[-1,16]]],[]],[[[4,[3]]],[[9,[-1,16]]],[]],[[[4,[3]]],[[9,[-1,16]]],[]],[[18,[4,[3]]],[[9,[-1,16]]],[]],[[18,[4,[3]]],[[9,[-1,16]]],[]],[[18,[4,[3]]],[[9,[-1,16]]],[]],[[[4,[3]],19,20],[[9,[5,21]]]],[[[4,[3]],19,20],[[9,[7,21]]]],[[[4,[3]],18,20,22],[[9,[-1,21]]],[]],[[[4,[3]],18,20,22],[[9,[-1,21]]],[]],[[18,-1],[[9,[-2,16]]],17,[]],[[18,-1],[[9,[-2,16]]],17,[]],[[18,-1],[[9,[-2,16]]],17,[]],[[],7],[5,[[23,[3]]]],[7,[[23,[3]]]],[[5,24,20,[23,[3]]],[[9,[12,25]]]],[[7,24,20,[23,[3]]],[[9,[12,25]]]],[[5,18,20,[23,[3]]],[[9,[12,25]]]],[[7,18,20,[23,[3]]],[[9,[12,25]]]],[[5,-1],12,[26,27]],[[7,-1],12,[26,27]],[[11,-1],12,[26,27]],[[5,5],22],[[7,7],22],[[11,11],22],[[5,28],29],[[7,28],29],[[11,28],29],[-1,-1,[]],[[[6,[3]]],5],[-1,-1,[]],[[[6,[3]]],7],[-1,-1,[]],[-1,-1,[]],[[[4,[3]]],15],[14,15],[[5,-1],12,30],[[7,-1],12,30],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[]],[[]],[-1,22,[]],[7,22],[[],31],[[],31],[[5,5],[[32,[13]]]],[[7,7],[[32,[13]]]],[5,31],[7,31],[11,31],[[-1,[4,[3]]],[[23,[3]]],[]],[[-1,[4,[3]]],[[23,[3]]],[]],[[-1,[4,[3]]],[[23,[3]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[[1,[-2,-3]],[33,[-2]]]]],[],[],2],[-1,[[9,[[1,[-2,-3]],[33,[-2]]]]],[],[],2],[-1,[[9,[[1,[-2,-3]],[33,[-2]]]]],[],[],2],[-1,[[9,[[1,[-2,-3]],[33,[-2]]]]],[],[],2],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[[[4,[3]]],[[9,[5,34]]]],[[[4,[3]]],[[9,[7,34]]]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,35,[]],[-1,35,[]],[-1,35,[]],[-1,35,[]],[[],36],[[],36],[[],36],[[5,-1],-2,37,[]],[[7,-1],-2,37,[]]],"c":[],"p":[[3,"BitSlice",136],[8,"BitOrder",137],[15,"u8"],[15,"slice"],[3,"AccountId",0],[15,"array"],[3,"Hash",0],[4,"Error",138],[4,"Result",139],[8,"FromByteSlice",138],[4,"LangError",0],[15,"tuple"],[4,"Ordering",140],[15,"str"],[6,"Key",0],[3,"Error",141],[8,"Input",142],[15,"u32"],[8,"FieldIter",143],[3,"PortableRegistry",144],[3,"Error",145],[15,"bool"],[3,"Vec",146],[8,"FieldIter",147],[3,"Error",148],[8,"Output",142],[8,"Sized",149],[3,"Formatter",150],[6,"Result",150],[8,"Hasher",151],[15,"usize"],[4,"Option",152],[4,"BitSpanError",153],[3,"TryFromSliceError",154],[3,"TypeId",155],[3,"Type",156],[8,"FnOnce",157],[8,"Clear",0],[6,"MessageResult",0],[6,"ConstructorResult",0],[3,"KeyComposer",0]],"b":[[18,"impl-AsMut%3C%5Bu8;+32%5D%3E-for-AccountId"],[19,"impl-AsMut%3C%5Bu8%5D%3E-for-AccountId"],[27,"impl-AsRef%3C%5Bu8;+32%5D%3E-for-AccountId"],[28,"impl-AsRef%3C%5Bu8%5D%3E-for-AccountId"]]},\ -"ink_sandbox":{"doc":"","t":"DGNNCNNGGNCEGNISNNNNQGGDGIIGNNNNDLLLLLLLLLLLLLLLLALLLLLLLLLLLKLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKOMMLLLLLLLLLLLLLLLLLKLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLMMMKMLLLLLLLLCCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLCCCLCLMLLLLLLKMMLLLLLLLLLLLLLLLLLCMMMLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLAAAAAIKKIQKFKKKCCCCIQKKKKKKQIKKGNNDGNNNDDDEEEDGNNGNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["AccountId32","AccountIdFor","Arithmetic","BadOrigin","BlockBuilder","CannotLookup","ConsumerRemaining","ContractExecResultFor","ContractInstantiateResultFor","Corruption","DefaultSandbox","DispatchError","EventRecordOf","Exhausted","Extension","MAX","Module","NoProviders","Other","RootNotAllowed","Runtime","RuntimeCall","RuntimeEventOf","RuntimeMetadataPrefixed","RuntimeOf","Sandbox","Ss58Codec","TestExternalities","Token","TooManyConsumers","Transactional","Unavailable","Weight","__clone_box","__clone_box","__clone_box","add","add_assign","add_proof_size","add_ref_time","all_gt","all_gte","all_lt","all_lte","any_eq","any_gt","any_gte","any_lt","any_lte","api","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_byte_slice","as_mut","as_mut","as_mut_any","as_mut_byte_slice","as_mut_slice_of","as_ref","as_ref","as_slice_of","backend","blake2_128","blake2_128","blake2_128","blake2_128","blake2_128_concat","blake2_128_concat","blake2_128_concat","blake2_128_concat","blake2_256","blake2_256","blake2_256","blake2_256","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","checked_accrue","checked_add","checked_add","checked_div","checked_div_per_component","checked_mul","checked_reduce","checked_sub","checked_sub","classify_dispatch","clear","clone","clone","clone","clone_into","clone_into","clone_into","cmp","convert_account_to_origin","create_sandbox","debug_message","debug_message","decode","decode","decode","decode","decode_all","decode_all","decode_all","decode_all","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","default","default_actor","default_gas_limit","defensive_max","defensive_min","defensive_strict_max","defensive_strict_min","deserialize","deserialize","deserialize","div","div","dry_run","encode","encode_hex","encode_hex_upper","encode_to","encode_to","encode_to","encode_to","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","event","events","events","execute_with","extensions","finalize_block","fmt","fmt","fmt","fmt","fmt","fmt","format_is_allowed","frame_support","frame_system","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_all","from_entropy","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_parts","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ss58check","from_ss58check_with_version","from_str","from_string","from_string_with_version","gas_consumed","gas_consumed","gas_required","gas_required","get_hash","get_metadata","hash","identity","identity","identity","identity","initialize_block","into","into","into","into","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_key","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","into_ref","is_clear","is_zero","macros","max","max_encoded_len","max_encoded_len","max_encoded_len","max_value","max_value","min","min_value","min_value","mul","mul","new","pallet_balances","pallet_contracts","pallet_timestamp","partial_cmp","paste","pays_fee","phase","print","print","proof_size","proof_size_mut","ref_time","ref_time_mut","register_extension","result","result","saturating_accrue","saturating_add","saturating_div","saturating_mul","saturating_pow","saturating_reduce","saturating_sub","serialize","serialize","serialize","serialize","set_proof_size","set_ref_time","size_hint","size_hint","size_hint","size_hint","sp_externalities","state_version","storage_deposit","storage_deposit","stripped","sub","sub_assign","sub_proof_size","sub_ref_time","to_keyed_vec","to_keyed_vec","to_keyed_vec","to_keyed_vec","to_owned","to_owned","to_owned","to_ss58check","to_ss58check_with_version","to_string","to_string","topics","try_add","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","try_into_key","twox_128","twox_128","twox_128","twox_128","twox_256","twox_256","twox_256","twox_256","twox_64_concat","twox_64_concat","twox_64_concat","twox_64_concat","type_id","type_id","type_id","type_id","type_id","type_info","type_info","type_info","unchecked_from","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unique_saturated_from","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","using_encoded","vzip","vzip","vzip","vzip","weigh_data","with_weight","zero","zero","balance_api","contracts_api","prelude","system_api","timestamp_api","BalanceAPI","free_balance","mint_into","ContractAPI","T","call_contract","decode_debug_buffer","deploy_contract","instantiate_contract","upload_contract","BalanceAPI","ContractAPI","SystemAPI","TimestampAPI","SystemAPI","T","block_number","build_block","build_blocks","events","reset_events","runtime_call","T","TimestampAPI","get_timestamp","set_timestamp","Balances","Balances","Balances","BlockBuilder","Contracts","Contracts","Contracts","Contracts","DefaultSandbox","DefaultSandboxRuntime","PalletInfo","RuntimeCall","RuntimeEvent","RuntimeHoldReason","RuntimeOrigin","System","System","System","Timestamp","Timestamp","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","add_filter","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","blake2_128","blake2_128","blake2_128","blake2_128_concat","blake2_128_concat","blake2_128_concat","blake2_256","blake2_256","blake2_256","block_number","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_block","build_blocks","call_contract","caller","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","convert","convert_account_to_origin","crate_version","decode","decode","decode","decode_all","decode_all","decode_all","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","default","default_actor","deploy_contract","dispatch","dispatch","dispatch_bypass_filter","dry_run","encode_to","encode_to","encode_to","ensure_inherents_are_first","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","events","execute_with","filter_call","finalize_block","finalize_block","fmt","fmt","fmt","fmt","fmt","free_balance","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","get_call_metadata","get_call_names","get_dispatch_info","get_metadata","get_module_names","get_timestamp","identity","identity","identity","index","initialize_block","initialize_block","instantiate_contract","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_caller","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","is_feeless","is_sub_type","is_sub_type","is_sub_type","is_sub_type","max_encoded_len","metadata","metadata_at_version","metadata_versions","mint_into","module_name","name","name_hash","new_ext","none","none","pre_dispatch","register_extension","reset_events","reset_filter","root","root","runtime_call","set_caller_from","set_timestamp","signed","signed","size_hint","size_hint","size_hint","to_keyed_vec","to_keyed_vec","to_keyed_vec","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_with_caller","twox_128","twox_128","twox_128","twox_256","twox_256","twox_256","twox_64_concat","twox_64_concat","twox_64_concat","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_info","type_info","type_info","type_info","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","upload_contract","validate_unsigned","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"ink_sandbox"],[383,"ink_sandbox::api"],[388,"ink_sandbox::api::balance_api"],[391,"ink_sandbox::api::contracts_api"],[398,"ink_sandbox::api::prelude"],[402,"ink_sandbox::api::system_api"],[410,"ink_sandbox::api::timestamp_api"],[414,"ink_sandbox::macros"],[780,"dyn_clone::sealed"],[781,"core::any"],[782,"byte_slice_cast"],[783,"core::result"],[784,"byte_slice_cast"],[785,"core::option"],[786,"frame_support::dispatch"],[787,"core::cmp"],[788,"parity_scale_codec::error"],[789,"parity_scale_codec::codec"],[790,"serde::de"],[791,"core::marker"],[792,"core::ops::function"],[793,"core::iter::traits::collect"],[794,"parity_scale_codec::codec"],[795,"core::fmt"],[796,"core::fmt"],[797,"frame_metadata::v15"],[798,"frame_metadata::v14"],[799,"sp_core::sr25519"],[800,"sp_core::ed25519"],[801,"pallet_balances::pallet"],[802,"pallet_balances::pallet"],[803,"sp_runtime::traits"],[804,"sp_arithmetic"],[805,"sp_runtime"],[806,"frame_system::pallet"],[807,"pallet_contracts::pallet"],[808,"core::hash"],[809,"core::hash"],[810,"alloc::sync"],[811,"alloc::rc"],[812,"core::ops::arith"],[813,"frame_support::dispatch"],[814,"alloc::string"],[815,"core::any"],[816,"primitive_types"],[817,"frame_support::dispatch"],[818,"pallet_contracts::primitives"],[819,"pallet_contracts::primitives"],[820,"core::ops::function"],[821,"pallet_contracts::primitives"],[822,"pallet_contracts::primitives"],[823,"core::fmt"],[824,"sp_runtime::transaction_validity"],[825,"pallet_contracts::primitives"]],"d":["Export pallets that are used in crate::create_sandbox An …","Alias for the account ID type.","An arithmetic error.","A bad origin.","","Failed to lookup some data.","At least one consumer is remaining so the account cannot …","Alias for the contract exec result.","Alias for the contract instantiate result.","The state is corrupt; this is generally not going to fix …","","Export pallets that are used in crate::create_sandbox …","Alias for the event record type.","Resources exhausted, e.g. attempt to read/write data which …","Export pallets that are used in crate::create_sandbox …","The maximal weight in all dimensions.","A custom error in a module.","There are no providers so the account cannot be created.","Some error occurred.","Root origin is not allowed.","The runtime associated with the sandbox.","Alias for the runtime call type.","Alias for the runtime event of a sandbox.","Metadata prefixed by a u32 for reserved usage","Alias for the runtime of a sandbox.","Sandbox defines the API of a sandboxed runtime.","Export pallets that are used in crate::create_sandbox Key …","Export pallets that are used in crate::create_sandbox Type …","An error to do with tokens.","There are too many consumers so the account cannot be …","The number of transactional layers has been reached, or we …","Some resource (e.g. a preimage) is unavailable right now. …","","","","","","","Constant version of Add for proof_size component with u64.","Constant version of Add for ref_time component with u64.","Returns true if all of self’s constituent weights is …","Returns true if all of self’s constituent weights is …","Returns true if all of self’s constituent weights is …","Returns true if all of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","","","","","","","","","","","","","Return the extension as &mut dyn Any.","","","","","","Storage backend.","","","","","","","","","","","","","","","","","","","","","Try to increase self by amount via checked addition.","Checked Weight addition. Computes self + rhs, returning …","","Checked Weight scalar division. Computes …","Calculates how many other fit into self.","Checked Weight scalar multiplication. Computes …","Try to reduce self by amount via checked subtraction.","","Checked Weight subtraction. Computes self - rhs, returning …","","","","","","","","","","Convert an account to an call origin.","Macro creating a minimal runtime with the given name. …","An optional debug message. This message is only filled …","An optional debug message. This message is only filled …","","","","","","","","","","","","","","","","","","Default actor for the sandbox.","","","","","","","","","","Constant version of Div with u64.","Dry run an action without modifying the storage.","","","","","","","","","","","","","","","","","","","","","","","","The event itself.","The events that were emitted during execution. It is an …","The events that were emitted during execution. It is an …","Execute the given externalities.","Extensions.","Finalize a block at particular height.","","","","","","","A format filterer, can be used to ensure that …","Export pallets that are used in crate::create_sandbox","Export pallets that are used in crate::create_sandbox","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","","","","","","","Returns the argument unchanged.","","","Construct Weight from the same weight for all parts.","","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Construct Weight from weight parts, namely reference time …","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Some if the string is a properly encoded SS58Check address.","Some if the string is a properly encoded SS58Check address.","","Some if the string is a properly encoded SS58Check …","Some if the string is a properly encoded SS58Check …","How much weight was consumed during execution.","How much weight was consumed during execution.","How much weight is required as gas limit in order to …","How much weight is required as gas limit in order to …","","Metadata of the runtime.","","","","","","Initialize a new block at particular height.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","Get the aggressive max of self and other weight.","","","","","","Get the conservative min of self and other weight.","","","","Constant version of Mul with u64.","Create a new instance from its raw inner byte value.","Export pallets that are used in crate::create_sandbox","Export pallets that are used in crate::create_sandbox","Export pallets that are used in crate::create_sandbox","","Export pallets that are used in crate::create_sandbox","","The phase of the block it happened in.","","","Return the storage size part of the weight.","Return a mutable reference to the storage size part of the …","Return the reference time part of the weight.","Return a mutable reference to the reference time part of …","Register an extension.","The execution result of the wasm code.","The execution result of the wasm code.","Increment Weight by amount via saturating addition.","Saturating Weight addition. Computes self + rhs, …","Saturating Weight scalar division. Computes …","Saturating Weight scalar multiplication. Computes …","Saturating Weight scalar exponentiation. Computes …","Reduce Weight by amount via saturating subtraction.","Saturating Weight subtraction. Computes self - rhs, …","","","","","Set the storage size part of the weight.","Set the reference time part of the weight.","","","","","Export pallets that are used in crate::create_sandbox","State version to use during tests.","How much balance was paid by the origin into the contract…","How much balance was paid by the origin into the contract…","Return the same error but without the attached message.","","","Constant version of Sub for proof_size component with u64.","Constant version of Sub for ref_time component with u64.","","","","","","","","Return the ss58-check string for this key.","Return the ss58-check string for this key.","","","The list of the topics this event has.","Try to add some other weight while upholding the limit.","","","","","","","","","","","","","","","","","","","","","","","","","","Get the TypeId of this Extension.","","","","","","","","","","","","","","","","","","","","","","","","","Return a Weight where all fields are zero.","","","","","","","Balance API for the sandbox.","Return the free balance of an account.","Mint tokens to an account.","Contract API used to interact with the contracts pallet.","The runtime contract config.","Interface for bare_call contract call.","Converts bytes to a ‘\\\\n’-split string, ignoring empty …","Interface for bare_instantiate contract call with a …","Interface for bare_instantiate contract call for a …","Interface for bare_upload_code contract call.","","","","","System API for the sandbox.","The runtime system config.","Return the current height of the chain.","Build a new empty block and return the new height.","Build n empty blocks and return the new height.","Return the events of the current block so far.","Reset the events of the current block.","Execute a runtime call (dispatchable).","The runtime timestamp config.","Timestamp API used to interact with the timestamp pallet.","Return the timestamp of the current block.","Set the timestamp of the current block.","","","","A helper struct for initializing and finalizing blocks.","","","","","","","Provides an implementation of PalletInfo to provide …","","","A reason for placing a hold on funds.","The runtime origin type representing the origin of a call.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Finalize a block at particular height.","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Convert to runtime origin with caller being system signed …","Convert to runtime origin, using as filter: […","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","","","","","","","","","","Initialize a new block at particular height.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new externalities with the given balances.","","Create with system none origin and […","","","","","Create with system root origin and […","","","","","","Create with system signed origin and […","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,17,17,0,17,17,0,0,17,0,0,0,17,0,3,17,17,17,17,110,0,0,0,0,0,0,0,17,17,17,17,0,3,9,17,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,22,9,17,3,22,9,17,9,9,9,61,9,9,9,9,9,105,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,3,3,3,3,3,3,3,3,3,3,3,9,17,3,9,17,9,110,0,111,70,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,110,110,9,9,9,9,3,9,17,3,3,110,9,9,9,3,22,9,17,3,22,9,17,3,3,3,22,22,22,9,9,9,17,17,17,71,111,70,110,105,110,3,3,22,9,9,17,112,0,0,3,3,3,22,22,22,9,9,9,9,17,17,17,17,17,17,17,17,17,17,3,9,3,3,22,22,9,9,17,17,3,3,3,22,22,9,9,17,17,112,112,9,112,112,111,70,111,70,9,110,9,3,22,9,17,110,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,3,0,3,3,9,17,3,3,3,3,3,3,3,9,0,0,0,9,0,3,71,3,17,3,3,3,3,110,111,70,3,3,3,3,3,3,3,3,22,9,17,3,3,3,22,9,17,0,105,111,70,17,3,3,3,3,3,22,9,17,3,9,17,112,112,3,9,71,3,3,22,9,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,61,3,22,9,17,3,9,17,9,3,22,9,17,3,3,22,9,17,9,3,22,9,17,3,17,3,3,0,0,0,0,0,0,113,113,0,114,114,0,114,114,114,0,0,0,0,0,115,115,115,115,115,115,115,116,0,116,116,0,83,84,0,0,82,83,84,0,0,0,0,0,0,0,0,83,84,0,83,77,82,83,84,85,77,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,82,83,84,82,83,84,82,83,84,87,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,87,87,87,77,77,82,83,84,85,77,82,83,84,85,85,87,118,82,83,84,82,83,84,82,83,84,82,83,84,87,87,87,83,83,83,87,82,83,84,85,82,83,84,85,82,82,82,83,83,83,84,84,84,85,85,85,87,87,77,117,87,77,82,83,84,85,87,117,87,118,77,77,77,82,82,83,83,83,83,83,84,84,84,84,85,117,117,87,87,118,118,77,77,82,82,83,83,84,84,85,85,117,117,87,87,118,118,77,77,82,82,83,83,84,84,85,85,83,83,83,87,83,87,82,83,84,118,117,87,87,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,117,118,82,83,84,85,117,87,118,77,82,83,84,85,77,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,83,83,83,83,83,82,85,85,85,87,118,118,118,117,77,77,85,87,87,77,77,77,87,77,87,77,77,82,83,84,82,83,84,77,82,83,84,85,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,84,84,84,85,117,87,118,77,82,83,84,85,77,82,83,84,82,83,84,82,83,84,117,87,118,77,82,83,84,85,82,83,84,85,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,87,85,117,87,118,77,82,83,84,85],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[3,3],3],[[3,3],2],[[3,4],3],[[3,4],3],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[8,[7]]],[]],[9,[[10,[7]]]],[9,[[8,[7]]]],[-1,6,[]],[-1,[[8,[7]]],[]],[-1,[[12,[[8,[-2]],11]]],[],13],[9,[[10,[7]]]],[9,[[8,[7]]]],[-1,[[12,[[8,[-2]],11]]],[],13],0,[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[3,3],[[15,[2]]]],[[3,3],[[15,[3]]]],[[3,3],[[15,[3]]]],[[3,4],[[15,[3]]]],[[3,3],[[15,[4]]]],[[3,4],[[15,[3]]]],[[3,3],[[15,[2]]]],[[3,3],[[15,[3]]]],[[3,3],[[15,[3]]]],[[3,-1],16,[]],[[],-1,[]],[3,3],[9,9],[17,17],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[9,9],18],[19],0,0,0,[-1,[[12,[3,20]]],21],[-1,[[12,[22,20]]],21],[-1,[[12,[9,20]]],21],[-1,[[12,[17,20]]],21],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[],3],[[],19],[[],3],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[-1,[[12,[3]]],24],[-1,[[12,[9]]],24],[-1,[[12,[17]]],24],[[3,-1],3,25],[[3,4],3],[[-1,-2],-3,[],26,[]],[9,[[14,[7]]]],[-1,-2,[],[[28,[27]]]],[-1,-2,[],[[28,[27]]]],[[3,-1],2,[29,30]],[[22,-1],2,[29,30]],[[9,-1],2,[29,30]],[[17,-1],2,[29,30]],[[3,3],5],[[22,22],5],[[9,9],5],[[17,17],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[-1,-2],-3,[],26,[]],0,[31],[[3,32],[[12,[2,33]]]],[[3,32],[[12,[2,33]]]],[[22,32],[[12,[2,33]]]],[[9,32],[[12,[2,33]]]],[[9,32],[[12,[2,33]]]],[[17,32],[[12,[2,33]]]],[34,5],0,0,[[[2,[4,4]]],3],[4,3],[-1,-1,[]],[-1,-1,[]],[35,22],[36,22],[37,9],[-1,-1,[]],[[[10,[7]]],9],[38,9],[[[39,[-2,-1]]],17,[],[[40,[-1]]]],[41,17],[42,17],[43,17],[44,17],[45,17],[46,17],[-1,-1,[]],[[[47,[-1]]],17,48],[[[49,[-1]]],17,50],[4,3],[-1,[[12,[9,20]]],21],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[[4,4],3],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[41,[[12,[-1,51]]],[]],[41,[[12,[[2,[-1,34]],51]]],[]],[41,[[12,[9]]]],[41,[[12,[-1,51]]],[]],[41,[[12,[[2,[-1,34]],51]]],[]],0,0,0,0,[[-1,-2],4,[52,30],53],[[],22],[[9,-1],2,54],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[31,2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,5,[]],[3,5],0,[[3,3],3],[[],58],[[],58],[[],58],[[],3],[[],-1,[]],[[3,3],3],[[],3],[[],-1,[]],[[3,-1],3,[[59,[4]],25]],[[3,4],3],[[[10,[7]]],9],0,0,0,[[9,9],[[15,[18]]]],0,[[3,-1],60,[]],0,[3,2],[17,2],[3,4],[3,4],[3,4],[3,4],[[-1,-2],2,[],[6,61]],0,0,[[3,3],2],[[3,3],3],[[3,4],3],[[3,4],3],[[3,23],3],[[3,3],2],[[3,3],3],[[3,-1],12,62],[[22,-1],12,62],[[9,-1],12,62],[[17,-1],12,62],[[3,4],3],[[3,4],3],[3,58],[22,58],[9,58],[17,58],0,0,0,0,[17,17],[[3,3],3],[[3,3],2],[[3,4],3],[[3,4],3],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,63,[]],[[-1,34],63,[]],[-1,63,[]],[-1,63,[]],0,[[3,3,3],[[15,[3]]]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[[[8,[7]]],[[12,[9,2]]]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[[],65],[[],65],[[],65],[66,9],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[9,-1],-2,26,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[3,-1],3,[]],[[-1,3],[[68,[67]]],[]],[[],3],[[],3],0,0,0,0,0,0,[[-1,19],[],[]],[[-1,19],[[12,[17]]],[]],0,0,[[-1,19,[14,[7]],19,3,15,69],70,[]],[[[8,[7]]],[[14,[63]]]],[[-1,[14,[7]],[14,[7]],[14,[7]],19,3,15],[[72,[19,71]]],[]],[[-1,[14,[7]],[14,[7]],[14,[7]],19,3,15],[[72,[19,71]]],[]],[[-1,[14,[7]],19,15,69],73,[]],0,0,0,0,0,0,[-1,31,[]],[-1,31,[]],[[-1,23],31,[]],[-1,[[14,[71]]],[]],[-1,2,[]],[[-1,74,-2],75,[],76],0,0,[-1,[],[]],[-1,2,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[77,-1],2,78],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[],[]],[[-1,23],[],[]],[[-1,[14,[7]],3,15,69],[[81,[[12,[79,17]],80]]],[]],[77],[77,77],[82,82],[83,83],[84,84],[85,85],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[3],[19],[[],[[15,[86]]]],[-1,[[12,[82,20]]],21],[-1,[[12,[83,20]]],21],[-1,[[12,[84,20]]],21],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[],87],[[],19],[[-1,[14,[7]],[14,[7]],[14,[7]],3,15],[[81,[[12,[88,17]],80]]],[]],[-1,[[12,[68]]],[]],[[83,77],89],[[83,77],89],[[87,-1],-2,26,[]],[[82,-1],2,[29,30]],[[83,-1],2,[29,30]],[[84,-1],2,[29,30]],[[],[[12,[2,23]]]],[[82,82],5],[[83,83],5],[[84,84],5],[[85,85],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,[[14,[80]]],[]],[[87,-1],-2,26,[]],[77,5],[[[31,[-1]]],[],[40,90,50]],[31],[[77,32],[[12,[2,33]]]],[[82,32],91],[[83,32],91],[[84,32],91],[[85,32],91],[-1,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[15,77],[[[92,[85]]],77],[93,82],[-1,-1,[]],[[[95,[94,85]]],83],[[[95,[96,85]]],83],[[[95,[97,85]]],83],[-1,-1,[]],[[[95,[98,85]]],83],[[[99,[85]]],84],[[[100,[85]]],84],[[[101,[85]]],84],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[83,102],[41,[[8,[41]]]],[83,103],[[],22],[[],[[8,[41]]]],[-1,[],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[[],[[15,[58]]]],[[[31,[-1]]],2,[40,90,50]],[31,2],[[-1,[14,[7]],[14,[7]],[14,[7]],3,15],[[81,[[12,[88,17]],80]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[77],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[83,5],[83,[[15,[[95,[97,85]]]]]],[83,[[15,[[95,[96,85]]]]]],[83,[[15,[[95,[94,85]]]]]],[83,[[15,[[95,[98,85]]]]]],[[],58],[[],22],[23,[[15,[104]]]],[[],[[14,[23]]]],[-1,[[12,[17]]],[]],[[],[[15,[41]]]],[[],[[15,[41]]]],[[],[[15,[[10,[7]]]]]],[[[14,[2]]],105],[[],77],[[],77],[[],[[12,[2,106]]]],[[87,-1],2,[6,61]],[-1,2,[]],[77,2],[[],77],[[],77],[[-1,-2],[[12,[68]]],[],76],[[77,-1],2,[[76,[77]]]],[-1,2,[]],[[],77],[[],77],[82,58],[83,58],[84,58],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[84,[[12,[[101,[85]]]]]],[84,[[12,[[100,[85]]]]]],[84,[[12,[[99,[85]]]]]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[[77,-1],[[12,[-2,77]]],26,[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[[],65],[[],65],[[],65],[[],65],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[14,[7]],15,69],[[12,[107,17]]],[]],[108,109],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Private",780],[15,"tuple"],[3,"Weight",0],[15,"u64"],[15,"bool"],[8,"Any",781],[15,"u8"],[15,"slice"],[3,"AccountId32",0],[15,"array"],[4,"Error",782],[4,"Result",783],[8,"FromByteSlice",782],[3,"Vec",784],[4,"Option",785],[4,"DispatchClass",786],[4,"DispatchError",0],[4,"Ordering",787],[6,"AccountIdFor",0],[3,"Error",788],[8,"Input",789],[3,"RuntimeMetadataPrefixed",0],[15,"u32"],[8,"Deserializer",790],[8,"Copy",791],[8,"FnOnce",792],[15,"char"],[8,"FromIterator",793],[8,"Output",789],[8,"Sized",791],[6,"BlockNumberFor",794],[3,"Formatter",795],[3,"Error",795],[3,"Ss58AddressFormat",796],[3,"RuntimeMetadataV15",797],[3,"RuntimeMetadataV14",798],[3,"Public",799],[3,"Public",800],[4,"Error",801],[8,"Config",801],[15,"str"],[4,"TransactionalError",802],[3,"LookupError",803],[4,"ArithmeticError",804],[4,"TokenError",802],[3,"BadOrigin",803],[4,"Error",805],[8,"Config",805],[4,"Error",806],[8,"Config",806],[4,"PublicError",807],[8,"Hash",808],[8,"BuildHasher",808],[8,"Hasher",808],[3,"Box",809],[3,"Arc",810],[3,"Rc",811],[15,"usize"],[8,"Mul",812],[4,"Pays",786],[8,"Extension",0],[8,"Serializer",813],[3,"String",814],[3,"TypeId",781],[3,"Type",815],[3,"H256",816],[3,"PostDispatchInfo",786],[3,"DispatchErrorWithPostInfo",802],[4,"Determinism",817],[6,"ContractExecResultFor",0],[6,"EventRecordOf",0],[6,"ContractInstantiateResult",818],[6,"CodeUploadResult",818],[6,"RuntimeCall",0],[6,"DispatchResultWithInfo",802],[8,"Into",819],[3,"RuntimeOrigin",414],[8,"Fn",792],[3,"ExecReturnValue",818],[3,"EventRecord",820],[3,"ContractResult",818],[4,"RuntimeHoldReason",414],[4,"RuntimeCall",414],[4,"RuntimeEvent",414],[3,"DefaultSandboxRuntime",414],[3,"CrateVersion",821],[3,"DefaultSandbox",414],[3,"InstantiateReturnValue",818],[6,"DispatchResultWithPostInfo",786],[8,"Config",822],[6,"Result",795],[6,"Origin",805],[4,"HoldReason",806],[6,"Contracts",414],[6,"CallableCallFor",786],[6,"System",414],[6,"Balances",414],[6,"Timestamp",414],[4,"Event",806],[4,"Event",801],[4,"Event",805],[3,"CallMetadata",821],[3,"DispatchInfo",786],[3,"OpaqueMetadata",823],[6,"TestExternalities",0],[4,"TransactionValidityError",824],[3,"CodeUploadReturnValue",818],[4,"TransactionSource",824],[6,"TransactionValidity",824],[8,"Sandbox",0],[6,"ContractInstantiateResultFor",0],[8,"Ss58Codec",0],[8,"BalanceAPI",388],[8,"ContractAPI",391],[8,"SystemAPI",402],[8,"TimestampAPI",410],[3,"BlockBuilder",414],[3,"PalletInfo",414]],"b":[[59,"impl-AsMut%3C%5Bu8;+32%5D%3E-for-AccountId32"],[60,"impl-AsMut%3C%5Bu8%5D%3E-for-AccountId32"],[64,"impl-AsRef%3C%5Bu8;+32%5D%3E-for-AccountId32"],[65,"impl-AsRef%3C%5Bu8%5D%3E-for-AccountId32"],[89,"impl-Weight"],[90,"impl-CheckedAdd-for-Weight"],[95,"impl-CheckedSub-for-Weight"],[96,"impl-Weight"],[136,"impl-Div%3CT%3E-for-Weight"],[137,"impl-Weight"],[168,"impl-Display-for-Weight"],[169,"impl-Debug-for-Weight"],[171,"impl-Display-for-AccountId32"],[172,"impl-Debug-for-AccountId32"],[177,"impl-From%3C(u64,+u64)%3E-for-Weight"],[178,"impl-From%3Cu64%3E-for-Weight"],[181,"impl-From%3CRuntimeMetadataV15%3E-for-RuntimeMetadataPrefixed"],[182,"impl-From%3CRuntimeMetadataV14%3E-for-RuntimeMetadataPrefixed"],[183,"impl-From%3CPublic%3E-for-AccountId32"],[185,"impl-From%3C%5Bu8;+32%5D%3E-for-AccountId32"],[186,"impl-From%3CPublic%3E-for-AccountId32"],[187,"impl-From%3CError%3CT,+I%3E%3E-for-DispatchError"],[188,"impl-From%3C%26str%3E-for-DispatchError"],[189,"impl-From%3CTransactionalError%3E-for-DispatchError"],[190,"impl-From%3CLookupError%3E-for-DispatchError"],[191,"impl-From%3CArithmeticError%3E-for-DispatchError"],[192,"impl-From%3CTokenError%3E-for-DispatchError"],[193,"impl-From%3CBadOrigin%3E-for-DispatchError"],[195,"impl-From%3CError%3CT%3E%3E-for-DispatchError"],[196,"impl-From%3CError%3CT%3E%3E-for-DispatchError"],[273,"impl-Mul%3CT%3E-for-Weight"],[274,"impl-Weight"],[381,"impl-Weight"],[382,"impl-Zero-for-Weight"],[553,"impl-From%3COption%3C%3CDefaultSandboxRuntime+as+Config%3E::AccountId%3E%3E-for-RuntimeOrigin"],[554,"impl-From%3CRawOrigin%3C%3CDefaultSandboxRuntime+as+Config%3E::AccountId%3E%3E-for-RuntimeOrigin"],[557,"impl-From%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[558,"impl-From%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[559,"impl-From%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[561,"impl-From%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[562,"impl-From%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[563,"impl-From%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[564,"impl-From%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[668,"impl-IsSubType%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[669,"impl-IsSubType%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[670,"impl-IsSubType%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[671,"impl-IsSubType%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[681,"impl-OriginTrait-for-RuntimeOrigin"],[682,"impl-RuntimeOrigin"],[687,"impl-RuntimeOrigin"],[688,"impl-OriginTrait-for-RuntimeOrigin"],[692,"impl-OriginTrait-for-RuntimeOrigin"],[693,"impl-RuntimeOrigin"],[719,"impl-TryInto%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[720,"impl-TryInto%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[721,"impl-TryInto%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"]]},\ +"ink_primitives":{"doc":"Utilities in use by ink!.","t":"DSIGNNNDGDEGNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["AccountId","CLEAR_HASH","Clear","ConstructorResult","CouldNotReadInput","Err","Err","Hash","Key","KeyComposer","LangError","MessageResult","Ok","Ok","as_byte_slice","as_byte_slice","as_mut","as_mut","as_mut","as_mut_byte_slice","as_mut_byte_slice","as_mut_slice_of","as_mut_slice_of","as_ref","as_ref","as_ref","as_slice_of","as_slice_of","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","compute_key","concat","decode","decode","decode","decode_all","decode_all","decode_all","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_as_fields","decode_as_fields","decode_as_type_maybe_compact","decode_as_type_maybe_compact","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","default","encode","encode","encode_as_fields_to","encode_as_fields_to","encode_as_type_to","encode_as_type_to","encode_to","encode_to","encode_to","eq","eq","eq","fmt","fmt","fmt","from","from","from","from","from","from","from_bytes","from_str","hash","hash","into","into","into","into","into_visitor","into_visitor","is_clear","is_clear","max_encoded_len","max_encoded_len","partial_cmp","partial_cmp","size_hint","size_hint","size_hint","to_keyed_vec","to_keyed_vec","to_keyed_vec","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_info","type_info","type_info","using_encoded","using_encoded"],"q":[[0,"ink_primitives"],[128,"byte_slice_cast"],[129,"core::result"],[130,"byte_slice_cast"],[131,"parity_scale_codec::error"],[132,"parity_scale_codec::codec"],[133,"scale_type_resolver"],[134,"scale_decode::error"],[135,"scale_type_resolver"],[136,"scale_encode::error"],[137,"parity_scale_codec::codec"],[138,"core::fmt"],[139,"core::fmt"],[140,"core::option"],[141,"core::array"],[142,"core::any"],[143,"scale_info::ty"],[144,"core::ops::function"]],"d":["The default environment AccountId type.","The clear hash.","The equivalent of Zero for hashes.","The Result type for ink! constructors.","Failed to read execution input for the dispatchable.","Contains the error value","Contains the error value","The default environment Hash type.","A key into the smart contract storage.","Contains all rules related to storage key creation.","An error emitted by the smart contracting language.","The Result type for ink! messages.","Contains the success value","Contains the success value","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Evaluates the storage key of the field in the structure, …","Concatenate two Key into one during compilation.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the storage key from the supplied bytes.","Return the storage key from the supplied str.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","Returns true if the hash is clear.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,34,0,0,9,35,36,0,0,0,0,0,35,36,3,5,3,3,5,3,5,3,5,3,3,5,3,5,37,3,5,9,37,3,5,9,3,5,9,3,5,9,3,5,37,37,3,5,9,3,5,9,3,5,9,3,5,3,5,3,5,9,5,3,5,3,5,3,5,3,5,9,3,5,9,3,5,9,37,3,3,5,5,9,37,37,3,5,37,3,5,9,3,5,34,5,3,5,3,5,3,5,9,3,5,9,3,5,9,37,3,3,5,5,9,37,3,5,9,37,3,5,9,3,5,9,3,5],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,[-1,[[2,[1]]],[]],[-1,[[2,[1]]],[]],[3,[[2,[1]]]],[3,[[4,[1]]]],[5,[[2,[1]]]],[-1,[[2,[1]]],[]],[-1,[[2,[1]]],[]],[-1,[[7,[[2,[-2]],6]]],[],8],[-1,[[7,[[2,[-2]],6]]],[],8],[3,[[4,[1]]]],[3,[[2,[1]]]],[5,[[2,[1]]]],[-1,[[7,[[2,[-2]],6]]],[],8],[-1,[[7,[[2,[-2]],6]]],[],8],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[3,3],[5,5],[9,9],[[-1,-2],10,[],[]],[[-1,-2],10,[],[]],[[-1,-2],10,[],[]],[[3,3],11],[[5,5],11],[[12,12,12],[[7,[13,0]]]],[[13,13],13],[-1,[[7,[3,14]]],15],[-1,[[7,[5,14]]],15],[-1,[[7,[9,14]]],15],[[[2,[1]]],[[7,[-1,14]]],[]],[[[2,[1]]],[[7,[-1,14]]],[]],[[[2,[1]]],[[7,[-1,14]]],[]],[[16,[2,[1]]],[[7,[-1,14]]],[]],[[16,[2,[1]]],[[7,[-1,14]]],[]],[[16,[2,[1]]],[[7,[-1,14]]],[]],[[[2,[1]],17,-1],[[7,[3,18]]],19],[[[2,[1]],17,-1],[[7,[5,18]]],19],[[[2,[1]],-1,20],[[7,[-2,18]]],19,[]],[[[2,[1]],-1,20],[[7,[-2,18]]],19,[]],[[16,-1],[[7,[-2,14]]],15,[]],[[16,-1],[[7,[-2,14]]],15,[]],[[16,-1],[[7,[-2,14]]],15,[]],[[],5],[3,[[21,[1]]]],[5,[[21,[1]]]],[[3,17,-1,[21,[1]]],[[7,[10,22]]],19],[[5,17,-1,[21,[1]]],[[7,[10,22]]],19],[[3,-1,[21,[1]]],[[7,[10,22]]],19],[[5,-1,[21,[1]]],[[7,[10,22]]],19],[[3,-1],10,[23,24]],[[5,-1],10,[23,24]],[[9,-1],10,[23,24]],[[3,3],20],[[5,5],20],[[9,9],20],[[3,25],26],[[5,25],26],[[9,25],26],[-1,-1,[]],[[[4,[1]]],3],[-1,-1,[]],[[[4,[1]]],5],[-1,-1,[]],[-1,-1,[]],[[[2,[1]]],13],[12,13],[[3,-1],10,27],[[5,-1],10,27],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[]],[[]],[-1,20,[]],[5,20],[[],28],[[],28],[[3,3],[[29,[11]]]],[[5,5],[[29,[11]]]],[3,28],[5,28],[9,28],[[-1,[2,[1]]],[[21,[1]]],[]],[[-1,[2,[1]]],[[21,[1]]],[]],[[-1,[2,[1]]],[[21,[1]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[7,[-2]]],[],[]],[[[2,[1]]],[[7,[3,30]]]],[-1,[[7,[-2]]],[],[]],[[[2,[1]]],[[7,[5,30]]]],[-1,[[7,[-2]]],[],[]],[-1,[[7,[-2]]],[],[]],[-1,[[7,[-2]]],[],[]],[-1,[[7,[-2]]],[],[]],[-1,[[7,[-2]]],[],[]],[-1,[[7,[-2]]],[],[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[-1,31,[]],[[],32],[[],32],[[],32],[[3,-1],-2,33,[]],[[5,-1],-2,33,[]]],"c":[],"p":[[15,"u8"],[15,"slice"],[3,"AccountId",0],[15,"array"],[3,"Hash",0],[4,"Error",128],[4,"Result",129],[8,"FromByteSlice",128],[4,"LangError",0],[15,"tuple"],[4,"Ordering",130],[15,"str"],[6,"Key",0],[3,"Error",131],[8,"Input",132],[15,"u32"],[8,"FieldIter",133],[3,"Error",134],[8,"TypeResolver",133],[15,"bool"],[3,"Vec",135],[3,"Error",136],[8,"Output",132],[8,"Sized",137],[3,"Formatter",138],[6,"Result",138],[8,"Hasher",139],[15,"usize"],[4,"Option",140],[3,"TryFromSliceError",141],[3,"TypeId",142],[3,"Type",143],[8,"FnOnce",144],[8,"Clear",0],[6,"MessageResult",0],[6,"ConstructorResult",0],[3,"KeyComposer",0]],"b":[[16,"impl-AsMut%3C%5Bu8%5D%3E-for-AccountId"],[17,"impl-AsMut%3C%5Bu8;+32%5D%3E-for-AccountId"],[23,"impl-AsRef%3C%5Bu8;+32%5D%3E-for-AccountId"],[24,"impl-AsRef%3C%5Bu8%5D%3E-for-AccountId"]]},\ +"ink_sandbox":{"doc":"","t":"DGNNCNNGGNCEGNISNNNNQGGDGIIGNNNNDLLLLLLLLLLLLLLLLALLLLLLLLLLLKLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKOMMLLLLLLLLLLLLLLLLLKLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLMMMKMLLLLLLLLCCLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLCCCLCLMLLLLLLKMMLLLLLLLLLLLLLLLLLCMMMLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLAAAAAIKKIQKFKKKCCCCIQKKKKKKQIKKGNNDGNNNDDDEEEDGNNGNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["AccountId32","AccountIdFor","Arithmetic","BadOrigin","BlockBuilder","CannotLookup","ConsumerRemaining","ContractExecResultFor","ContractInstantiateResultFor","Corruption","DefaultSandbox","DispatchError","EventRecordOf","Exhausted","Extension","MAX","Module","NoProviders","Other","RootNotAllowed","Runtime","RuntimeCall","RuntimeEventOf","RuntimeMetadataPrefixed","RuntimeOf","Sandbox","Ss58Codec","TestExternalities","Token","TooManyConsumers","Transactional","Unavailable","Weight","__clone_box","__clone_box","__clone_box","add","add_assign","add_proof_size","add_ref_time","all_gt","all_gte","all_lt","all_lte","any_eq","any_gt","any_gte","any_lt","any_lte","api","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_byte_slice","as_mut","as_mut","as_mut_any","as_mut_byte_slice","as_mut_slice_of","as_ref","as_ref","as_slice_of","backend","blake2_128","blake2_128","blake2_128","blake2_128","blake2_128_concat","blake2_128_concat","blake2_128_concat","blake2_128_concat","blake2_256","blake2_256","blake2_256","blake2_256","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","checked_accrue","checked_add","checked_add","checked_div","checked_div_per_component","checked_mul","checked_reduce","checked_sub","checked_sub","classify_dispatch","clear","clone","clone","clone","clone_into","clone_into","clone_into","cmp","convert_account_to_origin","create_sandbox","debug_message","debug_message","decode","decode","decode","decode","decode_all","decode_all","decode_all","decode_all","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","default","default_actor","default_gas_limit","defensive_max","defensive_min","defensive_strict_max","defensive_strict_min","deserialize","deserialize","deserialize","div","div","dry_run","encode","encode_hex","encode_hex_upper","encode_to","encode_to","encode_to","encode_to","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","event","events","events","execute_with","extensions","finalize_block","fmt","fmt","fmt","fmt","fmt","fmt","format_is_allowed","frame_support","frame_system","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_all","from_entropy","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_parts","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ss58check","from_ss58check_with_version","from_str","from_string","from_string_with_version","gas_consumed","gas_consumed","gas_required","gas_required","get_hash","get_metadata","hash","identity","identity","identity","identity","initialize_block","into","into","into","into","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_key","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","into_ref","is_clear","is_zero","macros","max","max_encoded_len","max_encoded_len","max_encoded_len","max_value","max_value","min","min_value","min_value","mul","mul","new","pallet_balances","pallet_contracts","pallet_timestamp","partial_cmp","paste","pays_fee","phase","print","print","proof_size","proof_size_mut","ref_time","ref_time_mut","register_extension","result","result","saturating_accrue","saturating_add","saturating_div","saturating_mul","saturating_pow","saturating_reduce","saturating_sub","serialize","serialize","serialize","serialize","set_proof_size","set_ref_time","size_hint","size_hint","size_hint","size_hint","sp_externalities","state_version","storage_deposit","storage_deposit","stripped","sub","sub_assign","sub_proof_size","sub_ref_time","to_keyed_vec","to_keyed_vec","to_keyed_vec","to_keyed_vec","to_owned","to_owned","to_owned","to_ss58check","to_ss58check_with_version","to_string","to_string","topics","try_add","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","try_into_key","twox_128","twox_128","twox_128","twox_128","twox_256","twox_256","twox_256","twox_256","twox_64_concat","twox_64_concat","twox_64_concat","twox_64_concat","type_id","type_id","type_id","type_id","type_id","type_info","type_info","type_info","unchecked_from","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unique_saturated_from","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","using_encoded","vzip","vzip","vzip","vzip","weigh_data","with_weight","zero","zero","balance_api","contracts_api","prelude","system_api","timestamp_api","BalanceAPI","free_balance","mint_into","ContractAPI","T","call_contract","decode_debug_buffer","deploy_contract","instantiate_contract","upload_contract","BalanceAPI","ContractAPI","SystemAPI","TimestampAPI","SystemAPI","T","block_number","build_block","build_blocks","events","reset_events","runtime_call","T","TimestampAPI","get_timestamp","set_timestamp","Balances","Balances","Balances","BlockBuilder","Contracts","Contracts","Contracts","Contracts","DefaultSandbox","DefaultSandboxRuntime","PalletInfo","RuntimeCall","RuntimeEvent","RuntimeHoldReason","RuntimeOrigin","System","System","System","Timestamp","Timestamp","__clone_box","__clone_box","__clone_box","__clone_box","__clone_box","add_filter","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","as_any_mut","blake2_128","blake2_128","blake2_128","blake2_128_concat","blake2_128_concat","blake2_128_concat","blake2_256","blake2_256","blake2_256","block_number","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_block","build_blocks","call_contract","caller","caller","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","convert","convert_account_to_origin","crate_version","decode","decode","decode","decode_all","decode_all","decode_all","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_all_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","decode_with_depth_limit","default","default_actor","deploy_contract","dispatch","dispatch","dispatch_bypass_filter","dry_run","encode_to","encode_to","encode_to","ensure_inherents_are_first","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","events","execute_with","filter_call","finalize_block","finalize_block","fmt","fmt","fmt","fmt","fmt","free_balance","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","from_ref","get_call_metadata","get_call_names","get_dispatch_info","get_metadata","get_module_names","get_timestamp","identity","identity","identity","index","initialize_block","initialize_block","instantiate_contract","into","into","into","into","into","into","into","into","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_any_rc","into_caller","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_key","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_mut","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","into_ref","is_feeless","is_inherent","is_sub_type","is_sub_type","is_sub_type","is_sub_type","max_encoded_len","metadata","metadata_at_version","metadata_versions","mint_into","module_name","name","name_hash","new_ext","none","none","pre_dispatch","register_extension","reset_events","reset_filter","root","root","runtime_call","set_caller_from","set_timestamp","signed","signed","size_hint","size_hint","size_hint","to_keyed_vec","to_keyed_vec","to_keyed_vec","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_into_key","try_with_caller","twox_128","twox_128","twox_128","twox_256","twox_256","twox_256","twox_64_concat","twox_64_concat","twox_64_concat","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_info","type_info","type_info","type_info","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","unique_saturated_into","upload_contract","validate_unsigned","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"ink_sandbox"],[383,"ink_sandbox::api"],[388,"ink_sandbox::api::balance_api"],[391,"ink_sandbox::api::contracts_api"],[398,"ink_sandbox::api::prelude"],[402,"ink_sandbox::api::system_api"],[410,"ink_sandbox::api::timestamp_api"],[414,"ink_sandbox::macros"],[782,"dyn_clone::sealed"],[783,"core::any"],[784,"byte_slice_cast"],[785,"core::result"],[786,"byte_slice_cast"],[787,"core::option"],[788,"frame_support::dispatch"],[789,"core::cmp"],[790,"parity_scale_codec::error"],[791,"parity_scale_codec::codec"],[792,"serde::de"],[793,"core::marker"],[794,"core::ops::function"],[795,"core::iter::traits::collect"],[796,"parity_scale_codec::codec"],[797,"core::fmt"],[798,"core::fmt"],[799,"frame_metadata::v14"],[800,"frame_metadata::v15"],[801,"sp_core::sr25519"],[802,"sp_core::ed25519"],[803,"sp_arithmetic"],[804,"pallet_contracts::pallet"],[805,"pallet_contracts::pallet"],[806,"pallet_balances::pallet"],[807,"sp_runtime"],[808,"sp_runtime::traits"],[809,"frame_system::pallet"],[810,"core::hash"],[811,"core::hash"],[812,"alloc::sync"],[813,"alloc::rc"],[814,"core::ops::arith"],[815,"frame_support::dispatch"],[816,"alloc::string"],[817,"core::any"],[818,"primitive_types"],[819,"frame_support::dispatch"],[820,"pallet_contracts::primitives"],[821,"pallet_contracts::primitives"],[822,"core::ops::function"],[823,"pallet_contracts::primitives"],[824,"pallet_contracts::primitives"],[825,"core::fmt"],[826,"sp_runtime::transaction_validity"],[827,"pallet_contracts::primitives"]],"d":["Export pallets that are used in crate::create_sandbox An …","Alias for the account ID type.","An arithmetic error.","A bad origin.","","Failed to lookup some data.","At least one consumer is remaining so the account cannot …","Alias for the contract exec result.","Alias for the contract instantiate result.","The state is corrupt; this is generally not going to fix …","","Export pallets that are used in crate::create_sandbox …","Alias for the event record type.","Resources exhausted, e.g. attempt to read/write data which …","Export pallets that are used in crate::create_sandbox …","The maximal weight in all dimensions.","A custom error in a module.","There are no providers so the account cannot be created.","Some error occurred.","Root origin is not allowed.","The runtime associated with the sandbox.","Alias for the runtime call type.","Alias for the runtime event of a sandbox.","Metadata prefixed by a u32 for reserved usage","Alias for the runtime of a sandbox.","Sandbox defines the API of a sandboxed runtime.","Export pallets that are used in crate::create_sandbox Key …","Export pallets that are used in crate::create_sandbox Type …","An error to do with tokens.","There are too many consumers so the account cannot be …","The number of transactional layers has been reached, or we …","Some resource (e.g. a preimage) is unavailable right now. …","","","","","","","Constant version of Add for proof_size component with u64.","Constant version of Add for ref_time component with u64.","Returns true if all of self’s constituent weights is …","Returns true if all of self’s constituent weights is …","Returns true if all of self’s constituent weights is …","Returns true if all of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","Returns true if any of self’s constituent weights is …","","","","","","","","","","","","","Return the extension as &mut dyn Any.","","","","","","Storage backend.","","","","","","","","","","","","","","","","","","","","","Try to increase self by amount via checked addition.","","Checked Weight addition. Computes self + rhs, returning …","Checked Weight scalar division. Computes …","Calculates how many other fit into self.","Checked Weight scalar multiplication. Computes …","Try to reduce self by amount via checked subtraction.","","Checked Weight subtraction. Computes self - rhs, returning …","","","","","","","","","","Convert an account to an call origin.","Macro creating a minimal runtime with the given name. …","An optional debug message. This message is only filled …","An optional debug message. This message is only filled …","","","","","","","","","","","","","","","","","","Default actor for the sandbox.","","","","","","","","","","Constant version of Div with u64.","Dry run an action without modifying the storage.","","","","","","","","","","","","","","","","","","","","","","","","The event itself.","The events that were emitted during execution. It is an …","The events that were emitted during execution. It is an …","Execute the given externalities.","Extensions.","Finalize a block at particular height.","","","","","","","A format filterer, can be used to ensure that …","Export pallets that are used in crate::create_sandbox","Export pallets that are used in crate::create_sandbox","Returns the argument unchanged.","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","","","Construct Weight from the same weight for all parts.","","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","Construct Weight from weight parts, namely reference time …","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","Some if the string is a properly encoded SS58Check address.","Some if the string is a properly encoded SS58Check address.","","Some if the string is a properly encoded SS58Check …","Some if the string is a properly encoded SS58Check …","How much weight was consumed during execution.","How much weight was consumed during execution.","How much weight is required as gas limit in order to …","How much weight is required as gas limit in order to …","","Metadata of the runtime.","","","","","","Initialize a new block at particular height.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","Get the aggressive max of self and other weight.","","","","","","Get the conservative min of self and other weight.","","","","Constant version of Mul with u64.","Create a new instance from its raw inner byte value.","Export pallets that are used in crate::create_sandbox","Export pallets that are used in crate::create_sandbox","Export pallets that are used in crate::create_sandbox","","Export pallets that are used in crate::create_sandbox","","The phase of the block it happened in.","","","Return the storage size part of the weight.","Return a mutable reference to the storage size part of the …","Return the reference time part of the weight.","Return a mutable reference to the reference time part of …","Register an extension.","The execution result of the wasm code.","The execution result of the wasm code.","Increment Weight by amount via saturating addition.","Saturating Weight addition. Computes self + rhs, …","Saturating Weight scalar division. Computes …","Saturating Weight scalar multiplication. Computes …","Saturating Weight scalar exponentiation. Computes …","Reduce Weight by amount via saturating subtraction.","Saturating Weight subtraction. Computes self - rhs, …","","","","","Set the storage size part of the weight.","Set the reference time part of the weight.","","","","","Export pallets that are used in crate::create_sandbox","State version to use during tests.","How much balance was paid by the origin into the contract…","How much balance was paid by the origin into the contract…","Return the same error but without the attached message.","","","Constant version of Sub for proof_size component with u64.","Constant version of Sub for ref_time component with u64.","","","","","","","","Return the ss58-check string for this key.","Return the ss58-check string for this key.","","","The list of the topics this event has.","Try to add some other weight while upholding the limit.","","","","","","","","","","","","","","","","","","","","","","","","","","Get the TypeId of this Extension.","","","","","","","","","","","","","","","","","","","","","","","","","","Return a Weight where all fields are zero.","","","","","","Balance API for the sandbox.","Return the free balance of an account.","Mint tokens to an account.","Contract API used to interact with the contracts pallet.","The runtime contract config.","Interface for bare_call contract call.","Converts bytes to a ‘\\\\n’-split string, ignoring empty …","Interface for bare_instantiate contract call with a …","Interface for bare_instantiate contract call for a …","Interface for bare_upload_code contract call.","","","","","System API for the sandbox.","The runtime system config.","Return the current height of the chain.","Build a new empty block and return the new height.","Build n empty blocks and return the new height.","Return the events of the current block so far.","Reset the events of the current block.","Execute a runtime call (dispatchable).","The runtime timestamp config.","Timestamp API used to interact with the timestamp pallet.","Return the timestamp of the current block.","Set the timestamp of the current block.","","","","A helper struct for initializing and finalizing blocks.","","","","","","","Provides an implementation of PalletInfo to provide …","","","A reason for placing a hold on funds.","The runtime origin type representing the origin of a call.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Finalize a block at particular height.","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Convert to runtime origin with caller being system signed …","Convert to runtime origin, using as filter: […","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","","","","","","","","","Initialize a new block at particular height.","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a new externalities with the given balances.","Create with system none origin and […","","","","","","Create with system root origin and […","","","","","Create with system signed origin and […","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,0,17,17,0,17,17,0,0,17,0,0,0,17,0,3,17,17,17,17,110,0,0,0,0,0,0,0,17,17,17,17,0,3,9,17,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,22,9,17,3,22,9,17,9,9,9,61,9,9,9,9,9,105,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,3,3,3,3,3,3,3,3,3,3,3,9,17,3,9,17,9,110,0,111,70,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,110,110,9,9,9,9,3,9,17,3,3,110,9,9,9,3,22,9,17,3,22,9,17,3,3,3,22,22,22,9,9,9,17,17,17,71,111,70,110,105,110,3,3,22,9,9,17,112,0,0,3,3,3,22,22,22,9,9,9,9,17,17,17,17,17,17,17,17,17,17,3,9,3,3,22,22,9,9,17,17,3,3,3,22,22,9,9,17,17,112,112,9,112,112,111,70,111,70,9,110,9,3,22,9,17,110,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,3,0,3,3,9,17,3,3,3,3,3,3,3,9,0,0,0,9,0,3,71,3,17,3,3,3,3,110,111,70,3,3,3,3,3,3,3,3,22,9,17,3,3,3,22,9,17,0,105,111,70,17,3,3,3,3,3,22,9,17,3,9,17,112,112,3,9,71,3,3,22,9,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,3,22,9,17,61,3,22,9,17,3,9,17,9,3,22,9,17,3,3,22,9,17,9,3,22,9,17,3,17,3,3,0,0,0,0,0,0,113,113,0,114,114,0,114,114,114,0,0,0,0,0,115,115,115,115,115,115,115,116,0,116,116,0,83,84,0,0,82,83,84,0,0,0,0,0,0,0,0,83,84,0,83,77,82,83,84,85,77,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,82,83,84,82,83,84,82,83,84,87,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,87,87,87,77,77,77,82,83,84,85,77,82,83,84,85,85,87,118,82,83,84,82,83,84,82,83,84,82,83,84,87,87,87,83,83,83,87,82,83,84,85,82,83,84,85,82,82,82,83,83,83,84,84,84,85,85,85,87,87,77,117,87,77,82,83,84,85,87,117,87,118,77,77,77,82,82,83,83,83,83,83,84,84,84,84,85,117,117,87,87,118,118,77,77,82,82,83,83,84,84,85,85,117,117,87,87,118,118,77,77,82,82,83,83,84,84,85,85,83,83,83,87,83,87,82,83,84,118,117,87,87,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,117,118,82,83,84,85,117,87,118,77,82,83,84,85,77,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,83,85,83,83,83,83,82,85,85,85,87,118,118,118,117,77,77,85,87,87,77,77,77,87,77,87,77,77,82,83,84,82,83,84,77,82,83,84,85,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,84,84,84,85,117,87,118,77,82,83,84,85,77,82,83,84,82,83,84,82,83,84,117,87,118,77,82,83,84,85,82,83,84,85,117,87,118,77,82,83,84,85,117,87,118,77,82,83,84,85,87,85,117,87,118,77,82,83,84,85],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[3,3],3],[[3,3],2],[[3,4],3],[[3,4],3],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],[[3,3],5],0,[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[8,[7]]],[]],[9,[[10,[7]]]],[9,[[8,[7]]]],[-1,6,[]],[-1,[[8,[7]]],[]],[-1,[[12,[[8,[-2]],11]]],[],13],[9,[[10,[7]]]],[9,[[8,[7]]]],[-1,[[12,[[8,[-2]],11]]],[],13],0,[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[3,3],[[15,[2]]]],[[3,3],[[15,[3]]]],[[3,3],[[15,[3]]]],[[3,4],[[15,[3]]]],[[3,3],[[15,[4]]]],[[3,4],[[15,[3]]]],[[3,3],[[15,[2]]]],[[3,3],[[15,[3]]]],[[3,3],[[15,[3]]]],[[3,-1],16,[]],[[],-1,[]],[3,3],[9,9],[17,17],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[9,9],18],[19],0,0,0,[-1,[[12,[3,20]]],21],[-1,[[12,[22,20]]],21],[-1,[[12,[9,20]]],21],[-1,[[12,[17,20]]],21],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[],3],[[],19],[[],3],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[[-1,-2],-2,[],[]],[-1,[[12,[3]]],24],[-1,[[12,[9]]],24],[-1,[[12,[17]]],24],[[3,-1],3,25],[[3,4],3],[[-1,-2],-3,[],26,[]],[9,[[14,[7]]]],[-1,-2,[],[[28,[27]]]],[-1,-2,[],[[28,[27]]]],[[3,-1],2,[29,30]],[[22,-1],2,[29,30]],[[9,-1],2,[29,30]],[[17,-1],2,[29,30]],[[3,3],5],[[22,22],5],[[9,9],5],[[17,17],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],0,0,0,[[-1,-2],-3,[],26,[]],0,[31],[[3,32],[[12,[2,33]]]],[[3,32],[[12,[2,33]]]],[[22,32],[[12,[2,33]]]],[[9,32],[[12,[2,33]]]],[[9,32],[[12,[2,33]]]],[[17,32],[[12,[2,33]]]],[34,5],0,0,[-1,-1,[]],[4,3],[[[2,[4,4]]],3],[35,22],[36,22],[-1,-1,[]],[[[10,[7]]],9],[37,9],[38,9],[-1,-1,[]],[39,17],[[[40,[-1]]],17,41],[-1,-1,[]],[[[42,[-2,-1]]],17,[],[[43,[-1]]]],[44,17],[45,17],[46,17],[47,17],[48,17],[[[49,[-1]]],17,50],[4,3],[-1,[[12,[9,20]]],21],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[[4,4],3],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[44,[[12,[-1,51]]],[]],[44,[[12,[[2,[-1,34]],51]]],[]],[44,[[12,[9]]]],[44,[[12,[-1,51]]],[]],[44,[[12,[[2,[-1,34]],51]]],[]],0,0,0,0,[[-1,-2],4,[52,30],53],[[],22],[[9,-1],2,54],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[31,2],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,5,[]],[3,5],0,[[3,3],3],[[],58],[[],58],[[],58],[[],3],[[],-1,[]],[[3,3],3],[[],3],[[],-1,[]],[[3,-1],3,[[59,[4]],25]],[[3,4],3],[[[10,[7]]],9],0,0,0,[[9,9],[[15,[18]]]],0,[[3,-1],60,[]],0,[3,2],[17,2],[3,4],[3,4],[3,4],[3,4],[[-1,-2],2,[],[6,61]],0,0,[[3,3],2],[[3,3],3],[[3,4],3],[[3,4],3],[[3,23],3],[[3,3],2],[[3,3],3],[[3,-1],12,62],[[22,-1],12,62],[[9,-1],12,62],[[17,-1],12,62],[[3,4],3],[[3,4],3],[3,58],[22,58],[9,58],[17,58],0,0,0,0,[17,17],[[3,3],3],[[3,3],2],[[3,4],3],[[3,4],3],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,63,[]],[[-1,34],63,[]],[-1,63,[]],[-1,63,[]],0,[[3,3,3],[[15,[3]]]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[[[8,[7]]],[[12,[9,2]]]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[[],65],[[],65],[[],65],[66,9],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[9,-1],-2,26,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[3,-1],3,[]],[[-1,3],[[68,[67]]],[]],[[],3],[[],3],0,0,0,0,0,0,[[-1,19],[],[]],[[-1,19],[[12,[17]]],[]],0,0,[[-1,19,[14,[7]],19,3,15,69],70,[]],[[[8,[7]]],[[14,[63]]]],[[-1,[14,[7]],[14,[7]],[14,[7]],19,3,15],[[72,[19,71]]],[]],[[-1,[14,[7]],[14,[7]],[14,[7]],19,3,15],[[72,[19,71]]],[]],[[-1,[14,[7]],19,15,69],73,[]],0,0,0,0,0,0,[-1,31,[]],[-1,31,[]],[[-1,23],31,[]],[-1,[[14,[71]]],[]],[-1,2,[]],[[-1,74,-2],75,[],76],0,0,[-1,[],[]],[-1,2,[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[[77,-1],2,78],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,6,[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[],[]],[[-1,23],[],[]],[[-1,[14,[7]],3,15,69],[[81,[[12,[79,17]],80]]],[]],[77],0,[77,77],[82,82],[83,83],[84,84],[85,85],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[3],[19],[[],[[15,[86]]]],[-1,[[12,[82,20]]],21],[-1,[[12,[83,20]]],21],[-1,[[12,[84,20]]],21],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,[8,[7]]],[[12,[-1,20]]],[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[23,-1],[[12,[-2,20]]],21,[]],[[],87],[[],19],[[-1,[14,[7]],[14,[7]],[14,[7]],3,15],[[81,[[12,[88,17]],80]]],[]],[[83,77],89],[-1,[[12,[68]]],[]],[[83,77],89],[[87,-1],-2,26,[]],[[82,-1],2,[29,30]],[[83,-1],2,[29,30]],[[84,-1],2,[29,30]],[[],[[12,[23,23]]]],[[82,82],5],[[83,83],5],[[84,84],5],[[85,85],5],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[[-1,-2],5,[],[]],[-1,[[14,[80]]],[]],[[87,-1],-2,26,[]],[77,5],[[[31,[-1]]],[],[43,90,41]],[31],[[77,32],[[12,[2,33]]]],[[82,32],91],[[83,32],91],[[84,32],91],[[85,32],91],[-1,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[15,77],[[[92,[85]]],77],[-1,-1,[]],[93,82],[-1,-1,[]],[[[95,[94,85]]],83],[[[95,[96,85]]],83],[[[95,[97,85]]],83],[[[95,[98,85]]],83],[-1,-1,[]],[[[99,[85]]],84],[[[100,[85]]],84],[-1,-1,[]],[[[101,[85]]],84],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-1,[]],[-1,-2,[],[]],[83,102],[44,[[8,[44]]]],[83,103],[[],22],[[],[[8,[44]]]],[-1,[],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[[],[[15,[58]]]],[[[31,[-1]]],2,[43,90,41]],[31,2],[[-1,[14,[7]],[14,[7]],[14,[7]],3,15],[[81,[[12,[88,17]],80]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[55,[-1]]],[[55,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[56,[-1]]],[[56,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[[[57,[-1]]],[[57,[6]]],[]],[77],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[83,5],[[],5],[83,[[15,[[95,[98,85]]]]]],[83,[[15,[[95,[97,85]]]]]],[83,[[15,[[95,[96,85]]]]]],[83,[[15,[[95,[94,85]]]]]],[[],58],[[],22],[23,[[15,[104]]]],[[],[[14,[23]]]],[-1,[[12,[17]]],[]],[[],[[15,[44]]]],[[],[[15,[44]]]],[[],[[15,[[10,[7]]]]]],[[[14,[2]]],105],[[],77],[[],77],[[],[[12,[2,106]]]],[[87,-1],2,[6,61]],[-1,2,[]],[77,2],[[],77],[[],77],[[-1,-2],[[12,[68]]],[],76],[[77,-1],2,[[76,[77]]]],[-1,2,[]],[[],77],[[],77],[82,58],[83,58],[84,58],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[[-1,[8,[7]]],[[14,[7]]],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[84,[[12,[[100,[85]]]]]],[84,[[12,[[101,[85]]]]]],[84,[[12,[[99,[85]]]]]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[-1,[[12,[-2]]],[],[]],[[77,-1],[[12,[-2,77]]],26,[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[10,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,[[14,[7]]],[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[-1,64,[]],[[],65],[[],65],[[],65],[[],65],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[-1,[14,[7]],15,69],[[12,[107,17]]],[]],[108,109],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"Private",782],[15,"tuple"],[3,"Weight",0],[15,"u64"],[15,"bool"],[8,"Any",783],[15,"u8"],[15,"slice"],[3,"AccountId32",0],[15,"array"],[4,"Error",784],[4,"Result",785],[8,"FromByteSlice",784],[3,"Vec",786],[4,"Option",787],[4,"DispatchClass",788],[4,"DispatchError",0],[4,"Ordering",789],[6,"AccountIdFor",0],[3,"Error",790],[8,"Input",791],[3,"RuntimeMetadataPrefixed",0],[15,"u32"],[8,"Deserializer",792],[8,"Copy",793],[8,"FnOnce",794],[15,"char"],[8,"FromIterator",795],[8,"Output",791],[8,"Sized",793],[6,"BlockNumberFor",796],[3,"Formatter",797],[3,"Error",797],[3,"Ss58AddressFormat",798],[3,"RuntimeMetadataV14",799],[3,"RuntimeMetadataV15",800],[3,"Public",801],[3,"Public",802],[4,"ArithmeticError",803],[4,"Error",804],[8,"Config",804],[4,"Error",805],[8,"Config",805],[15,"str"],[4,"TokenError",806],[4,"TransactionalError",806],[3,"BadOrigin",807],[3,"LookupError",807],[4,"Error",808],[8,"Config",808],[4,"PublicError",809],[8,"Hash",810],[8,"BuildHasher",810],[8,"Hasher",810],[3,"Box",811],[3,"Arc",812],[3,"Rc",813],[15,"usize"],[8,"Mul",814],[4,"Pays",788],[8,"Extension",0],[8,"Serializer",815],[3,"String",816],[3,"TypeId",783],[3,"Type",817],[3,"H256",818],[3,"PostDispatchInfo",788],[3,"DispatchErrorWithPostInfo",806],[4,"Determinism",819],[6,"ContractExecResultFor",0],[6,"EventRecordOf",0],[6,"ContractInstantiateResult",820],[6,"CodeUploadResult",820],[6,"RuntimeCall",0],[6,"DispatchResultWithInfo",806],[8,"Into",821],[3,"RuntimeOrigin",414],[8,"Fn",794],[3,"ExecReturnValue",820],[3,"EventRecord",822],[3,"ContractResult",820],[4,"RuntimeHoldReason",414],[4,"RuntimeCall",414],[4,"RuntimeEvent",414],[3,"DefaultSandboxRuntime",414],[3,"CrateVersion",823],[3,"DefaultSandbox",414],[3,"InstantiateReturnValue",820],[6,"DispatchResultWithPostInfo",788],[8,"Config",824],[6,"Result",797],[6,"Origin",808],[4,"HoldReason",804],[6,"Contracts",414],[6,"CallableCallFor",788],[6,"Timestamp",414],[6,"System",414],[6,"Balances",414],[4,"Event",808],[4,"Event",805],[4,"Event",804],[3,"CallMetadata",823],[3,"DispatchInfo",788],[3,"OpaqueMetadata",825],[6,"TestExternalities",0],[4,"TransactionValidityError",826],[3,"CodeUploadReturnValue",820],[4,"TransactionSource",826],[6,"TransactionValidity",826],[8,"Sandbox",0],[6,"ContractInstantiateResultFor",0],[8,"Ss58Codec",0],[8,"BalanceAPI",388],[8,"ContractAPI",391],[8,"SystemAPI",402],[8,"TimestampAPI",410],[3,"BlockBuilder",414],[3,"PalletInfo",414]],"b":[[59,"impl-AsMut%3C%5Bu8;+32%5D%3E-for-AccountId32"],[60,"impl-AsMut%3C%5Bu8%5D%3E-for-AccountId32"],[64,"impl-AsRef%3C%5Bu8;+32%5D%3E-for-AccountId32"],[65,"impl-AsRef%3C%5Bu8%5D%3E-for-AccountId32"],[89,"impl-CheckedAdd-for-Weight"],[90,"impl-Weight"],[95,"impl-CheckedSub-for-Weight"],[96,"impl-Weight"],[136,"impl-Div%3CT%3E-for-Weight"],[137,"impl-Weight"],[168,"impl-Display-for-Weight"],[169,"impl-Debug-for-Weight"],[171,"impl-Debug-for-AccountId32"],[172,"impl-Display-for-AccountId32"],[178,"impl-From%3Cu64%3E-for-Weight"],[179,"impl-From%3C(u64,+u64)%3E-for-Weight"],[180,"impl-From%3CRuntimeMetadataV14%3E-for-RuntimeMetadataPrefixed"],[181,"impl-From%3CRuntimeMetadataV15%3E-for-RuntimeMetadataPrefixed"],[183,"impl-From%3C%5Bu8;+32%5D%3E-for-AccountId32"],[184,"impl-From%3CPublic%3E-for-AccountId32"],[185,"impl-From%3CPublic%3E-for-AccountId32"],[187,"impl-From%3CArithmeticError%3E-for-DispatchError"],[188,"impl-From%3CError%3CT%3E%3E-for-DispatchError"],[190,"impl-From%3CError%3CT,+I%3E%3E-for-DispatchError"],[191,"impl-From%3C%26str%3E-for-DispatchError"],[192,"impl-From%3CTokenError%3E-for-DispatchError"],[193,"impl-From%3CTransactionalError%3E-for-DispatchError"],[194,"impl-From%3CBadOrigin%3E-for-DispatchError"],[195,"impl-From%3CLookupError%3E-for-DispatchError"],[196,"impl-From%3CError%3CT%3E%3E-for-DispatchError"],[273,"impl-Mul%3CT%3E-for-Weight"],[274,"impl-Weight"],[381,"impl-Zero-for-Weight"],[382,"impl-Weight"],[553,"impl-From%3COption%3C%3CDefaultSandboxRuntime+as+Config%3E::AccountId%3E%3E-for-RuntimeOrigin"],[554,"impl-From%3CRawOrigin%3C%3CDefaultSandboxRuntime+as+Config%3E::AccountId%3E%3E-for-RuntimeOrigin"],[558,"impl-From%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[559,"impl-From%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[560,"impl-From%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[561,"impl-From%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[563,"impl-From%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[564,"impl-From%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[566,"impl-From%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[670,"impl-IsSubType%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[671,"impl-IsSubType%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[672,"impl-IsSubType%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[673,"impl-IsSubType%3C%3CPallet%3CDefaultSandboxRuntime%3E+as+Callable%3CDefaultSandboxRuntime%3E%3E::RuntimeCall%3E-for-RuntimeCall"],[683,"impl-RuntimeOrigin"],[684,"impl-OriginTrait-for-RuntimeOrigin"],[689,"impl-RuntimeOrigin"],[690,"impl-OriginTrait-for-RuntimeOrigin"],[694,"impl-RuntimeOrigin"],[695,"impl-OriginTrait-for-RuntimeOrigin"],[722,"impl-TryInto%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[723,"impl-TryInto%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"],[724,"impl-TryInto%3CEvent%3CDefaultSandboxRuntime%3E%3E-for-RuntimeEvent"]]},\ "ink_storage":{"doc":"The ink_storage utilities used to manipulate and organize …","t":"DDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLCLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Lazy","Mapping","StorageVec","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clear","clear_at","contains","decode","decode","decode","default","default","default","encode","encode","encode","encoded_size","encoded_size","encoded_size","fmt","fmt","fmt","from","from","from","from_iter","get","get","get","get_or_default","insert","into","into","into","is_empty","layout","layout","layout","len","new","new","new","peek","pop","push","remove","set","set","size","take","traits","try_from","try_from","try_from","try_get","try_get","try_get","try_insert","try_into","try_into","try_into","try_peek","try_pop","try_push","try_set","try_set","try_take","type_id","type_id","type_id","type_info","type_info","type_info","vzip","vzip","vzip"],"q":[[0,"ink_storage"],[81,"ink_storage_traits::storage"],[82,"ink_storage_traits::storage"],[83,"parity_scale_codec::encode_like"],[84,"parity_scale_codec::error"],[85,"core::result"],[86,"parity_scale_codec::codec"],[87,"core::fmt"],[88,"core::fmt"],[89,"core::option"],[90,"ink_storage_traits::storage"],[91,"ink_primitives::key"],[92,"ink_metadata::layout"],[93,"ink_env::error"],[94,"ink_env::error"],[95,"scale_info::ty"]],"d":["A simple wrapper around a type to store it in a separate …","A mapping of key-value pairs directly into contract …","A vector of values (elements) directly on contract storage.","","","","","","","Delete all elements from storage.","Clears the value of the element at index. It doesn’t …","Checks if a value is stored at the given key in the …","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Get the value at key from the contract storage.","Access an element at given index.","Reads the value from the contract storage, if it exists.","Reads the value from the contract storage.","Insert the given value to the contract storage.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns true if the vector contains no elements.","","","","Returns the number of elements in the vector, also …","Creates a new empty Mapping.","Creates a new empty StorageVec.","Creates a new empty Lazy.","Get a copy of the last element without removing it from …","Clears the last element from the storage and returns it. …","Appends an element to the back of the vector.","Clears the value at key from storage.","Set the value at given index.","Writes the given value to the contract storage.","Get the size in bytes of a value stored at key in the …","Removes the value at key, returning the previous value at …","","","","","Try to get the value at the given key.","Try to access an element at given index.","Try to read the value from the contract storage.","Try to insert the given value into the mapping under given …","","","","Try to get a copy of the last element without removing it …","Try to clear and return the last element from storage. …","Try to append an element to the back of the vector.","Try to set the value at given index.","Try to set the given value to the contract storage.","Try to take the value at the given key. On success, this …","","","","","","","","",""],"i":[0,0,0,6,1,13,6,1,13,1,1,6,6,1,13,6,1,13,6,1,13,6,1,13,6,1,13,6,1,13,1,6,1,13,13,6,6,1,13,1,6,1,13,1,6,1,13,1,1,1,6,1,13,6,6,0,6,1,13,6,1,13,6,6,1,13,1,1,1,1,13,6,6,1,13,6,1,13,6,1,13],"f":[0,0,0,[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[1,[-1,-2]]],2,3,4],[[[1,[-1,-2]],5],2,3,4],[[[6,[-1,-2,-3]],-4],7,8,3,4,[[9,[-1]]]],[-1,[[11,[[6,[-2,-3,-4]],10]]],12,[],3,4],[-1,[[11,[[1,[-2,-3]],10]]],12,3,4],[-1,[[11,[[13,[-2,-3]],10]]],12,[],4],[[],[[6,[-1,-2,-3]]],[],3,4],[[],[[1,[-1,-2]]],3,4],[[],[[13,[-1,-2]]],[],4],[[[6,[-1,-2,-3]],-4],2,[],3,4,[14,15]],[[[1,[-1,-2]],-3],2,3,4,[14,15]],[[[13,[-1,-2]],-3],2,[],4,[14,15]],[[[6,[-1,-2,-3]]],16,[],3,4],[[[1,[-1,-2]]],16,3,4],[[[13,[-1,-2]]],16,[],4],[[[6,[-1,-2,-3]],17],18,[],3,4],[[[1,[-1,-2]],17],18,3,4],[[[13,[-1,-2]],17],18,[],4],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,[[1,[-2,-3]]],19,[],4],[[[6,[-1,-2,-3]],-4],[[20,[-2]]],8,3,4,[[9,[-1]]]],[[[1,[-1,-2]],5],[[20,[-1]]],3,4],[[[13,[-1,-2]]],[[20,[-1]]],21,4],[[[13,[-1,-2]]],-1,[21,22],4],[[[6,[-1,-2,-3]],-4,-5],[[20,[5]]],8,3,4,[[9,[-1]]],[21,[9,[-2]]]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[[[1,[-1,-2]]],7,3,4],[23,24],[23,24],[23,24],[[[1,[-1,-2]]],5,3,4],[[],[[6,[-1,-2,-3]]],[],3,4],[[],[[1,[-1,-2]]],3,4],[[],[[13,[-1,-2]]],[],4],[[[1,[-1,-2]]],[[20,[-1]]],3,4],[[[1,[-1,-2]]],[[20,[-1]]],3,4],[[[1,[-1,-2]],-3],2,3,4,[21,[9,[-1]]]],[[[6,[-1,-2,-3]],-4],2,8,3,4,[[9,[-1]]]],[[[1,[-1,-2]],5,-3],[[20,[5]]],3,4,[21,[9,[-1]]]],[[[13,[-1,-2]],-1],2,21,4],[[[6,[-1,-2,-3]],-4],[[20,[5]]],8,3,4,[[9,[-1]]]],[[[6,[-1,-2,-3]],-4],[[20,[-2]]],8,3,4,[[9,[-1]]]],0,[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[[[6,[-1,-2,-3]],-4],[[20,[[25,[-2]]]]],8,3,4,[[9,[-1]]]],[[[1,[-1,-2]],5],[[20,[[25,[-1]]]]],3,4],[[[13,[-1,-2]]],[[20,[[25,[-1]]]]],21,4],[[[6,[-1,-2,-3]],-4,-5],[[25,[[20,[5]]]]],8,3,4,[[9,[-1]]],[21,[9,[-2]]]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[-1,[[11,[-2]]],[],[]],[[[1,[-1,-2]]],[[20,[[11,[-1,26]]]]],3,4],[[[1,[-1,-2]]],[[20,[[11,[-1,26]]]]],3,4],[[[1,[-1,-2]],-3],[[11,[2,26]]],3,4,[21,[9,[-1]]]],[[[1,[-1,-2]],5,-3],[[11,[[20,[5]],26]]],3,4,[21,[9,[-1]]]],[[[13,[-1,-2]],-1],[[25,[2]]],21,4],[[[6,[-1,-2,-3]],-4],[[20,[[25,[-2]]]]],8,3,4,[[9,[-1]]]],[-1,27,[]],[-1,27,[]],[-1,27,[]],[[],28],[[],28],[[],28],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]]],"c":[],"p":[[3,"StorageVec",0],[15,"tuple"],[8,"Packed",81],[8,"StorageKey",81],[15,"u32"],[3,"Mapping",0],[15,"bool"],[8,"Encode",82],[8,"EncodeLike",83],[3,"Error",84],[4,"Result",85],[8,"Input",82],[3,"Lazy",0],[8,"Output",82],[8,"Sized",86],[15,"usize"],[3,"Formatter",87],[6,"Result",87],[8,"IntoIterator",88],[4,"Option",89],[8,"Storable",81],[8,"Default",90],[6,"Key",91],[4,"Layout",92],[6,"Result",93],[4,"Error",93],[3,"TypeId",94],[3,"Type",95]],"b":[]},\ "ink_storage_traits":{"doc":"Traits and interfaces to operate with storage entities.","t":"DISDIQDIIIIQQLLLLLLLLLLLLLLLKFLLLKKLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLL","n":["AutoKey","AutoStorableHint","KEY","ManualKey","Packed","PreferredKey","ResolverKey","Storable","StorableHint","StorageKey","StorageLayout","Type","Type","__clone_box","__clone_box","__clone_box","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","decode","decode_all","default","default","default","encode","encoded_size","eq","eq","eq","fmt","fmt","fmt","from","from","from","into","into","into","key","key","layout","partial_cmp","partial_cmp","partial_cmp","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_info","type_info","type_info"],"q":[[0,"ink_storage_traits"],[68,"dyn_clone::sealed"],[69,"core::clone"],[70,"parity_scale_codec::error"],[71,"core::result"],[72,"parity_scale_codec::codec"],[73,"core::default"],[74,"parity_scale_codec::codec"],[75,"core::cmp"],[76,"core::fmt"],[77,"core::fmt"],[78,"ink_metadata::layout"],[79,"core::cmp"],[80,"core::cmp"],[81,"scale_info::ty"]],"d":["Auto key type means that the storage key should be …","Automatically returns the type that should be used for …","Storage key of the type.","Manual key type specifies the storage key.","Trait for describing types that can be read and written to …","The storage key that the type prefers. It can be …","Resolver key type selects between preferred key and …","Trait for representing types which can be read and written …","Describes the type that should be used for storing the …","Holds storage key for the type.","Implemented by types that have a storage layout.","Storable type with storage key inside.","Storable type with storage key inside.","","","","","","","","","","","","","","","","Attempt to deserialize the value from input.","Decode and consume all of the given input data.","","","","Convert self to a slice and append it to the destination.","The exact number of bytes this type consumes in the …","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the storage key.","Returns the storage key.","Returns the static storage layout of Self.","","","","","","","","","","","","","","","","","",""],"i":[0,0,6,0,0,30,0,0,0,0,0,30,31,3,4,7,3,4,7,3,4,7,3,4,7,3,4,7,13,0,3,4,7,13,13,3,4,7,3,4,7,3,4,7,3,4,7,6,6,32,3,4,7,3,4,7,3,4,7,3,4,7,3,4,7,3,4,7],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,[[-1,1],2,[]],[[-1,1],2,[]],[[-1,1],2,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[3,3],[[[4,[-1]]],[[4,[-1]]],[5,6]],[[[7,[-1,-2]]],[[7,[-1,-2]]],5,5],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[[-1,-2],2,[],[]],[-1,[[9,[-2,8]]],10,[]],[[[12,[11]]],[[9,[-1,8]]],13],[[],3],[[],[[4,[-1]]],[14,6]],[[],[[7,[-1,-2]]],14,14],[[-1,-2],2,[],[15,16]],[-1,17,[]],[[3,3],18],[[[4,[-1]],[4,[-1]]],18,[19,6]],[[[7,[-1,-2]],[7,[-1,-2]]],18,19,19],[[3,20],21],[[[4,[-1]],20],21,6],[[[7,[-1,-2]],20],21,22,22],[-1,-1,[]],[-1,-1,[]],[-1,-1,[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,23,[]],[-1,23,[]],[23,24],[[3,3],[[26,[25]]]],[[[4,[-1]],[4,[-1]]],[[26,[25]]],[27,6]],[[[7,[-1,-2]],[7,[-1,-2]]],[[26,[25]]],27,27],[-1,-2,[],[]],[-1,-2,[],[]],[-1,-2,[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,[[9,[-2]]],[],[]],[-1,28,[]],[-1,28,[]],[-1,28,[]],[[],29],[[],29],[[],29]],"c":[],"p":[[3,"Private",68],[15,"tuple"],[3,"AutoKey",0],[3,"ManualKey",0],[8,"Clone",69],[8,"StorageKey",0],[3,"ResolverKey",0],[3,"Error",70],[4,"Result",71],[8,"Input",72],[15,"u8"],[15,"slice"],[8,"Storable",0],[8,"Default",73],[8,"Output",72],[8,"Sized",74],[15,"usize"],[15,"bool"],[8,"PartialEq",75],[3,"Formatter",76],[6,"Result",76],[8,"Debug",76],[6,"Key",77],[4,"Layout",78],[4,"Ordering",75],[4,"Option",79],[8,"PartialOrd",75],[3,"TypeId",80],[3,"Type",81],[8,"StorableHint",0],[8,"AutoStorableHint",0],[8,"StorageLayout",0]],"b":[]}\ }'); diff --git a/src/ink_e2e/subxt_client.rs.html b/src/ink_e2e/subxt_client.rs.html index 2deb704a90..7d6b8174e1 100644 --- a/src/ink_e2e/subxt_client.rs.html +++ b/src/ink_e2e/subxt_client.rs.html @@ -754,6 +754,12 @@ 754 755 756 +757 +758 +759 +760 +761 +762
// Copyright (C) Parity Technologies (UK) Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -829,7 +835,10 @@
 };
 use subxt::{
     blocks::ExtrinsicEvents,
-    config::ExtrinsicParams,
+    config::{
+        DefaultExtrinsicParams,
+        ExtrinsicParams,
+    },
     error::DispatchError,
     events::EventDetails,
     ext::scale_value::{
@@ -870,7 +879,8 @@
         From<sr25519::PublicKey> + scale::Codec + serde::de::DeserializeOwned + Debug,
     C::Address: From<sr25519::PublicKey>,
     C::Signature: From<sr25519::Signature>,
-    <C::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams: Default,
+    <C::ExtrinsicParams as ExtrinsicParams<C>>::Params:
+        From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>,
 
     E: Environment,
     E::AccountId: Debug,
@@ -1079,7 +1089,8 @@
     C::Address: From<sr25519::PublicKey>,
     C::Signature: From<sr25519::Signature>,
     C::Address: Send + Sync,
-    <C::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams: Default + Send + Sync,
+    <C::ExtrinsicParams as ExtrinsicParams<C>>::Params:
+        From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>,
 
     E: Environment,
     E::AccountId: Debug + Send + Sync,
@@ -1218,7 +1229,8 @@
     C::Address: From<sr25519::PublicKey>,
     C::Signature: From<sr25519::Signature>,
     C::Address: Send + Sync,
-    <C::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams: Default + Send + Sync,
+    <C::ExtrinsicParams as ExtrinsicParams<C>>::Params:
+        From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>,
 
     E: Environment,
     E::AccountId: Debug + Send + Sync,
@@ -1440,8 +1452,8 @@
     C::Address: From<sr25519::PublicKey>,
     C::Signature: From<sr25519::Signature>,
     C::Address: Send + Sync,
-    <<C as subxt::Config>::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams:
-        Default + Send + Sync,
+    <C::ExtrinsicParams as ExtrinsicParams<C>>::Params:
+        From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>,
 
     E: Environment,
     E::AccountId: Debug + Send + Sync,
diff --git a/src/ink_e2e/xts.rs.html b/src/ink_e2e/xts.rs.html
index a2b43a9ea6..24af6adf16 100644
--- a/src/ink_e2e/xts.rs.html
+++ b/src/ink_e2e/xts.rs.html
@@ -574,6 +574,14 @@
 574
 575
 576
+577
+578
+579
+580
+581
+582
+583
+584
 
// Copyright (C) Parity Technologies (UK) Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -606,7 +614,11 @@
         rpc::RpcClient,
     },
     blocks::ExtrinsicEvents,
-    config::ExtrinsicParams,
+    config::{
+        DefaultExtrinsicParams,
+        DefaultExtrinsicParamsBuilder,
+        ExtrinsicParams,
+    },
     ext::scale_encode,
     tx::{
         Signer,
@@ -800,7 +812,8 @@
     C::AccountId: From<sr25519::PublicKey> + serde::de::DeserializeOwned + scale::Codec,
     C::Address: From<sr25519::PublicKey>,
     C::Signature: From<sr25519::Signature>,
-    <C::ExtrinsicParams as ExtrinsicParams<C>>::OtherParams: Default,
+    <C::ExtrinsicParams as ExtrinsicParams<C>>::Params:
+        From<<DefaultExtrinsicParams<C> as ExtrinsicParams<C>>::Params>,
 
     E: Environment,
     E::Balance: scale::HasCompact + serde::Serialize,
@@ -892,10 +905,13 @@
                     panic!("error calling `get_account_nonce`: {err:?}");
                 });
 
+        let params = DefaultExtrinsicParamsBuilder::new()
+            .nonce(account_nonce)
+            .build();
         let mut tx = self
             .client
             .tx()
-            .create_signed_with_nonce(call, signer, account_nonce, Default::default())
+            .create_signed_offline(call, signer, params.into())
             .unwrap_or_else(|err| {
                 panic!("error on call `create_signed_with_nonce`: {err:?}");
             })
diff --git a/src/ink_sandbox/macros.rs.html b/src/ink_sandbox/macros.rs.html
index f2b10ecaed..97faaad91c 100644
--- a/src/ink_sandbox/macros.rs.html
+++ b/src/ink_sandbox/macros.rs.html
@@ -287,6 +287,8 @@
 287
 288
 289
+290
+291
 
use std::time::SystemTime;
 
 use frame_support::{
@@ -482,6 +484,8 @@
         type MaxCodeLen = ConstU32<{ 123 * 1024 }>;
         type MaxStorageKeyLen = ConstU32<128>;
         type UnsafeUnstableInterface = ConstBool<false>;
+        type UploadOrigin = $crate::frame_system::EnsureSigned<Self::AccountId>;
+        type InstantiateOrigin = $crate::frame_system::EnsureSigned<Self::AccountId>;
         type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
         type Migrations = ();
         type DefaultDepositLimit = DefaultDepositLimit;
diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js
index 40755e0f5a..a204236ace 100644
--- a/trait.impl/core/clone/trait.Clone.js
+++ b/trait.impl/core/clone/trait.Clone.js
@@ -1,10 +1,10 @@
 (function() {var implementors = {
-"ink":[["impl<'a, E: Clone> Clone for EnvAccess<'a, E>"],["impl Clone for DispatchError"]],
-"ink_engine":[["impl Clone for EmittedEvent"],["impl Clone for RecordedDebugMessages"],["impl Clone for AccountError"]],
-"ink_env":[["impl Clone for LimitParamsV1"],["impl<E> Clone for LimitParamsV2<E>where\n    E: Environment + Clone,\n    E::Balance: Clone,"],["impl Clone for Selector"],["impl<E, CallType: Clone, Args: Clone, RetType: Clone> Clone for CallBuilder<E, CallType, Args, RetType>where\n    E: Environment + Clone,"],["impl<T> Clone for ReturnType<T>"],["impl<T: Clone> Clone for Argument<T>"],["impl Clone for Blake2x128"],["impl<Head: Clone, Rest: Clone> Clone for ArgumentList<Head, Rest>"],["impl Clone for Keccak256"],["impl<E: Clone + Environment> Clone for CallV1<E>where\n    E::AccountId: Clone,\n    E::Balance: Clone,"],["impl Clone for Blake2x256"],["impl<E: Clone + Environment> Clone for DelegateCall<E>where\n    E::Hash: Clone,"],["impl<T: Clone> Clone for Set<T>"],["impl Clone for DefaultEnvironment"],["impl Clone for CallData"],["impl Clone for EmittedEvent"],["impl<T> Clone for Unset<T>"],["impl Clone for Sha2x256"],["impl Clone for ArgumentListEnd"],["impl<E, ContractRef: Clone, CodeHash: Clone, Limits: Clone, Endowment: Clone, Args: Clone, Salt: Clone, RetType: Clone> Clone for CreateBuilder<E, ContractRef, CodeHash, Limits, Endowment, Args, Salt, RetType>where\n    E: Environment + Clone,"],["impl<Args: Clone> Clone for ExecutionInput<Args>"],["impl<E: Clone + Environment> Clone for Call<E>where\n    E::AccountId: Clone,\n    E::Balance: Clone,"]],
+"ink":[["impl Clone for DispatchError"],["impl<'a, E: Clone> Clone for EnvAccess<'a, E>"]],
+"ink_engine":[["impl Clone for AccountError"],["impl Clone for EmittedEvent"],["impl Clone for RecordedDebugMessages"]],
+"ink_env":[["impl Clone for Keccak256"],["impl<E: Clone + Environment> Clone for Call<E>where\n    E::AccountId: Clone,\n    E::Balance: Clone,"],["impl Clone for CallData"],["impl<E: Clone + Environment> Clone for CallV1<E>where\n    E::AccountId: Clone,\n    E::Balance: Clone,"],["impl<T> Clone for Unset<T>"],["impl<T: Clone> Clone for Argument<T>"],["impl Clone for Blake2x256"],["impl<Args: Clone> Clone for ExecutionInput<Args>"],["impl<E: Clone + Environment> Clone for DelegateCall<E>where\n    E::Hash: Clone,"],["impl<E> Clone for LimitParamsV2<E>where\n    E: Environment + Clone,\n    E::Balance: Clone,"],["impl Clone for Blake2x128"],["impl Clone for ArgumentListEnd"],["impl<T: Clone> Clone for Set<T>"],["impl<T> Clone for ReturnType<T>"],["impl<Head: Clone, Rest: Clone> Clone for ArgumentList<Head, Rest>"],["impl Clone for LimitParamsV1"],["impl Clone for Selector"],["impl Clone for Sha2x256"],["impl<E, CallType: Clone, Args: Clone, RetType: Clone> Clone for CallBuilder<E, CallType, Args, RetType>where\n    E: Environment + Clone,"],["impl<E, ContractRef: Clone, CodeHash: Clone, Limits: Clone, Endowment: Clone, Args: Clone, Salt: Clone, RetType: Clone> Clone for CreateBuilder<E, ContractRef, CodeHash, Limits, Endowment, Args, Salt, RetType>where\n    E: Environment + Clone,"],["impl Clone for EmittedEvent"],["impl Clone for DefaultEnvironment"]],
 "ink_ir":[["impl Clone for ExtensionId"],["impl Clone for Receiver"],["impl<'a> Clone for InkTraitMessage<'a>"],["impl Clone for MetaValue"],["impl Clone for SignatureTopicArg"],["impl Clone for Symbol"],["impl Clone for Visibility"],["impl Clone for AttributeArgs"],["impl Clone for MetaNameValue"],["impl Clone for Namespace"],["impl Clone for CallableKind"],["impl<'a> Clone for InkTraitItem<'a>"],["impl<C> Clone for CallableWithSelector<'_, C>"],["impl Clone for Meta"],["impl Clone for Selector"]],
-"ink_metadata":[["impl Clone for MetadataError"],["impl Clone for LayoutKey"],["impl Clone for Discriminant"]],
-"ink_primitives":[["impl Clone for Hash"],["impl Clone for LangError"],["impl Clone for AccountId"]],
-"ink_sandbox":[["impl Clone for RuntimeHoldReason"],["impl Clone for RuntimeOrigin"],["impl Clone for DefaultSandboxRuntime"],["impl Clone for RuntimeCall"],["impl Clone for RuntimeEvent"]],
-"ink_storage_traits":[["impl Clone for AutoKey"],["impl<const KEY: Key, ParentKey: Clone + StorageKey> Clone for ManualKey<KEY, ParentKey>"],["impl<L: Clone, R: Clone> Clone for ResolverKey<L, R>"]]
+"ink_metadata":[["impl Clone for LayoutKey"],["impl Clone for MetadataError"],["impl Clone for Discriminant"]],
+"ink_primitives":[["impl Clone for AccountId"],["impl Clone for Hash"],["impl Clone for LangError"]],
+"ink_sandbox":[["impl Clone for RuntimeCall"],["impl Clone for DefaultSandboxRuntime"],["impl Clone for RuntimeHoldReason"],["impl Clone for RuntimeEvent"],["impl Clone for RuntimeOrigin"]],
+"ink_storage_traits":[["impl<const KEY: Key, ParentKey: Clone + StorageKey> Clone for ManualKey<KEY, ParentKey>"],["impl Clone for AutoKey"],["impl<L: Clone, R: Clone> Clone for ResolverKey<L, R>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.Eq.js b/trait.impl/core/cmp/trait.Eq.js
index 48168924cd..b70f979bf1 100644
--- a/trait.impl/core/cmp/trait.Eq.js
+++ b/trait.impl/core/cmp/trait.Eq.js
@@ -1,10 +1,10 @@
 (function() {var implementors = {
 "ink":[["impl Eq for DispatchError"]],
-"ink_engine":[["impl Eq for AccountError"],["impl Eq for Error"]],
-"ink_env":[["impl Eq for Sha2x256"],["impl Eq for CallData"],["impl Eq for Selector"],["impl Eq for Error"],["impl Eq for Keccak256"],["impl Eq for Blake2x256"],["impl Eq for Blake2x128"],["impl Eq for DefaultEnvironment"]],
+"ink_engine":[["impl Eq for Error"],["impl Eq for AccountError"]],
+"ink_env":[["impl Eq for CallData"],["impl Eq for Error"],["impl Eq for Blake2x128"],["impl Eq for Selector"],["impl Eq for DefaultEnvironment"],["impl Eq for Blake2x256"],["impl Eq for Keccak256"],["impl Eq for Sha2x256"]],
 "ink_ir":[["impl Eq for Namespace"],["impl Eq for Symbol"],["impl Eq for Event"],["impl Eq for Constructor"],["impl Eq for SignatureTopicArg"],["impl Eq for Item"],["impl Eq for ChainExtensionMethod"],["impl Eq for ItemImpl"],["impl Eq for MetaValue"],["impl Eq for InkTraitDefinition"],["impl Eq for MetaNameValue"],["impl Eq for InkItem"],["impl Eq for Message"],["impl Eq for Meta"],["impl Eq for Storage"],["impl Eq for InkItemTrait"],["impl Eq for WhitelistedAttributes"],["impl Eq for ChainExtension"],["impl Eq for Receiver"],["impl Eq for ItemMod"],["impl Eq for Selector"],["impl Eq for ImplItem"],["impl Eq for Config"],["impl Eq for ExtensionId"],["impl Eq for AttributeArgs"]],
-"ink_metadata":[["impl Eq for LayoutKey"],["impl<F: Eq + Form> Eq for ReturnTypeSpec<F>"],["impl<F: Eq + Form> Eq for EventSpec<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for LeafLayout<F>"],["impl<F: Eq + Form> Eq for FieldLayout<F>where\n    F::String: Eq,"],["impl Eq for Selector"],["impl Eq for CryptoHasher"],["impl<F: Eq + Form> Eq for Layout<F>"],["impl Eq for MetadataError"],["impl<F: Eq + Form> Eq for EventParamSpec<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::String: Eq,"],["impl Eq for HashingStrategy"],["impl<F: Eq + Form> Eq for MessageSpec<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for RootLayout<F>"],["impl<F: Eq + Form> Eq for HashLayout<F>"],["impl<F: Eq + Form> Eq for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Eq + Form> Eq for StructLayout<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for MessageParamSpec<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for EnumLayout<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for ConstructorSpec<F>where\n    F::String: Eq,"],["impl Eq for Discriminant"],["impl<F: Eq + Form> Eq for TypeSpec<F>where\n    F::Type: Eq,"],["impl<F: Eq + Form> Eq for ArrayLayout<F>"]],
+"ink_metadata":[["impl Eq for MetadataError"],["impl<F: Eq + Form> Eq for ReturnTypeSpec<F>"],["impl<F: Eq + Form> Eq for LeafLayout<F>"],["impl<F: Eq + Form> Eq for FieldLayout<F>where\n    F::String: Eq,"],["impl Eq for CryptoHasher"],["impl<F: Eq + Form> Eq for MessageSpec<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for HashLayout<F>"],["impl<F: Eq + Form> Eq for MessageParamSpec<F>where\n    F::String: Eq,"],["impl Eq for Selector"],["impl Eq for LayoutKey"],["impl<F: Eq + Form> Eq for Layout<F>"],["impl Eq for Discriminant"],["impl<F: Eq + Form> Eq for ArrayLayout<F>"],["impl<F: Eq + Form> Eq for EventSpec<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for RootLayout<F>"],["impl<F: Eq + Form> Eq for EnumLayout<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for TypeSpec<F>where\n    F::Type: Eq,"],["impl<F: Eq + Form> Eq for StructLayout<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for ConstructorSpec<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::String: Eq,"],["impl Eq for HashingStrategy"],["impl<F: Eq + Form> Eq for EventParamSpec<F>where\n    F::String: Eq,"],["impl<F: Eq + Form> Eq for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"]],
 "ink_primitives":[["impl Eq for AccountId"],["impl Eq for LangError"],["impl Eq for Hash"]],
-"ink_sandbox":[["impl Eq for DefaultSandboxRuntime"],["impl Eq for RuntimeEvent"],["impl Eq for RuntimeHoldReason"],["impl Eq for RuntimeCall"]],
-"ink_storage_traits":[["impl<const KEY: Key, ParentKey: Eq + StorageKey> Eq for ManualKey<KEY, ParentKey>"],["impl<L: Eq, R: Eq> Eq for ResolverKey<L, R>"],["impl Eq for AutoKey"]]
+"ink_sandbox":[["impl Eq for DefaultSandboxRuntime"],["impl Eq for RuntimeHoldReason"],["impl Eq for RuntimeEvent"],["impl Eq for RuntimeCall"]],
+"ink_storage_traits":[["impl<const KEY: Key, ParentKey: Eq + StorageKey> Eq for ManualKey<KEY, ParentKey>"],["impl Eq for AutoKey"],["impl<L: Eq, R: Eq> Eq for ResolverKey<L, R>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.Ord.js b/trait.impl/core/cmp/trait.Ord.js
index f65ec0ca28..1643ebd623 100644
--- a/trait.impl/core/cmp/trait.Ord.js
+++ b/trait.impl/core/cmp/trait.Ord.js
@@ -1,5 +1,5 @@
 (function() {var implementors = {
 "ink_ir":[["impl Ord for SignatureTopicArg"],["impl Ord for ExtensionId"],["impl Ord for Selector"],["impl Ord for Namespace"]],
-"ink_metadata":[["impl<F: Ord + Form> Ord for RootLayout<F>"],["impl Ord for HashingStrategy"],["impl<F: Ord + Form> Ord for FieldLayout<F>where\n    F::String: Ord,"],["impl<F: Ord + Form> Ord for LeafLayout<F>"],["impl Ord for Discriminant"],["impl<F: Ord + Form> Ord for Layout<F>"],["impl<F: Ord + Form> Ord for HashLayout<F>"],["impl<F: Ord + Form> Ord for StructLayout<F>where\n    F::String: Ord,"],["impl Ord for LayoutKey"],["impl<F: Ord + Form> Ord for ArrayLayout<F>"],["impl Ord for CryptoHasher"],["impl<F: Ord + Form> Ord for EnumLayout<F>where\n    F::String: Ord,"]],
+"ink_metadata":[["impl<F: Ord + Form> Ord for EnumLayout<F>where\n    F::String: Ord,"],["impl Ord for Discriminant"],["impl<F: Ord + Form> Ord for FieldLayout<F>where\n    F::String: Ord,"],["impl Ord for LayoutKey"],["impl<F: Ord + Form> Ord for Layout<F>"],["impl<F: Ord + Form> Ord for ArrayLayout<F>"],["impl Ord for CryptoHasher"],["impl<F: Ord + Form> Ord for RootLayout<F>"],["impl<F: Ord + Form> Ord for StructLayout<F>where\n    F::String: Ord,"],["impl<F: Ord + Form> Ord for HashLayout<F>"],["impl Ord for HashingStrategy"],["impl<F: Ord + Form> Ord for LeafLayout<F>"]],
 "ink_primitives":[["impl Ord for AccountId"],["impl Ord for Hash"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js
index b2d03d2532..7a5ab9e33b 100644
--- a/trait.impl/core/cmp/trait.PartialEq.js
+++ b/trait.impl/core/cmp/trait.PartialEq.js
@@ -1,10 +1,10 @@
 (function() {var implementors = {
 "ink":[["impl PartialEq for DispatchError"]],
-"ink_engine":[["impl PartialEq for AccountError"],["impl PartialEq for Error"]],
-"ink_env":[["impl PartialEq for Sha2x256"],["impl PartialEq for Selector"],["impl PartialEq for CallData"],["impl PartialEq for Blake2x128"],["impl PartialEq for Error"],["impl PartialEq for DefaultEnvironment"],["impl PartialEq for Blake2x256"],["impl PartialEq for Keccak256"]],
+"ink_engine":[["impl PartialEq for Error"],["impl PartialEq for AccountError"]],
+"ink_env":[["impl PartialEq for Blake2x128"],["impl PartialEq for CallData"],["impl PartialEq for Blake2x256"],["impl PartialEq for DefaultEnvironment"],["impl PartialEq for Sha2x256"],["impl PartialEq for Selector"],["impl PartialEq for Keccak256"],["impl PartialEq for Error"]],
 "ink_ir":[["impl PartialEq for ItemMod"],["impl PartialEq for ChainExtension"],["impl PartialEq for InkItem"],["impl PartialEq for WhitelistedAttributes"],["impl PartialEq for Selector"],["impl PartialEq for ChainExtensionMethod"],["impl PartialEq for Event"],["impl PartialEq for InkTraitDefinition"],["impl PartialEq for ItemImpl"],["impl PartialEq for SignatureTopicArg"],["impl PartialEq for Constructor"],["impl PartialEq for Receiver"],["impl PartialEq for Item"],["impl PartialEq for Meta"],["impl PartialEq for InkItemTrait"],["impl PartialEq for AttributeArgs"],["impl PartialEq for Storage"],["impl PartialEq for ExtensionId"],["impl PartialEq for MetaNameValue"],["impl PartialEq for MetaValue"],["impl PartialEq for Namespace"],["impl PartialEq for Symbol"],["impl PartialEq for Config"],["impl PartialEq for Message"],["impl PartialEq for ImplItem"]],
-"ink_metadata":[["impl PartialEq for Selector"],["impl<F: PartialEq + Form> PartialEq for HashLayout<F>"],["impl<F: PartialEq + Form> PartialEq for Layout<F>"],["impl<F: PartialEq + Form> PartialEq for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for StructLayout<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for EventParamSpec<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for ConstructorSpec<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for FieldLayout<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for ReturnTypeSpec<F>"],["impl<F: PartialEq + Form> PartialEq for MessageSpec<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl PartialEq for MetadataError"],["impl<F: PartialEq + Form> PartialEq for EnumLayout<F>where\n    F::String: PartialEq,"],["impl PartialEq for CryptoHasher"],["impl PartialEq for HashingStrategy"],["impl<F: PartialEq + Form> PartialEq for ArrayLayout<F>"],["impl<F: PartialEq + Form> PartialEq for LeafLayout<F>"],["impl<F: PartialEq + Form> PartialEq for RootLayout<F>"],["impl PartialEq for LayoutKey"],["impl<F: PartialEq + Form> PartialEq for MessageParamSpec<F>where\n    F::String: PartialEq,"],["impl PartialEq for Discriminant"],["impl<F: PartialEq + Form> PartialEq for TypeSpec<F>where\n    F::Type: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for EventSpec<F>where\n    F::String: PartialEq,"]],
-"ink_primitives":[["impl PartialEq for LangError"],["impl PartialEq for Hash"],["impl PartialEq for AccountId"]],
-"ink_sandbox":[["impl PartialEq for RuntimeHoldReason"],["impl PartialEq for RuntimeCall"],["impl PartialEq for DefaultSandboxRuntime"],["impl PartialEq for RuntimeEvent"]],
-"ink_storage_traits":[["impl<L: PartialEq, R: PartialEq> PartialEq for ResolverKey<L, R>"],["impl<const KEY: Key, ParentKey: PartialEq + StorageKey> PartialEq for ManualKey<KEY, ParentKey>"],["impl PartialEq for AutoKey"]]
+"ink_metadata":[["impl PartialEq for Discriminant"],["impl<F: PartialEq + Form> PartialEq for ConstructorSpec<F>where\n    F::String: PartialEq,"],["impl PartialEq for MetadataError"],["impl<F: PartialEq + Form> PartialEq for TypeSpec<F>where\n    F::Type: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for EventSpec<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for EnumLayout<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for MessageSpec<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for EventParamSpec<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for MessageParamSpec<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for Layout<F>"],["impl PartialEq for LayoutKey"],["impl PartialEq for Selector"],["impl<F: PartialEq + Form> PartialEq for LeafLayout<F>"],["impl PartialEq for CryptoHasher"],["impl<F: PartialEq + Form> PartialEq for FieldLayout<F>where\n    F::String: PartialEq,"],["impl<F: PartialEq + Form> PartialEq for ArrayLayout<F>"],["impl<F: PartialEq + Form> PartialEq for RootLayout<F>"],["impl<F: PartialEq + Form> PartialEq for StructLayout<F>where\n    F::String: PartialEq,"],["impl PartialEq for HashingStrategy"],["impl<F: PartialEq + Form> PartialEq for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: PartialEq + Form> PartialEq for ReturnTypeSpec<F>"],["impl<F: PartialEq + Form> PartialEq for HashLayout<F>"]],
+"ink_primitives":[["impl PartialEq for AccountId"],["impl PartialEq for Hash"],["impl PartialEq for LangError"]],
+"ink_sandbox":[["impl PartialEq for DefaultSandboxRuntime"],["impl PartialEq for RuntimeEvent"],["impl PartialEq for RuntimeCall"],["impl PartialEq for RuntimeHoldReason"]],
+"ink_storage_traits":[["impl PartialEq for AutoKey"],["impl<L: PartialEq, R: PartialEq> PartialEq for ResolverKey<L, R>"],["impl<const KEY: Key, ParentKey: PartialEq + StorageKey> PartialEq for ManualKey<KEY, ParentKey>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/cmp/trait.PartialOrd.js b/trait.impl/core/cmp/trait.PartialOrd.js
index 6c06816ca0..3712761d02 100644
--- a/trait.impl/core/cmp/trait.PartialOrd.js
+++ b/trait.impl/core/cmp/trait.PartialOrd.js
@@ -1,6 +1,6 @@
 (function() {var implementors = {
 "ink_ir":[["impl PartialOrd for Selector"],["impl PartialOrd for Namespace"],["impl PartialOrd for SignatureTopicArg"],["impl PartialOrd for ExtensionId"]],
-"ink_metadata":[["impl PartialOrd for Discriminant"],["impl<F: PartialOrd + Form> PartialOrd for EnumLayout<F>where\n    F::String: PartialOrd,"],["impl<F: PartialOrd + Form> PartialOrd for StructLayout<F>where\n    F::String: PartialOrd,"],["impl<F: PartialOrd + Form> PartialOrd for FieldLayout<F>where\n    F::String: PartialOrd,"],["impl<F: PartialOrd + Form> PartialOrd for RootLayout<F>"],["impl PartialOrd for LayoutKey"],["impl PartialOrd for HashingStrategy"],["impl<F: PartialOrd + Form> PartialOrd for ArrayLayout<F>"],["impl<F: PartialOrd + Form> PartialOrd for Layout<F>"],["impl<F: PartialOrd + Form> PartialOrd for LeafLayout<F>"],["impl PartialOrd for CryptoHasher"],["impl<F: PartialOrd + Form> PartialOrd for HashLayout<F>"]],
-"ink_primitives":[["impl PartialOrd for AccountId"],["impl PartialOrd for Hash"]],
-"ink_storage_traits":[["impl PartialOrd for AutoKey"],["impl<const KEY: Key, ParentKey: PartialOrd + StorageKey> PartialOrd for ManualKey<KEY, ParentKey>"],["impl<L: PartialOrd, R: PartialOrd> PartialOrd for ResolverKey<L, R>"]]
+"ink_metadata":[["impl<F: PartialOrd + Form> PartialOrd for StructLayout<F>where\n    F::String: PartialOrd,"],["impl PartialOrd for Discriminant"],["impl<F: PartialOrd + Form> PartialOrd for Layout<F>"],["impl PartialOrd for CryptoHasher"],["impl PartialOrd for HashingStrategy"],["impl<F: PartialOrd + Form> PartialOrd for RootLayout<F>"],["impl<F: PartialOrd + Form> PartialOrd for ArrayLayout<F>"],["impl PartialOrd for LayoutKey"],["impl<F: PartialOrd + Form> PartialOrd for LeafLayout<F>"],["impl<F: PartialOrd + Form> PartialOrd for EnumLayout<F>where\n    F::String: PartialOrd,"],["impl<F: PartialOrd + Form> PartialOrd for HashLayout<F>"],["impl<F: PartialOrd + Form> PartialOrd for FieldLayout<F>where\n    F::String: PartialOrd,"]],
+"ink_primitives":[["impl PartialOrd for Hash"],["impl PartialOrd for AccountId"]],
+"ink_storage_traits":[["impl<const KEY: Key, ParentKey: PartialOrd + StorageKey> PartialOrd for ManualKey<KEY, ParentKey>"],["impl PartialOrd for AutoKey"],["impl<L: PartialOrd, R: PartialOrd> PartialOrd for ResolverKey<L, R>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/convert/trait.AsMut.js b/trait.impl/core/convert/trait.AsMut.js
index 14f182b2ed..010e1a7e83 100644
--- a/trait.impl/core/convert/trait.AsMut.js
+++ b/trait.impl/core/convert/trait.AsMut.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"ink_primitives":[["impl AsMut<[u8]> for Hash"],["impl AsMut<[u8; 32]> for AccountId"],["impl AsMut<[u8]> for AccountId"]]
+"ink_primitives":[["impl AsMut<[u8; 32]> for AccountId"],["impl AsMut<[u8]> for AccountId"],["impl AsMut<[u8]> for Hash"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/convert/trait.AsRef.js b/trait.impl/core/convert/trait.AsRef.js
index a3eaab02ae..f1543418f9 100644
--- a/trait.impl/core/convert/trait.AsRef.js
+++ b/trait.impl/core/convert/trait.AsRef.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"ink_primitives":[["impl AsRef<[u8; 32]> for AccountId"],["impl AsRef<[u8]> for AccountId"],["impl AsRef<[u8]> for Hash"]]
+"ink_primitives":[["impl AsRef<[u8]> for AccountId"],["impl AsRef<[u8]> for Hash"],["impl AsRef<[u8; 32]> for AccountId"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
index b4bdd306fa..9038df0b8e 100644
--- a/trait.impl/core/convert/trait.From.js
+++ b/trait.impl/core/convert/trait.From.js
@@ -2,9 +2,9 @@
 "ink":[["impl From<DispatchError> for Error"]],
 "ink_e2e":[["impl<E: Environment> From<ContractResult<Result<InstantiateReturnValue<<E as Environment>::AccountId>, DispatchError>, <E as Environment>::Balance, ()>> for InstantiateDryRunResult<E>"]],
 "ink_engine":[["impl From<AccountError> for Error"],["impl From<Error> for AccountError"]],
-"ink_env":[["impl From<ReturnErrorCode> for Error"],["impl From<Error> for Error"],["impl From<()> for Error"],["impl From<[u8; 4]> for Selector"],["impl From<EmittedEvent> for EmittedEvent"],["impl From<Error> for Error"],["impl From<AccountError> for Error"]],
+"ink_env":[["impl From<AccountError> for Error"],["impl From<[u8; 4]> for Selector"],["impl From<()> for Error"],["impl From<Error> for Error"],["impl From<EmittedEvent> for EmittedEvent"],["impl From<ReturnErrorCode> for Error"],["impl From<Error> for Error"]],
 "ink_ir":[["impl<'a> From<&'a Constructor> for InputsIter<'a>"],["impl<'a> From<&'a Message> for InputsIter<'a>"],["impl From<&[u8; 32]> for SignatureTopicArg"],["impl From<[u8; 4]> for Selector"],["impl<'a> From<&'a InkTraitMessage<'a>> for InputsIter<'a>"],["impl From<Storage> for InkItem"],["impl From<Vec<u8>> for Namespace"],["impl From<Event> for InkItem"],["impl From<ItemImpl> for InkItem"]],
-"ink_metadata":[["impl<F: Form> From<StructLayout<F>> for Layout<F>"],["impl<F: Form> From<EnumLayout<F>> for Layout<F>"],["impl<F: Form> From<LeafLayout<F>> for Layout<F>"],["impl<F: Form> From<(LayoutKey, Box<Layout<F>>, <F as Form>::Type)> for RootLayout<F>"],["impl<F: Form> From<(LayoutKey, <F as Form>::Type)> for LeafLayout<F>"],["impl From<usize> for Discriminant"],["impl<'a> From<&'a u32> for LayoutKey"],["impl<F: Form> From<ArrayLayout<F>> for Layout<F>"],["impl From<[u8; 4]> for Selector"],["impl From<u32> for LayoutKey"],["impl<F: Form> From<RootLayout<F>> for Layout<F>"],["impl<F: Form> From<HashLayout<F>> for Layout<F>"]],
-"ink_primitives":[["impl From<[u8; 32]> for AccountId"],["impl From<Hash> for [u8; 32]"],["impl From<[u8; 32]> for Hash"]],
-"ink_sandbox":[["impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent"],["impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall"],["impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent"],["impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent"],["impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall"],["impl From<Option<<DefaultSandboxRuntime as Config>::AccountId>> for RuntimeOrigin"],["impl From<RuntimeOrigin> for Result<Origin<DefaultSandboxRuntime>, RuntimeOrigin>"],["impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall"],["impl From<HoldReason> for RuntimeHoldReason"],["impl From<RawOrigin<<DefaultSandboxRuntime as Config>::AccountId>> for RuntimeOrigin"]]
+"ink_metadata":[["impl<F: Form> From<(LayoutKey, <F as Form>::Type)> for LeafLayout<F>"],["impl<F: Form> From<RootLayout<F>> for Layout<F>"],["impl From<[u8; 4]> for Selector"],["impl<F: Form> From<LeafLayout<F>> for Layout<F>"],["impl<F: Form> From<HashLayout<F>> for Layout<F>"],["impl<F: Form> From<EnumLayout<F>> for Layout<F>"],["impl<F: Form> From<(LayoutKey, Box<Layout<F>>, <F as Form>::Type)> for RootLayout<F>"],["impl<F: Form> From<StructLayout<F>> for Layout<F>"],["impl<'a> From<&'a u32> for LayoutKey"],["impl From<usize> for Discriminant"],["impl<F: Form> From<ArrayLayout<F>> for Layout<F>"],["impl From<u32> for LayoutKey"]],
+"ink_primitives":[["impl From<Hash> for [u8; 32]"],["impl From<[u8; 32]> for AccountId"],["impl From<[u8; 32]> for Hash"]],
+"ink_sandbox":[["impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent"],["impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent"],["impl From<Event<DefaultSandboxRuntime>> for RuntimeEvent"],["impl From<Option<<DefaultSandboxRuntime as Config>::AccountId>> for RuntimeOrigin"],["impl From<RawOrigin<<DefaultSandboxRuntime as Config>::AccountId>> for RuntimeOrigin"],["impl From<HoldReason> for RuntimeHoldReason"],["impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall"],["impl From<RuntimeOrigin> for Result<Origin<DefaultSandboxRuntime>, RuntimeOrigin>"],["impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall"],["impl From<<Pallet<DefaultSandboxRuntime> as Callable<DefaultSandboxRuntime>>::RuntimeCall> for RuntimeCall"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/convert/trait.TryFrom.js b/trait.impl/core/convert/trait.TryFrom.js
index e1c89b39c1..8d1fe56863 100644
--- a/trait.impl/core/convert/trait.TryFrom.js
+++ b/trait.impl/core/convert/trait.TryFrom.js
@@ -1,4 +1,4 @@
 (function() {var implementors = {
 "ink_ir":[["impl<T> TryFrom<TokenStream> for SelectorMacro<T>"],["impl TryFrom<&MetaValue> for Namespace"],["impl TryFrom<AttributeArgs> for Config"],["impl TryFrom<ImplItemFn> for Message"],["impl TryFrom<ItemStruct> for Event"],["impl TryFrom<Item> for Item"],["impl TryFrom<ImplItemFn> for Constructor"],["impl TryFrom<TokenStream> for Blake2x256Macro"],["impl TryFrom<&Lit> for SignatureTopicArg"],["impl TryFrom<AttributeArgs> for Option<SignatureTopicArg>"],["impl TryFrom<&MetaNameValue> for SignatureTopicArg"],["impl TryFrom<ImplItem> for ImplItem"],["impl TryFrom<ItemMod> for ItemMod"],["impl TryFrom<&MetaValue> for SignatureTopicArg"],["impl TryFrom<ItemStruct> for Storage"],["impl TryFrom<ItemImpl> for ItemImpl"],["impl TryFrom<ItemFn> for InkTest"]],
-"ink_primitives":[["impl<'a> TryFrom<&'a [u8]> for AccountId"],["impl<'a> TryFrom<&'a [u8]> for Hash"]]
+"ink_primitives":[["impl<'a> TryFrom<&'a [u8]> for Hash"],["impl<'a> TryFrom<&'a [u8]> for AccountId"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js
index 3fe2ab313d..53135e3daa 100644
--- a/trait.impl/core/default/trait.Default.js
+++ b/trait.impl/core/default/trait.Default.js
@@ -1,11 +1,11 @@
 (function() {var implementors = {
 "ink":[["impl<'a, E> Default for EnvAccess<'a, E>"]],
-"ink_engine":[["impl Default for Engine"],["impl Default for DebugInfo"],["impl Default for ChainSpec"],["impl Default for RecordedDebugMessages"]],
-"ink_env":[["impl<Args: Default> Default for ExecutionInput<Args>"],["impl<Head: Default, Rest: Default> Default for ArgumentList<Head, Rest>"],["impl Default for ArgumentListEnd"],["impl<T> Default for Unset<T>"],["impl Default for Selector"],["impl<T> Default for ReturnType<T>"]],
+"ink_engine":[["impl Default for RecordedDebugMessages"],["impl Default for Engine"],["impl Default for ChainSpec"],["impl Default for DebugInfo"]],
+"ink_env":[["impl<T> Default for ReturnType<T>"],["impl<Head: Default, Rest: Default> Default for ArgumentList<Head, Rest>"],["impl<Args: Default> Default for ExecutionInput<Args>"],["impl<T> Default for Unset<T>"],["impl Default for Selector"],["impl Default for ArgumentListEnd"]],
 "ink_ir":[["impl Default for ExtensionId"],["impl Default for Namespace"],["impl Default for WhitelistedAttributes"],["impl Default for Config"]],
-"ink_metadata":[["impl Default for TypeSpec<PortableForm>"],["impl<F> Default for EnvironmentSpec<F>where\n    F: Form,\n    TypeSpec<F>: Default,"],["impl Default for TypeSpec<MetaForm>"],["impl Default for Selector"]],
+"ink_metadata":[["impl Default for TypeSpec<PortableForm>"],["impl<F> Default for EnvironmentSpec<F>where\n    F: Form,\n    TypeSpec<F>: Default,"],["impl Default for Selector"],["impl Default for TypeSpec<MetaForm>"]],
 "ink_primitives":[["impl Default for Hash"]],
 "ink_sandbox":[["impl Default for DefaultSandbox"]],
-"ink_storage":[["impl<K, V, KeyType> Default for Mapping<K, V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"],["impl<V, KeyType> Default for StorageVec<V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"],["impl<V, KeyType> Default for Lazy<V, KeyType>where\n    KeyType: StorageKey,"]],
-"ink_storage_traits":[["impl<L: Default, R: Default> Default for ResolverKey<L, R>"],["impl Default for AutoKey"],["impl<const KEY: Key, ParentKey: Default + StorageKey> Default for ManualKey<KEY, ParentKey>"]]
+"ink_storage":[["impl<V, KeyType> Default for Lazy<V, KeyType>where\n    KeyType: StorageKey,"],["impl<K, V, KeyType> Default for Mapping<K, V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"],["impl<V, KeyType> Default for StorageVec<V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"]],
+"ink_storage_traits":[["impl Default for AutoKey"],["impl<L: Default, R: Default> Default for ResolverKey<L, R>"],["impl<const KEY: Key, ParentKey: Default + StorageKey> Default for ManualKey<KEY, ParentKey>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js
index c32e2b15b3..602897fd68 100644
--- a/trait.impl/core/fmt/trait.Debug.js
+++ b/trait.impl/core/fmt/trait.Debug.js
@@ -1,12 +1,12 @@
 (function() {var implementors = {
-"ink":[["impl<'a, E> Debug for EnvAccess<'a, E>"],["impl Debug for DispatchError"]],
-"ink_e2e":[["impl<E> Debug for InstantiateDryRunResult<E>where\n    E: Environment,\n    E::AccountId: Debug,\n    E::Balance: Debug,"],["impl<E: Environment, EventLog> Debug for UploadResult<E, EventLog>where\n    E::Balance: Debug,\n    E::Hash: Debug,\n    EventLog: Debug,"],["impl<E: Environment, EventLog> Debug for InstantiationResult<E, EventLog>where\n    E::AccountId: Debug,\n    E::Balance: Debug,\n    EventLog: Debug,"],["impl<E, V, EventLog> Debug for CallResult<E, V, EventLog>where\n    E: Debug + Environment,\n    E::Balance: Debug,\n    V: Debug,\n    EventLog: Debug,"],["impl<E: Debug + Environment, V: Debug> Debug for CallDryRunResult<E, V>where\n    E::Balance: Debug,"],["impl<E: Debug + Environment> Debug for ContractEmitted<E>where\n    E::AccountId: Debug,"],["impl<E: Debug + Environment> Debug for CodeStoredEvent<E>where\n    E::Hash: Debug,"],["impl<E: Debug + Environment> Debug for ContractInstantiatedEvent<E>where\n    E::AccountId: Debug,"]],
-"ink_engine":[["impl Debug for AccountError"],["impl Debug for Error"],["impl Debug for EmittedEvent"]],
-"ink_env":[["impl<T: Debug> Debug for HandleErrorCode<T>"],["impl Debug for Selector"],["impl Debug for Keccak256"],["impl<T: Debug> Debug for Argument<T>"],["impl Debug for CallData"],["impl Debug for Blake2x256"],["impl Debug for ArgumentListEnd"],["impl Debug for LimitParamsV1"],["impl<E, CallType: Debug, Args: Debug, R: Debug> Debug for CallParams<E, CallType, Args, R>where\n    E: Environment + Debug,"],["impl<Head: Debug, Rest: Debug> Debug for ArgumentList<Head, Rest>"],["impl<T: Debug> Debug for Set<T>"],["impl Debug for DefaultEnvironment"],["impl Debug for IgnoreErrorCode"],["impl<E, ContractRef: Debug, Limits: Debug, Args: Debug, Salt: Debug, R: Debug> Debug for CreateParams<E, ContractRef, Limits, Args, Salt, R>where\n    E: Environment + Debug,\n    E::Hash: Debug,\n    E::Balance: Debug,"],["impl<E> Debug for LimitParamsV2<E>where\n    E: Environment + Debug,\n    E::Balance: Debug,"],["impl<Args: Debug> Debug for ExecutionInput<Args>"],["impl Debug for Sha2x256"],["impl<I: Debug, O: Debug, ErrorCode: Debug, const IS_RESULT: bool> Debug for ChainExtensionMethod<I, O, ErrorCode, IS_RESULT>"],["impl Debug for Blake2x128"],["impl<T: Debug> Debug for ReturnType<T>"],["impl Debug for Error"],["impl<T: Debug> Debug for Unset<T>"]],
+"ink":[["impl Debug for DispatchError"],["impl<'a, E> Debug for EnvAccess<'a, E>"]],
+"ink_e2e":[["impl<E, V, EventLog> Debug for CallResult<E, V, EventLog>where\n    E: Debug + Environment,\n    E::Balance: Debug,\n    V: Debug,\n    EventLog: Debug,"],["impl<E: Environment, EventLog> Debug for UploadResult<E, EventLog>where\n    E::Balance: Debug,\n    E::Hash: Debug,\n    EventLog: Debug,"],["impl<E: Environment, EventLog> Debug for InstantiationResult<E, EventLog>where\n    E::AccountId: Debug,\n    E::Balance: Debug,\n    EventLog: Debug,"],["impl<E: Debug + Environment, V: Debug> Debug for CallDryRunResult<E, V>where\n    E::Balance: Debug,"],["impl<E> Debug for InstantiateDryRunResult<E>where\n    E: Environment,\n    E::AccountId: Debug,\n    E::Balance: Debug,"],["impl<E: Debug + Environment> Debug for ContractEmitted<E>where\n    E::AccountId: Debug,"],["impl<E: Debug + Environment> Debug for CodeStoredEvent<E>where\n    E::Hash: Debug,"],["impl<E: Debug + Environment> Debug for ContractInstantiatedEvent<E>where\n    E::AccountId: Debug,"]],
+"ink_engine":[["impl Debug for AccountError"],["impl Debug for EmittedEvent"],["impl Debug for Error"]],
+"ink_env":[["impl Debug for Blake2x128"],["impl<I: Debug, O: Debug, ErrorCode: Debug, const IS_RESULT: bool> Debug for ChainExtensionMethod<I, O, ErrorCode, IS_RESULT>"],["impl<E, ContractRef: Debug, Limits: Debug, Args: Debug, Salt: Debug, R: Debug> Debug for CreateParams<E, ContractRef, Limits, Args, Salt, R>where\n    E: Environment + Debug,\n    E::Hash: Debug,\n    E::Balance: Debug,"],["impl<T: Debug> Debug for ReturnType<T>"],["impl<T: Debug> Debug for HandleErrorCode<T>"],["impl Debug for DefaultEnvironment"],["impl<Head: Debug, Rest: Debug> Debug for ArgumentList<Head, Rest>"],["impl Debug for CallData"],["impl<T: Debug> Debug for Set<T>"],["impl Debug for LimitParamsV1"],["impl<E, CallType: Debug, Args: Debug, R: Debug> Debug for CallParams<E, CallType, Args, R>where\n    E: Environment + Debug,"],["impl Debug for Keccak256"],["impl<T: Debug> Debug for Unset<T>"],["impl Debug for Error"],["impl Debug for ArgumentListEnd"],["impl Debug for IgnoreErrorCode"],["impl<Args: Debug> Debug for ExecutionInput<Args>"],["impl Debug for Selector"],["impl Debug for Blake2x256"],["impl Debug for Sha2x256"],["impl<E> Debug for LimitParamsV2<E>where\n    E: Environment + Debug,\n    E::Balance: Debug,"],["impl<T: Debug> Debug for Argument<T>"]],
 "ink_ir":[["impl Debug for ItemImpl"],["impl Debug for ChainExtension"],["impl Debug for Selector"],["impl Debug for MetaNameValue"],["impl Debug for Namespace"],["impl Debug for SignatureTopicArg"],["impl Debug for Receiver"],["impl Debug for Message"],["impl<'a> Debug for InkTraitItem<'a>"],["impl Debug for ItemMod"],["impl Debug for InkItem"],["impl<'a> Debug for InkTraitMessage<'a>"],["impl Debug for Symbol"],["impl Debug for ImplItem"],["impl Debug for Item"],["impl Debug for MetaValue"],["impl Debug for CallableKind"],["impl Debug for Storage"],["impl Debug for AttributeArgs"],["impl Debug for Meta"],["impl<'a, C: Debug> Debug for CallableWithSelector<'a, C>"],["impl Debug for Constructor"],["impl Debug for Event"],["impl Debug for Blake2x256Macro"],["impl Debug for Config"],["impl Debug for ExtensionId"],["impl Debug for ChainExtensionMethod"],["impl Debug for InkItemTrait"],["impl Debug for InkTraitDefinition"],["impl Debug for Visibility"],["impl<T: Debug> Debug for SelectorMacro<T>"],["impl Debug for WhitelistedAttributes"]],
-"ink_metadata":[["impl<F: Debug + Form> Debug for ConstructorSpec<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Debug + Form> Debug for RootLayout<F>"],["impl<F: Debug + Form> Debug for EventParamSpec<F>where\n    F::String: Debug,"],["impl Debug for CryptoHasher"],["impl<F: Debug + Form> Debug for MessageParamSpec<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for ArrayLayout<F>"],["impl Debug for MetadataError"],["impl<F: Debug + Form> Debug for MessageSpec<F>where\n    F::String: Debug,"],["impl Debug for LayoutKey"],["impl<F: Debug + Form> Debug for FieldLayout<F>where\n    F::String: Debug,"],["impl Debug for Selector"],["impl Debug for HashingStrategy"],["impl<F: Debug + Form> Debug for StructLayout<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for EventSpec<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for HashLayout<F>"],["impl<F: Debug + Form> Debug for EnumLayout<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for Layout<F>"],["impl Debug for InkProject"],["impl<F: Debug + Form> Debug for LeafLayout<F>"],["impl<F: Debug + Form> Debug for ReturnTypeSpec<F>"],["impl<F: Debug + Form> Debug for TypeSpec<F>where\n    F::Type: Debug,"],["impl Debug for Discriminant"]],
-"ink_primitives":[["impl Debug for LangError"],["impl Debug for Hash"],["impl Debug for AccountId"]],
-"ink_sandbox":[["impl Debug for DefaultSandboxRuntime"],["impl Debug for RuntimeHoldReason"],["impl Debug for RuntimeEvent"],["impl Debug for RuntimeOrigin"],["impl Debug for RuntimeCall"]],
-"ink_storage":[["impl<V, KeyType> Debug for Lazy<V, KeyType>where\n    KeyType: StorageKey,"],["impl<K, V, KeyType> Debug for Mapping<K, V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"],["impl<V, KeyType> Debug for StorageVec<V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"]],
-"ink_storage_traits":[["impl<const KEY: Key, ParentKey: StorageKey> Debug for ManualKey<KEY, ParentKey>"],["impl<L: Debug, R: Debug> Debug for ResolverKey<L, R>"],["impl Debug for AutoKey"]]
+"ink_metadata":[["impl Debug for InkProject"],["impl<F: Debug + Form> Debug for RootLayout<F>"],["impl<F: Debug + Form> Debug for MessageSpec<F>where\n    F::String: Debug,"],["impl Debug for Selector"],["impl<F: Debug + Form> Debug for StructLayout<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for HashLayout<F>"],["impl<F: Debug + Form> Debug for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Debug + Form> Debug for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for ArrayLayout<F>"],["impl Debug for HashingStrategy"],["impl<F: Debug + Form> Debug for ReturnTypeSpec<F>"],["impl<F: Debug + Form> Debug for FieldLayout<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for EventSpec<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for EnumLayout<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for EventParamSpec<F>where\n    F::String: Debug,"],["impl<F: Debug + Form> Debug for Layout<F>"],["impl<F: Debug + Form> Debug for LeafLayout<F>"],["impl Debug for CryptoHasher"],["impl<F: Debug + Form> Debug for ConstructorSpec<F>where\n    F::String: Debug,"],["impl Debug for MetadataError"],["impl<F: Debug + Form> Debug for MessageParamSpec<F>where\n    F::String: Debug,"],["impl Debug for Discriminant"],["impl Debug for LayoutKey"],["impl<F: Debug + Form> Debug for TypeSpec<F>where\n    F::Type: Debug,"]],
+"ink_primitives":[["impl Debug for LangError"],["impl Debug for AccountId"],["impl Debug for Hash"]],
+"ink_sandbox":[["impl Debug for RuntimeOrigin"],["impl Debug for DefaultSandboxRuntime"],["impl Debug for RuntimeHoldReason"],["impl Debug for RuntimeEvent"],["impl Debug for RuntimeCall"]],
+"ink_storage":[["impl<V, KeyType> Debug for Lazy<V, KeyType>where\n    KeyType: StorageKey,"],["impl<V, KeyType> Debug for StorageVec<V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"],["impl<K, V, KeyType> Debug for Mapping<K, V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"]],
+"ink_storage_traits":[["impl Debug for AutoKey"],["impl<L: Debug, R: Debug> Debug for ResolverKey<L, R>"],["impl<const KEY: Key, ParentKey: StorageKey> Debug for ManualKey<KEY, ParentKey>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/hash/trait.Hash.js b/trait.impl/core/hash/trait.Hash.js
index 0a5c326b67..2c1aece09e 100644
--- a/trait.impl/core/hash/trait.Hash.js
+++ b/trait.impl/core/hash/trait.Hash.js
@@ -1,5 +1,5 @@
 (function() {var implementors = {
 "ink_ir":[["impl Hash for SignatureTopicArg"],["impl Hash for Symbol"],["impl Hash for Namespace"],["impl Hash for Meta"],["impl Hash for MetaNameValue"],["impl Hash for MetaValue"],["impl Hash for Selector"],["impl Hash for ExtensionId"]],
 "ink_metadata":[["impl Hash for Selector"]],
-"ink_primitives":[["impl Hash for AccountId"],["impl Hash for Hash"]]
+"ink_primitives":[["impl Hash for Hash"],["impl Hash for AccountId"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.Copy.js b/trait.impl/core/marker/trait.Copy.js
index abbfbd9c46..f5ef5ad350 100644
--- a/trait.impl/core/marker/trait.Copy.js
+++ b/trait.impl/core/marker/trait.Copy.js
@@ -1,9 +1,9 @@
 (function() {var implementors = {
 "ink":[["impl Copy for DispatchError"],["impl<'a, E: Copy> Copy for EnvAccess<'a, E>"]],
-"ink_env":[["impl<T: Copy> Copy for Set<T>"],["impl<T> Copy for ReturnType<T>"],["impl Copy for Blake2x256"],["impl Copy for Selector"],["impl Copy for Sha2x256"],["impl Copy for Blake2x128"],["impl Copy for Keccak256"],["impl<T> Copy for Unset<T>"]],
+"ink_env":[["impl<T> Copy for Unset<T>"],["impl Copy for Keccak256"],["impl Copy for Sha2x256"],["impl Copy for Blake2x128"],["impl Copy for Blake2x256"],["impl<T: Copy> Copy for Set<T>"],["impl<T> Copy for ReturnType<T>"],["impl Copy for Selector"]],
 "ink_ir":[["impl Copy for CallableKind"],["impl Copy for ExtensionId"],["impl Copy for Receiver"],["impl<C> Copy for CallableWithSelector<'_, C>"],["impl Copy for Selector"],["impl Copy for SignatureTopicArg"]],
-"ink_metadata":[["impl Copy for Discriminant"],["impl Copy for LayoutKey"]],
+"ink_metadata":[["impl Copy for LayoutKey"],["impl Copy for Discriminant"]],
 "ink_primitives":[["impl Copy for AccountId"],["impl Copy for LangError"],["impl Copy for Hash"]],
-"ink_sandbox":[["impl Copy for DefaultSandboxRuntime"],["impl Copy for RuntimeHoldReason"]],
-"ink_storage_traits":[["impl<L: Copy, R: Copy> Copy for ResolverKey<L, R>"],["impl Copy for AutoKey"],["impl<const KEY: Key, ParentKey: Copy + StorageKey> Copy for ManualKey<KEY, ParentKey>"]]
+"ink_sandbox":[["impl Copy for RuntimeHoldReason"],["impl Copy for DefaultSandboxRuntime"]],
+"ink_storage_traits":[["impl<L: Copy, R: Copy> Copy for ResolverKey<L, R>"],["impl<const KEY: Key, ParentKey: Copy + StorageKey> Copy for ManualKey<KEY, ParentKey>"],["impl Copy for AutoKey"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.StructuralEq.js b/trait.impl/core/marker/trait.StructuralEq.js
index a460eb1d48..dc6e88fad4 100644
--- a/trait.impl/core/marker/trait.StructuralEq.js
+++ b/trait.impl/core/marker/trait.StructuralEq.js
@@ -1,10 +1,10 @@
 (function() {var implementors = {
 "ink":[["impl StructuralEq for DispatchError"]],
-"ink_engine":[["impl StructuralEq for AccountError"],["impl StructuralEq for Error"]],
-"ink_env":[["impl StructuralEq for Selector"],["impl StructuralEq for DefaultEnvironment"],["impl StructuralEq for Blake2x256"],["impl StructuralEq for Keccak256"],["impl StructuralEq for Sha2x256"],["impl StructuralEq for Blake2x128"],["impl StructuralEq for Error"],["impl StructuralEq for CallData"]],
+"ink_engine":[["impl StructuralEq for Error"],["impl StructuralEq for AccountError"]],
+"ink_env":[["impl StructuralEq for Blake2x128"],["impl StructuralEq for DefaultEnvironment"],["impl StructuralEq for Blake2x256"],["impl StructuralEq for Error"],["impl StructuralEq for Keccak256"],["impl StructuralEq for Selector"],["impl StructuralEq for Sha2x256"],["impl StructuralEq for CallData"]],
 "ink_ir":[["impl StructuralEq for ExtensionId"],["impl StructuralEq for Constructor"],["impl StructuralEq for Message"],["impl StructuralEq for Event"],["impl StructuralEq for InkItemTrait"],["impl StructuralEq for Item"],["impl StructuralEq for ItemMod"],["impl StructuralEq for WhitelistedAttributes"],["impl StructuralEq for Symbol"],["impl StructuralEq for Selector"],["impl StructuralEq for MetaValue"],["impl StructuralEq for AttributeArgs"],["impl StructuralEq for Receiver"],["impl StructuralEq for ItemImpl"],["impl StructuralEq for ChainExtension"],["impl StructuralEq for Storage"],["impl StructuralEq for Meta"],["impl StructuralEq for ChainExtensionMethod"],["impl StructuralEq for Namespace"],["impl StructuralEq for InkItem"],["impl StructuralEq for Config"],["impl StructuralEq for ImplItem"],["impl StructuralEq for SignatureTopicArg"],["impl StructuralEq for InkTraitDefinition"],["impl StructuralEq for MetaNameValue"]],
-"ink_metadata":[["impl<F: Form> StructuralEq for Layout<F>"],["impl StructuralEq for Selector"],["impl StructuralEq for CryptoHasher"],["impl<F: Form> StructuralEq for ContractSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Form> StructuralEq for StructLayout<F>"],["impl<F: Form> StructuralEq for EventParamSpec<F>"],["impl<F: Form> StructuralEq for ArrayLayout<F>"],["impl<F: Form> StructuralEq for MessageParamSpec<F>"],["impl<F: Form> StructuralEq for TypeSpec<F>"],["impl<F: Form> StructuralEq for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Form> StructuralEq for ReturnTypeSpec<F>"],["impl<F: Form> StructuralEq for ConstructorSpec<F>"],["impl<F: Form> StructuralEq for MessageSpec<F>"],["impl StructuralEq for MetadataError"],["impl<F: Form> StructuralEq for EventSpec<F>"],["impl<F: Form> StructuralEq for LeafLayout<F>"],["impl<F: Form> StructuralEq for FieldLayout<F>"],["impl StructuralEq for HashingStrategy"],["impl<F: Form> StructuralEq for EnumLayout<F>"],["impl<F: Form> StructuralEq for RootLayout<F>"],["impl StructuralEq for LayoutKey"],["impl<F: Form> StructuralEq for HashLayout<F>"],["impl StructuralEq for Discriminant"]],
+"ink_metadata":[["impl<F: Form> StructuralEq for EventSpec<F>"],["impl<F: Form> StructuralEq for RootLayout<F>"],["impl<F: Form> StructuralEq for ArrayLayout<F>"],["impl StructuralEq for MetadataError"],["impl<F: Form> StructuralEq for LeafLayout<F>"],["impl<F: Form> StructuralEq for ContractSpec<F>where\n    TypeSpec<F>: Default,"],["impl StructuralEq for LayoutKey"],["impl<F: Form> StructuralEq for MessageParamSpec<F>"],["impl<F: Form> StructuralEq for EnumLayout<F>"],["impl StructuralEq for Discriminant"],["impl StructuralEq for Selector"],["impl StructuralEq for CryptoHasher"],["impl<F: Form> StructuralEq for EventParamSpec<F>"],["impl<F: Form> StructuralEq for Layout<F>"],["impl<F: Form> StructuralEq for ConstructorSpec<F>"],["impl<F: Form> StructuralEq for ReturnTypeSpec<F>"],["impl<F: Form> StructuralEq for StructLayout<F>"],["impl<F: Form> StructuralEq for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Form> StructuralEq for TypeSpec<F>"],["impl StructuralEq for HashingStrategy"],["impl<F: Form> StructuralEq for FieldLayout<F>"],["impl<F: Form> StructuralEq for HashLayout<F>"],["impl<F: Form> StructuralEq for MessageSpec<F>"]],
 "ink_primitives":[["impl StructuralEq for Hash"],["impl StructuralEq for LangError"],["impl StructuralEq for AccountId"]],
-"ink_sandbox":[["impl StructuralEq for RuntimeHoldReason"],["impl StructuralEq for RuntimeEvent"],["impl StructuralEq for DefaultSandboxRuntime"],["impl StructuralEq for RuntimeCall"]],
-"ink_storage_traits":[["impl<L, R> StructuralEq for ResolverKey<L, R>"],["impl StructuralEq for AutoKey"],["impl<const KEY: Key, ParentKey: StorageKey> StructuralEq for ManualKey<KEY, ParentKey>"]]
+"ink_sandbox":[["impl StructuralEq for RuntimeCall"],["impl StructuralEq for DefaultSandboxRuntime"],["impl StructuralEq for RuntimeEvent"],["impl StructuralEq for RuntimeHoldReason"]],
+"ink_storage_traits":[["impl<const KEY: Key, ParentKey: StorageKey> StructuralEq for ManualKey<KEY, ParentKey>"],["impl StructuralEq for AutoKey"],["impl<L, R> StructuralEq for ResolverKey<L, R>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js
index 3e0c71b89a..1969641851 100644
--- a/trait.impl/core/marker/trait.StructuralPartialEq.js
+++ b/trait.impl/core/marker/trait.StructuralPartialEq.js
@@ -1,10 +1,10 @@
 (function() {var implementors = {
 "ink":[["impl StructuralPartialEq for DispatchError"]],
-"ink_engine":[["impl StructuralPartialEq for AccountError"],["impl StructuralPartialEq for Error"]],
-"ink_env":[["impl StructuralPartialEq for Blake2x256"],["impl StructuralPartialEq for Keccak256"],["impl StructuralPartialEq for DefaultEnvironment"],["impl StructuralPartialEq for Selector"],["impl StructuralPartialEq for Blake2x128"],["impl StructuralPartialEq for Error"],["impl StructuralPartialEq for CallData"],["impl StructuralPartialEq for Sha2x256"]],
+"ink_engine":[["impl StructuralPartialEq for Error"],["impl StructuralPartialEq for AccountError"]],
+"ink_env":[["impl StructuralPartialEq for Sha2x256"],["impl StructuralPartialEq for Selector"],["impl StructuralPartialEq for Keccak256"],["impl StructuralPartialEq for Error"],["impl StructuralPartialEq for Blake2x128"],["impl StructuralPartialEq for CallData"],["impl StructuralPartialEq for DefaultEnvironment"],["impl StructuralPartialEq for Blake2x256"]],
 "ink_ir":[["impl StructuralPartialEq for AttributeArgs"],["impl StructuralPartialEq for MetaValue"],["impl StructuralPartialEq for MetaNameValue"],["impl StructuralPartialEq for Constructor"],["impl StructuralPartialEq for ItemMod"],["impl StructuralPartialEq for Item"],["impl StructuralPartialEq for Storage"],["impl StructuralPartialEq for ChainExtensionMethod"],["impl StructuralPartialEq for Receiver"],["impl StructuralPartialEq for Event"],["impl StructuralPartialEq for InkTraitDefinition"],["impl StructuralPartialEq for Symbol"],["impl StructuralPartialEq for ItemImpl"],["impl StructuralPartialEq for InkItem"],["impl StructuralPartialEq for WhitelistedAttributes"],["impl StructuralPartialEq for Namespace"],["impl StructuralPartialEq for SignatureTopicArg"],["impl StructuralPartialEq for InkItemTrait"],["impl StructuralPartialEq for ChainExtension"],["impl StructuralPartialEq for Message"],["impl StructuralPartialEq for ImplItem"],["impl StructuralPartialEq for Meta"],["impl StructuralPartialEq for ExtensionId"],["impl StructuralPartialEq for Selector"],["impl StructuralPartialEq for Config"]],
-"ink_metadata":[["impl<F: Form> StructuralPartialEq for MessageParamSpec<F>"],["impl<F: Form> StructuralPartialEq for ReturnTypeSpec<F>"],["impl StructuralPartialEq for MetadataError"],["impl StructuralPartialEq for LayoutKey"],["impl<F: Form> StructuralPartialEq for HashLayout<F>"],["impl<F: Form> StructuralPartialEq for EventSpec<F>"],["impl<F: Form> StructuralPartialEq for EventParamSpec<F>"],["impl<F: Form> StructuralPartialEq for ConstructorSpec<F>"],["impl<F: Form> StructuralPartialEq for RootLayout<F>"],["impl<F: Form> StructuralPartialEq for EnumLayout<F>"],["impl<F: Form> StructuralPartialEq for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Form> StructuralPartialEq for StructLayout<F>"],["impl StructuralPartialEq for HashingStrategy"],["impl<F: Form> StructuralPartialEq for TypeSpec<F>"],["impl<F: Form> StructuralPartialEq for ContractSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Form> StructuralPartialEq for MessageSpec<F>"],["impl<F: Form> StructuralPartialEq for LeafLayout<F>"],["impl<F: Form> StructuralPartialEq for Layout<F>"],["impl StructuralPartialEq for Discriminant"],["impl<F: Form> StructuralPartialEq for FieldLayout<F>"],["impl<F: Form> StructuralPartialEq for ArrayLayout<F>"],["impl StructuralPartialEq for CryptoHasher"],["impl StructuralPartialEq for Selector"]],
-"ink_primitives":[["impl StructuralPartialEq for LangError"],["impl StructuralPartialEq for AccountId"],["impl StructuralPartialEq for Hash"]],
-"ink_sandbox":[["impl StructuralPartialEq for DefaultSandboxRuntime"],["impl StructuralPartialEq for RuntimeEvent"],["impl StructuralPartialEq for RuntimeCall"],["impl StructuralPartialEq for RuntimeHoldReason"]],
+"ink_metadata":[["impl<F: Form> StructuralPartialEq for Layout<F>"],["impl<F: Form> StructuralPartialEq for EnumLayout<F>"],["impl<F: Form> StructuralPartialEq for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Form> StructuralPartialEq for ReturnTypeSpec<F>"],["impl<F: Form> StructuralPartialEq for StructLayout<F>"],["impl<F: Form> StructuralPartialEq for ConstructorSpec<F>"],["impl StructuralPartialEq for LayoutKey"],["impl<F: Form> StructuralPartialEq for ContractSpec<F>where\n    TypeSpec<F>: Default,"],["impl StructuralPartialEq for CryptoHasher"],["impl StructuralPartialEq for Discriminant"],["impl<F: Form> StructuralPartialEq for LeafLayout<F>"],["impl<F: Form> StructuralPartialEq for FieldLayout<F>"],["impl<F: Form> StructuralPartialEq for EventParamSpec<F>"],["impl<F: Form> StructuralPartialEq for RootLayout<F>"],["impl StructuralPartialEq for MetadataError"],["impl<F: Form> StructuralPartialEq for HashLayout<F>"],["impl StructuralPartialEq for Selector"],["impl<F: Form> StructuralPartialEq for MessageSpec<F>"],["impl StructuralPartialEq for HashingStrategy"],["impl<F: Form> StructuralPartialEq for MessageParamSpec<F>"],["impl<F: Form> StructuralPartialEq for EventSpec<F>"],["impl<F: Form> StructuralPartialEq for ArrayLayout<F>"],["impl<F: Form> StructuralPartialEq for TypeSpec<F>"]],
+"ink_primitives":[["impl StructuralPartialEq for AccountId"],["impl StructuralPartialEq for LangError"],["impl StructuralPartialEq for Hash"]],
+"ink_sandbox":[["impl StructuralPartialEq for DefaultSandboxRuntime"],["impl StructuralPartialEq for RuntimeHoldReason"],["impl StructuralPartialEq for RuntimeEvent"],["impl StructuralPartialEq for RuntimeCall"]],
 "ink_storage_traits":[["impl StructuralPartialEq for AutoKey"],["impl<const KEY: Key, ParentKey: StorageKey> StructuralPartialEq for ManualKey<KEY, ParentKey>"],["impl<L, R> StructuralPartialEq for ResolverKey<L, R>"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/frame_support/traits/misc/trait.IsInherent.js b/trait.impl/frame_support/traits/misc/trait.IsInherent.js
new file mode 100644
index 0000000000..3de4468372
--- /dev/null
+++ b/trait.impl/frame_support/traits/misc/trait.IsInherent.js
@@ -0,0 +1,3 @@
+(function() {var implementors = {
+"ink_sandbox":[["impl IsInherent<<<DefaultSandboxRuntime as Config>::Block as Block>::Extrinsic> for DefaultSandboxRuntime"]]
+};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/ink_storage_traits/layout/trait.StorageLayout.js b/trait.impl/ink_storage_traits/layout/trait.StorageLayout.js
index e9cf4d1b2d..e9c84e09db 100644
--- a/trait.impl/ink_storage_traits/layout/trait.StorageLayout.js
+++ b/trait.impl/ink_storage_traits/layout/trait.StorageLayout.js
@@ -1,5 +1,5 @@
 (function() {var implementors = {
 "ink":[],
-"ink_storage":[["impl<V, KeyType> StorageLayout for Lazy<V, KeyType>where\n    V: StorageLayout + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"],["impl<V, KeyType> StorageLayout for StorageVec<V, KeyType>where\n    V: Packed + StorageLayout + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"],["impl<K, V, KeyType> StorageLayout for Mapping<K, V, KeyType>where\n    K: TypeInfo + 'static,\n    V: Packed + StorageLayout + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"]],
+"ink_storage":[["impl<V, KeyType> StorageLayout for Lazy<V, KeyType>where\n    V: StorageLayout + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"],["impl<K, V, KeyType> StorageLayout for Mapping<K, V, KeyType>where\n    K: TypeInfo + 'static,\n    V: Packed + StorageLayout + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"],["impl<V, KeyType> StorageLayout for StorageVec<V, KeyType>where\n    V: Packed + StorageLayout + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"]],
 "ink_storage_traits":[]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/ink_storage_traits/storage/trait.StorableHint.js b/trait.impl/ink_storage_traits/storage/trait.StorableHint.js
index 7e0b2f48f5..f222247a78 100644
--- a/trait.impl/ink_storage_traits/storage/trait.StorableHint.js
+++ b/trait.impl/ink_storage_traits/storage/trait.StorableHint.js
@@ -1,5 +1,5 @@
 (function() {var implementors = {
 "ink":[],
-"ink_storage":[["impl<V, Key, InnerKey> StorableHint<Key> for Lazy<V, InnerKey>where\n    Key: StorageKey,\n    InnerKey: StorageKey,\n    V: StorableHint<Key>,"],["impl<K, V, Key, InnerKey> StorableHint<Key> for Mapping<K, V, InnerKey>where\n    V: Packed,\n    Key: StorageKey,\n    InnerKey: StorageKey,"],["impl<V, Key, InnerKey> StorableHint<Key> for StorageVec<V, InnerKey>where\n    V: Packed,\n    Key: StorageKey,\n    InnerKey: StorageKey,"]],
+"ink_storage":[["impl<V, Key, InnerKey> StorableHint<Key> for StorageVec<V, InnerKey>where\n    V: Packed,\n    Key: StorageKey,\n    InnerKey: StorageKey,"],["impl<K, V, Key, InnerKey> StorableHint<Key> for Mapping<K, V, InnerKey>where\n    V: Packed,\n    Key: StorageKey,\n    InnerKey: StorageKey,"],["impl<V, Key, InnerKey> StorableHint<Key> for Lazy<V, InnerKey>where\n    Key: StorageKey,\n    InnerKey: StorageKey,\n    V: StorableHint<Key>,"]],
 "ink_storage_traits":[]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/ink_storage_traits/storage/trait.StorageKey.js b/trait.impl/ink_storage_traits/storage/trait.StorageKey.js
index ca7aa7b2f3..c8e21a0e88 100644
--- a/trait.impl/ink_storage_traits/storage/trait.StorageKey.js
+++ b/trait.impl/ink_storage_traits/storage/trait.StorageKey.js
@@ -1,5 +1,5 @@
 (function() {var implementors = {
 "ink":[],
-"ink_storage":[["impl<K, V, KeyType> StorageKey for Mapping<K, V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"],["impl<V, KeyType> StorageKey for StorageVec<V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"],["impl<V, KeyType> StorageKey for Lazy<V, KeyType>where\n    KeyType: StorageKey,"]],
+"ink_storage":[["impl<V, KeyType> StorageKey for Lazy<V, KeyType>where\n    KeyType: StorageKey,"],["impl<K, V, KeyType> StorageKey for Mapping<K, V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"],["impl<V, KeyType> StorageKey for StorageVec<V, KeyType>where\n    V: Packed,\n    KeyType: StorageKey,"]],
 "ink_storage_traits":[]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/parity_scale_codec/codec/trait.Decode.js b/trait.impl/parity_scale_codec/codec/trait.Decode.js
index 37cdcea1b4..a6a680a2d7 100644
--- a/trait.impl/parity_scale_codec/codec/trait.Decode.js
+++ b/trait.impl/parity_scale_codec/codec/trait.Decode.js
@@ -1,6 +1,6 @@
 (function() {var implementors = {
-"ink_e2e":[["impl<E: Environment> Decode for ContractEmitted<E>where\n    E::AccountId: Decode,"],["impl<E: Environment> Decode for ContractInstantiatedEvent<E>where\n    E::AccountId: Decode,"],["impl<E: Environment> Decode for CodeStoredEvent<E>where\n    E::Hash: Decode,"]],
-"ink_env":[["impl Decode for Selector"],["impl Decode for CallData"]],
+"ink_e2e":[["impl<E: Environment> Decode for ContractInstantiatedEvent<E>where\n    E::AccountId: Decode,"],["impl<E: Environment> Decode for CodeStoredEvent<E>where\n    E::Hash: Decode,"],["impl<E: Environment> Decode for ContractEmitted<E>where\n    E::AccountId: Decode,"]],
+"ink_env":[["impl Decode for CallData"],["impl Decode for Selector"]],
 "ink_primitives":[["impl Decode for LangError"],["impl Decode for Hash"],["impl Decode for AccountId"]],
 "ink_sandbox":[["impl Decode for RuntimeHoldReason"],["impl Decode for RuntimeCall"],["impl Decode for RuntimeEvent"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/parity_scale_codec/codec/trait.Encode.js b/trait.impl/parity_scale_codec/codec/trait.Encode.js
index c65977457d..bf7e564473 100644
--- a/trait.impl/parity_scale_codec/codec/trait.Encode.js
+++ b/trait.impl/parity_scale_codec/codec/trait.Encode.js
@@ -1,6 +1,6 @@
 (function() {var implementors = {
-"ink_e2e":[["impl<E: Environment> Encode for CodeStoredEvent<E>where\n    E::Hash: Encode,"],["impl<E: Environment> Encode for ContractEmitted<E>where\n    E::AccountId: Encode,"],["impl<E: Environment> Encode for ContractInstantiatedEvent<E>where\n    E::AccountId: Encode,"]],
-"ink_env":[["impl<Head, Rest> Encode for ArgumentList<Argument<Head>, Rest>where\n    Head: Encode,\n    Rest: Encode,"],["impl Encode for Selector"],["impl<Args> Encode for ExecutionInput<Args>where\n    Args: Encode,"],["impl Encode for EmptyArgumentList"],["impl Encode for CallData"],["impl<T> Encode for Argument<T>where\n    T: Encode,"]],
-"ink_primitives":[["impl Encode for LangError"],["impl Encode for Hash"],["impl Encode for AccountId"]],
-"ink_sandbox":[["impl Encode for RuntimeCall"],["impl Encode for RuntimeEvent"],["impl Encode for RuntimeHoldReason"]]
+"ink_e2e":[["impl<E: Environment> Encode for CodeStoredEvent<E>where\n    E::Hash: Encode,"],["impl<E: Environment> Encode for ContractInstantiatedEvent<E>where\n    E::AccountId: Encode,"],["impl<E: Environment> Encode for ContractEmitted<E>where\n    E::AccountId: Encode,"]],
+"ink_env":[["impl Encode for EmptyArgumentList"],["impl<T> Encode for Argument<T>where\n    T: Encode,"],["impl Encode for CallData"],["impl<Head, Rest> Encode for ArgumentList<Argument<Head>, Rest>where\n    Head: Encode,\n    Rest: Encode,"],["impl Encode for Selector"],["impl<Args> Encode for ExecutionInput<Args>where\n    Args: Encode,"]],
+"ink_primitives":[["impl Encode for Hash"],["impl Encode for LangError"],["impl Encode for AccountId"]],
+"ink_sandbox":[["impl Encode for RuntimeEvent"],["impl Encode for RuntimeCall"],["impl Encode for RuntimeHoldReason"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/parity_scale_codec/encode_like/trait.EncodeLike.js b/trait.impl/parity_scale_codec/encode_like/trait.EncodeLike.js
index 6be2e53a51..8c4792dddb 100644
--- a/trait.impl/parity_scale_codec/encode_like/trait.EncodeLike.js
+++ b/trait.impl/parity_scale_codec/encode_like/trait.EncodeLike.js
@@ -1,6 +1,6 @@
 (function() {var implementors = {
-"ink_e2e":[["impl<E: Environment> EncodeLike for CodeStoredEvent<E>where\n    E::Hash: Encode,"],["impl<E: Environment> EncodeLike for ContractEmitted<E>where\n    E::AccountId: Encode,"],["impl<E: Environment> EncodeLike for ContractInstantiatedEvent<E>where\n    E::AccountId: Encode,"]],
+"ink_e2e":[["impl<E: Environment> EncodeLike for ContractEmitted<E>where\n    E::AccountId: Encode,"],["impl<E: Environment> EncodeLike for ContractInstantiatedEvent<E>where\n    E::AccountId: Encode,"],["impl<E: Environment> EncodeLike for CodeStoredEvent<E>where\n    E::Hash: Encode,"]],
 "ink_env":[["impl EncodeLike for Selector"]],
-"ink_primitives":[["impl EncodeLike for LangError"],["impl EncodeLike for AccountId"],["impl EncodeLike for Hash"]],
-"ink_sandbox":[["impl EncodeLike for RuntimeEvent"],["impl EncodeLike for RuntimeCall"],["impl EncodeLike for RuntimeHoldReason"]]
+"ink_primitives":[["impl EncodeLike for AccountId"],["impl EncodeLike for Hash"],["impl EncodeLike for LangError"]],
+"ink_sandbox":[["impl EncodeLike for RuntimeEvent"],["impl EncodeLike for RuntimeHoldReason"],["impl EncodeLike for RuntimeCall"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/scale_decode/trait.DecodeAsFields.js b/trait.impl/scale_decode/trait.DecodeAsFields.js
index 19a16c83d2..d16d025d7f 100644
--- a/trait.impl/scale_decode/trait.DecodeAsFields.js
+++ b/trait.impl/scale_decode/trait.DecodeAsFields.js
@@ -1,4 +1,4 @@
 (function() {var implementors = {
-"ink_e2e":[["impl<E: Environment> DecodeAsFields for ContractEmitted<E>"],["impl<E: Environment> DecodeAsFields for CodeStoredEvent<E>"],["impl<E: Environment> DecodeAsFields for ContractInstantiatedEvent<E>"]],
-"ink_primitives":[["impl DecodeAsFields for AccountId"],["impl DecodeAsFields for Hash"]]
+"ink_e2e":[["impl<E: Environment> DecodeAsFields for CodeStoredEvent<E>"],["impl<E: Environment> DecodeAsFields for ContractInstantiatedEvent<E>"],["impl<E: Environment> DecodeAsFields for ContractEmitted<E>"]],
+"ink_primitives":[["impl DecodeAsFields for Hash"],["impl DecodeAsFields for AccountId"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/scale_decode/trait.IntoVisitor.js b/trait.impl/scale_decode/trait.IntoVisitor.js
index d8b81c34d2..80a17fe972 100644
--- a/trait.impl/scale_decode/trait.IntoVisitor.js
+++ b/trait.impl/scale_decode/trait.IntoVisitor.js
@@ -1,4 +1,4 @@
 (function() {var implementors = {
-"ink_e2e":[["impl<E: Environment> IntoVisitor for ContractEmitted<E>"],["impl<E: Environment> IntoVisitor for ContractInstantiatedEvent<E>"],["impl<E: Environment> IntoVisitor for CodeStoredEvent<E>"]],
+"ink_e2e":[["impl<E: Environment> IntoVisitor for ContractEmitted<E>"],["impl<E: Environment> IntoVisitor for CodeStoredEvent<E>"],["impl<E: Environment> IntoVisitor for ContractInstantiatedEvent<E>"]],
 "ink_primitives":[["impl IntoVisitor for Hash"],["impl IntoVisitor for AccountId"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/scale_encode/trait.EncodeAsFields.js b/trait.impl/scale_encode/trait.EncodeAsFields.js
index d2c5704a36..c78025ec5b 100644
--- a/trait.impl/scale_encode/trait.EncodeAsFields.js
+++ b/trait.impl/scale_encode/trait.EncodeAsFields.js
@@ -1,4 +1,4 @@
 (function() {var implementors = {
-"ink_e2e":[["impl<E> EncodeAsFields for CodeStoredEvent<E>where\n    E: EncodeAsType + Environment,"],["impl<E> EncodeAsFields for ContractEmitted<E>where\n    E: EncodeAsType + Environment,"],["impl<E> EncodeAsFields for ContractInstantiatedEvent<E>where\n    E: EncodeAsType + Environment,"]],
-"ink_primitives":[["impl EncodeAsFields for Hash"],["impl EncodeAsFields for AccountId"]]
+"ink_e2e":[["impl<E> EncodeAsFields for CodeStoredEvent<E>where\n    E: EncodeAsType + Environment,"],["impl<E> EncodeAsFields for ContractInstantiatedEvent<E>where\n    E: EncodeAsType + Environment,"],["impl<E> EncodeAsFields for ContractEmitted<E>where\n    E: EncodeAsType + Environment,"]],
+"ink_primitives":[["impl EncodeAsFields for AccountId"],["impl EncodeAsFields for Hash"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/scale_encode/trait.EncodeAsType.js b/trait.impl/scale_encode/trait.EncodeAsType.js
index ba30c39c26..5008c669e9 100644
--- a/trait.impl/scale_encode/trait.EncodeAsType.js
+++ b/trait.impl/scale_encode/trait.EncodeAsType.js
@@ -1,4 +1,4 @@
 (function() {var implementors = {
-"ink_e2e":[["impl<E> EncodeAsType for ContractEmitted<E>where\n    E: EncodeAsType + Environment,"],["impl<E> EncodeAsType for CodeStoredEvent<E>where\n    E: EncodeAsType + Environment,"],["impl<E> EncodeAsType for ContractInstantiatedEvent<E>where\n    E: EncodeAsType + Environment,"]],
+"ink_e2e":[["impl<E> EncodeAsType for CodeStoredEvent<E>where\n    E: EncodeAsType + Environment,"],["impl<E> EncodeAsType for ContractEmitted<E>where\n    E: EncodeAsType + Environment,"],["impl<E> EncodeAsType for ContractInstantiatedEvent<E>where\n    E: EncodeAsType + Environment,"]],
 "ink_primitives":[["impl EncodeAsType for AccountId"],["impl EncodeAsType for Hash"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/scale_info/registry/trait.IntoPortable.js b/trait.impl/scale_info/registry/trait.IntoPortable.js
index 392ab167ae..6911752d3f 100644
--- a/trait.impl/scale_info/registry/trait.IntoPortable.js
+++ b/trait.impl/scale_info/registry/trait.IntoPortable.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"ink_metadata":[["impl IntoPortable for ArrayLayout"],["impl IntoPortable for Layout"],["impl IntoPortable for EnvironmentSpec"],["impl IntoPortable for ReturnTypeSpec"],["impl IntoPortable for FieldLayout"],["impl IntoPortable for EnumLayout"],["impl IntoPortable for MessageParamSpec"],["impl IntoPortable for EventParamSpec"],["impl IntoPortable for MessageSpec"],["impl IntoPortable for StructLayout"],["impl IntoPortable for EventSpec"],["impl IntoPortable for ConstructorSpec"],["impl IntoPortable for RootLayout"],["impl IntoPortable for ContractSpec"],["impl IntoPortable for LeafLayout"],["impl IntoPortable for TypeSpec"],["impl IntoPortable for HashLayout"]]
+"ink_metadata":[["impl IntoPortable for ConstructorSpec"],["impl IntoPortable for HashLayout"],["impl IntoPortable for EventSpec"],["impl IntoPortable for MessageParamSpec"],["impl IntoPortable for EventParamSpec"],["impl IntoPortable for EnvironmentSpec"],["impl IntoPortable for FieldLayout"],["impl IntoPortable for TypeSpec"],["impl IntoPortable for Layout"],["impl IntoPortable for StructLayout"],["impl IntoPortable for ContractSpec"],["impl IntoPortable for ReturnTypeSpec"],["impl IntoPortable for LeafLayout"],["impl IntoPortable for RootLayout"],["impl IntoPortable for EnumLayout"],["impl IntoPortable for MessageSpec"],["impl IntoPortable for ArrayLayout"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/scale_info/trait.TypeInfo.js b/trait.impl/scale_info/trait.TypeInfo.js
index 6cab3685ae..0f69b14abd 100644
--- a/trait.impl/scale_info/trait.TypeInfo.js
+++ b/trait.impl/scale_info/trait.TypeInfo.js
@@ -1,8 +1,8 @@
 (function() {var implementors = {
 "ink_env":[["impl TypeInfo for DefaultEnvironment"],["impl TypeInfo for NoChainExtension"]],
 "ink_metadata":[],
-"ink_primitives":[["impl TypeInfo for AccountId"],["impl TypeInfo for Hash"],["impl TypeInfo for LangError"]],
-"ink_sandbox":[["impl TypeInfo for RuntimeCall"],["impl TypeInfo for DefaultSandboxRuntime"],["impl TypeInfo for RuntimeHoldReason"],["impl TypeInfo for RuntimeEvent"]],
-"ink_storage":[["impl<K, V, KeyType> TypeInfo for Mapping<K, V, KeyType>where\n    PhantomData<fn() -> (K, V, KeyType)>: TypeInfo + 'static,\n    K: TypeInfo + 'static,\n    V: Packed + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"],["impl<V, KeyType> TypeInfo for Lazy<V, KeyType>where\n    PhantomData<fn() -> (V, KeyType)>: TypeInfo + 'static,\n    V: TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"],["impl<V, KeyType> TypeInfo for StorageVec<V, KeyType>where\n    Lazy<u32, KeyType>: TypeInfo + 'static,\n    Mapping<u32, V, KeyType>: TypeInfo + 'static,\n    V: Packed + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"]],
-"ink_storage_traits":[["impl<L, R> TypeInfo for ResolverKey<L, R>where\n    PhantomData<fn() -> (L, R)>: TypeInfo + 'static,\n    L: TypeInfo + 'static,\n    R: TypeInfo + 'static,"],["impl TypeInfo for AutoKey"],["impl<const KEY: Key, ParentKey> TypeInfo for ManualKey<KEY, ParentKey>where\n    PhantomData<fn() -> ParentKey>: TypeInfo + 'static,\n    ParentKey: StorageKey + TypeInfo + 'static,"]]
+"ink_primitives":[["impl TypeInfo for Hash"],["impl TypeInfo for AccountId"],["impl TypeInfo for LangError"]],
+"ink_sandbox":[["impl TypeInfo for RuntimeCall"],["impl TypeInfo for RuntimeEvent"],["impl TypeInfo for DefaultSandboxRuntime"],["impl TypeInfo for RuntimeHoldReason"]],
+"ink_storage":[["impl<V, KeyType> TypeInfo for StorageVec<V, KeyType>where\n    Lazy<u32, KeyType>: TypeInfo + 'static,\n    Mapping<u32, V, KeyType>: TypeInfo + 'static,\n    V: Packed + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"],["impl<V, KeyType> TypeInfo for Lazy<V, KeyType>where\n    PhantomData<fn() -> (V, KeyType)>: TypeInfo + 'static,\n    V: TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"],["impl<K, V, KeyType> TypeInfo for Mapping<K, V, KeyType>where\n    PhantomData<fn() -> (K, V, KeyType)>: TypeInfo + 'static,\n    K: TypeInfo + 'static,\n    V: Packed + TypeInfo + 'static,\n    KeyType: StorageKey + TypeInfo + 'static,"]],
+"ink_storage_traits":[["impl<const KEY: Key, ParentKey> TypeInfo for ManualKey<KEY, ParentKey>where\n    PhantomData<fn() -> ParentKey>: TypeInfo + 'static,\n    ParentKey: StorageKey + TypeInfo + 'static,"],["impl TypeInfo for AutoKey"],["impl<L, R> TypeInfo for ResolverKey<L, R>where\n    PhantomData<fn() -> (L, R)>: TypeInfo + 'static,\n    L: TypeInfo + 'static,\n    R: TypeInfo + 'static,"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/schemars/trait.JsonSchema.js b/trait.impl/schemars/trait.JsonSchema.js
index 0291b2a746..f8c8cd2a35 100644
--- a/trait.impl/schemars/trait.JsonSchema.js
+++ b/trait.impl/schemars/trait.JsonSchema.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"ink_metadata":[["impl JsonSchema for HashingStrategy"],["impl<F: Form + JsonSchema> JsonSchema for MessageSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for Layout<F>"],["impl<F: Form + JsonSchema> JsonSchema for RootLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Form + JsonSchema> JsonSchema for EventParamSpec<F>"],["impl JsonSchema for Discriminant"],["impl<F: Form + JsonSchema> JsonSchema for StructLayout<F>"],["impl JsonSchema for LayoutKey"],["impl JsonSchema for InkProject"],["impl JsonSchema for Selector"],["impl JsonSchema for CryptoHasher"],["impl<F: Form + JsonSchema> JsonSchema for HashLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for LeafLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for FieldLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for ConstructorSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for TypeSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for EnumLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for ReturnTypeSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for ContractSpec<F>where\n    TypeSpec<F>: Default,"],["impl<F: Form + JsonSchema> JsonSchema for MessageParamSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for EventSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for ArrayLayout<F>"]]
+"ink_metadata":[["impl<F: Form + JsonSchema> JsonSchema for StructLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for HashLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for TypeSpec<F>"],["impl JsonSchema for CryptoHasher"],["impl<F: Form + JsonSchema> JsonSchema for ReturnTypeSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for EventParamSpec<F>"],["impl JsonSchema for InkProject"],["impl<F: Form + JsonSchema> JsonSchema for ContractSpec<F>where\n    TypeSpec<F>: Default,"],["impl JsonSchema for HashingStrategy"],["impl<F: Form + JsonSchema> JsonSchema for ArrayLayout<F>"],["impl JsonSchema for Discriminant"],["impl<F: Form + JsonSchema> JsonSchema for MessageSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for RootLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for LeafLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for FieldLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for ConstructorSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for EventSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for EnumLayout<F>"],["impl<F: Form + JsonSchema> JsonSchema for MessageParamSpec<F>"],["impl<F: Form + JsonSchema> JsonSchema for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,"],["impl JsonSchema for Selector"],["impl<F: Form + JsonSchema> JsonSchema for Layout<F>"],["impl JsonSchema for LayoutKey"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/serde/de/trait.Deserialize.js b/trait.impl/serde/de/trait.Deserialize.js
index a8fc7afb6e..52a9e9d777 100644
--- a/trait.impl/serde/de/trait.Deserialize.js
+++ b/trait.impl/serde/de/trait.Deserialize.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"ink_metadata":[["impl<'de, F: Form> Deserialize<'de> for RootLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for LeafLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for HashingStrategy"],["impl<'de, F: Form> Deserialize<'de> for TypeSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for LayoutKey"],["impl<'de, F: Form> Deserialize<'de> for HashLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for ConstructorSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for EnumLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for Discriminant"],["impl<'de, F: Form> Deserialize<'de> for ArrayLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for Layout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for ReturnTypeSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for Selector"],["impl<'de, F: Form> Deserialize<'de> for EventSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for FieldLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for MessageSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for EventParamSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for MessageParamSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for CryptoHasher"],["impl<'de> Deserialize<'de> for InkProject"],["impl<'de, F: Form> Deserialize<'de> for StructLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"]]
+"ink_metadata":[["impl<'de, F: Form> Deserialize<'de> for EventSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for FieldLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for Selector"],["impl<'de, F: Form> Deserialize<'de> for ReturnTypeSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for InkProject"],["impl<'de, F: Form> Deserialize<'de> for Layout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for RootLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for LayoutKey"],["impl<'de, F: Form> Deserialize<'de> for MessageParamSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for CryptoHasher"],["impl<'de, F: Form> Deserialize<'de> for EventParamSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for HashingStrategy"],["impl<'de, F: Form> Deserialize<'de> for StructLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for TypeSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for EnumLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for ConstructorSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for LeafLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de> Deserialize<'de> for Discriminant"],["impl<'de, F: Form> Deserialize<'de> for MessageSpec<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for ArrayLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"],["impl<'de, F: Form> Deserialize<'de> for HashLayout<F>where\n    F::Type: DeserializeOwned,\n    F::String: DeserializeOwned,"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/trait.impl/serde/ser/trait.Serialize.js b/trait.impl/serde/ser/trait.Serialize.js
index ea41ef5821..cab39fe742 100644
--- a/trait.impl/serde/ser/trait.Serialize.js
+++ b/trait.impl/serde/ser/trait.Serialize.js
@@ -1,3 +1,3 @@
 (function() {var implementors = {
-"ink_metadata":[["impl Serialize for Discriminant"],["impl<F: Form> Serialize for MessageSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for ConstructorSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for ReturnTypeSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for LeafLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for FieldLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl Serialize for InkProject"],["impl<F: Form> Serialize for MessageParamSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl Serialize for CryptoHasher"],["impl<F: Form> Serialize for RootLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for ArrayLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl Serialize for LayoutKey"],["impl<F: Form> Serialize for EventSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl Serialize for HashingStrategy"],["impl<F: Form> Serialize for StructLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for TypeSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for Layout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for EventParamSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for EnumLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl Serialize for Selector"],["impl<F: Form> Serialize for HashLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::Type: Serialize,\n    F::String: Serialize,"]]
+"ink_metadata":[["impl<F: Form> Serialize for TypeSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for ArrayLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for Layout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl Serialize for CryptoHasher"],["impl<F: Form> Serialize for EventParamSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl Serialize for Selector"],["impl Serialize for Discriminant"],["impl Serialize for LayoutKey"],["impl<F: Form> Serialize for EventSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for MessageSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for EnvironmentSpec<F>where\n    TypeSpec<F>: Default,\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for EnumLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for HashLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for LeafLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for ConstructorSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for ReturnTypeSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for FieldLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl Serialize for HashingStrategy"],["impl<F: Form> Serialize for ContractSpec<F>where\n    TypeSpec<F>: Default,\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for MessageParamSpec<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl Serialize for InkProject"],["impl<F: Form> Serialize for StructLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"],["impl<F: Form> Serialize for RootLayout<F>where\n    F::Type: Serialize,\n    F::String: Serialize,"]]
 };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
diff --git a/type.impl/core/result/enum.Result.js b/type.impl/core/result/enum.Result.js
index ea6c436fc6..71dfc3eb18 100644
--- a/type.impl/core/result/enum.Result.js
+++ b/type.impl/core/result/enum.Result.js
@@ -1,5 +1,5 @@
 (function() {var type_impls = {
-"ink":[["
source§

impl<T, E> Result<T, E>

1.0.0 (const: 1.48.0) · source

pub const fn is_ok(&self) -> bool

Returns true if the result is Ok.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_ok(), false);
\n
1.70.0 · source

pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

Returns true if the result is Ok and the value inside of it matches a predicate.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err("hey");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
\n
1.0.0 (const: 1.48.0) · source

pub const fn is_err(&self) -> bool

Returns true if the result is Err.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_err(), true);
\n
1.70.0 · source

pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

Returns true if the result is Err and the value inside of it matches a predicate.

\n
Examples
\n
use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
\n
1.0.0 · source

pub fn ok(self) -> Option<T>

Converts from Result<T, E> to Option<T>.

\n

Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.ok(), None);
\n
1.0.0 · source

pub fn err(self) -> Option<E>

Converts from Result<T, E> to Option<E>.

\n

Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.err(), Some("Nothing here"));
\n
1.0.0 (const: 1.48.0) · source

pub const fn as_ref(&self) -> Result<&T, &E>

Converts from &Result<T, E> to Result<&T, &E>.

\n

Produces a new Result, containing a reference\ninto the original, leaving the original in place.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err("Error");\nassert_eq!(x.as_ref(), Err(&"Error"));
\n
1.0.0 (const: unstable) · source

pub fn as_mut(&mut self) -> Result<&mut T, &mut E>

Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

\n
Examples
\n
fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
\n
1.0.0 · source

pub fn map<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> U,

Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

\n

This function can be used to compose the results of two functions.

\n
Examples
\n

Print the numbers on each line of a string multiplied by two.

\n\n
let line = "1\\n2\\n3\\n4\\n";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!("{n}"),\n        Err(..) => {}\n    }\n}
\n
1.41.0 · source

pub fn map_or<U, F>(self, default: U, f: F) -> Uwhere\n F: FnOnce(T) -> U,

Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

\n

Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let x: Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err("bar");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
\n
1.41.0 · source

pub fn map_or_else<U, D, F>(self, default: D, f: F) -> Uwhere\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

\n

This function can be used to unpack a successful result\nwhile handling an error.

\n
Examples
\n
let k = 21;\n\nlet x : Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err("bar");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
\n
1.0.0 · source

pub fn map_err<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> F,

Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

\n

This function can be used to pass through a successful result while handling\nan error.

\n
Examples
\n
fn stringify(x: u32) -> String { format!("error code: {x}") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err("error code: 13".to_string()));
\n
source

pub fn inspect<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&T),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained value (if Ok).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nlet x: u8 = "4"\n    .parse::<u8>()\n    .inspect(|x| println!("original: {x}"))\n    .map(|x| x.pow(3))\n    .expect("failed to parse number");
\n
source

pub fn inspect_err<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&E),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained error (if Err).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nuse std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string("address.txt")\n        .inspect_err(|e| eprintln!("failed to read file: {e}"))\n}
\n
1.47.0 · source

pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>where\n T: Deref,

Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

\n

Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

\n
Examples
\n
let x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&str, &u32> = Ok("hello");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
\n
1.47.0 · source

pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>where\n T: DerefMut,

Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

\n

Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

\n
Examples
\n
let mut s = "HELLO".to_string();\nlet mut x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
\n
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter().next(), None);
\n
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a mutable iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter_mut().next(), None);
\n
1.4.0 · source

pub fn expect(self, msg: &str) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

\n
Examples
\n
let x: Result<u32, &str> = Err("emergency failure");\nx.expect("Testing expect"); // panics with `Testing expect: emergency failure`
\n
Recommended Message Style
\n

We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

\n\n
let path = std::env::var("IMPORTANT_PATH")\n    .expect("env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`");
\n

Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

\n

For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

\n
1.0.0 · source

pub fn unwrap(self) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message provided by the\nErr’s value.

\n
Examples
\n

Basic usage:

\n\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nx.unwrap(); // panics with `emergency failure`
\n
1.16.0 · source

pub fn unwrap_or_default(self) -> Twhere\n T: Default,

Returns the contained Ok value or a default

\n

Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

\n
Examples
\n

Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

\n\n
let good_year_from_input = "1909";\nlet bad_year_from_input = "190blarg";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
\n
1.17.0 · source

pub fn expect_err(self, msg: &str) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

\n
Examples
\n
let x: Result<u32, &str> = Ok(10);\nx.expect_err("Testing expect_err"); // panics with `Testing expect_err: 10`
\n
1.0.0 · source

pub fn unwrap_err(self) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(x.unwrap_err(), "emergency failure");
\n
source

pub fn into_ok(self) -> Twhere\n E: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Ok value, but never panics.

\n

Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

\n
Examples
\n
\nfn only_good_news() -> Result<String, !> {\n    Ok("this is fine".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!("{s}");
\n
source

pub fn into_err(self) -> Ewhere\n T: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Err value, but never panics.

\n

Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

\n
Examples
\n
\nfn only_bad_news() -> Result<!, String> {\n    Err("Oops, it failed".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!("{error}");
\n
1.0.0 · source

pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

Returns res if the result is Ok, otherwise returns the Err value of self.

\n

Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("late error"));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<&str, &str> = Ok("foo");\nassert_eq!(x.and(y), Err("early error"));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("not a 2"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok("different result type");\nassert_eq!(x.and(y), Ok("different result type"));
\n
1.0.0 · source

pub fn and_then<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> Result<U, E>,

Calls op if the result is Ok, otherwise returns the Err value of self.

\n

This function can be used for control flow based on Result values.

\n
Examples
\n
fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or("overflowed")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err("overflowed"));\nassert_eq!(Err("not a number").and_then(sq_then_to_string), Err("not a number"));
\n

Often used to chain fallible operations that may return Err.

\n\n
use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows "/" maps to "C:\\"\nlet root_modified_time = Path::new("/").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new("/bad/path").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
\n
1.0.0 · source

pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

Returns res if the result is Err, otherwise returns the Ok value of self.

\n

Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Err("late error"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
\n
1.0.0 · source

pub fn or_else<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> Result<T, F>,

Calls op if the result is Err, otherwise returns the Ok value of self.

\n

This function can be used for control flow based on result values.

\n
Examples
\n
fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
\n
1.0.0 · source

pub fn unwrap_or(self, default: T) -> T

Returns the contained Ok value or a provided default.

\n

Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err("error");\nassert_eq!(x.unwrap_or(default), default);
\n
1.0.0 · source

pub fn unwrap_or_else<F>(self, op: F) -> Twhere\n F: FnOnce(E) -> T,

Returns the contained Ok value or computes it from a closure.

\n
Examples
\n
fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err("foo").unwrap_or_else(count), 3);
\n
1.58.0 · source

pub unsafe fn unwrap_unchecked(self) -> T

Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

\n
Safety
\n

Calling this method on an Err is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
\n
1.58.0 · source

pub unsafe fn unwrap_err_unchecked(self) -> E

Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

\n
Safety
\n

Calling this method on an Ok is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, "emergency failure");
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Result<&T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Result<&mut T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Result<Option<T>, E>

1.33.0 (const: unstable) · source

pub fn transpose(self) -> Option<Result<T, E>>

Transposes a Result of an Option into an Option of a Result.

\n

Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

\n
Examples
\n
#[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Result<Result<T, E>, E>

source

pub fn flatten(self) -> Result<T, E>

🔬This is a nightly-only experimental API. (result_flattening)

Converts from Result<Result<T, E>, E> to Result<T, E>

\n
Examples
\n
#![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok("hello"));\nassert_eq!(Ok("hello"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
\n

Flattening only removes one level of nesting at a time:

\n\n
#![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok("hello")));\nassert_eq!(Ok(Ok("hello")), x.flatten());\nassert_eq!(Ok("hello"), x.flatten().flatten());
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
1.61.0 · source§

impl<T, E> Termination for Result<T, E>where\n T: Termination,\n E: Debug,

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
","Termination","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(_: Yeet<E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Try for Result<T, E>

§

type Output = T

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value produced by ? when not short-circuiting.
§

type Residual = Result<Infallible, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
source§

fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from its Output type. Read more
source§

fn branch(\n self\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

🔬This is a nightly-only experimental API. (try_trait_v2)
Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
","Try","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> StructuralEq for Result<T, E>

","StructuralEq","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Eq for Result<T, E>where\n T: Eq,\n E: Eq,

","Eq","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>where\n V: FromIterator<A>,

source§

fn from_iter<I>(iter: I) -> Result<V, E>where\n I: IntoIterator<Item = Result<A, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

\n

Here is an example which increments every integer in a vector,\nchecking for overflow:

\n\n
let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
\n

Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

\n\n
let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or("Underflow!")\n).collect();\nassert_eq!(res, Err("Underflow!"));
\n

Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

\n\n
let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or("Underflow!")\n}).collect();\nassert_eq!(res, Err("Underflow!"));\nassert_eq!(shared, 6);
\n

Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

\n
","FromIterator>","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Ord for Result<T, E>where\n T: Ord,\n E: Ord,

source§

fn cmp(&self, other: &Result<T, E>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> PartialEq for Result<T, E>where\n T: PartialEq,\n E: PartialEq,

source§

fn eq(&self, other: &Result<T, E>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Clone for Result<T, E>where\n T: Clone,\n E: Clone,

source§

fn clone(&self) -> Result<T, E>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Result<T, E>)

Performs copy-assignment from source. Read more
","Clone","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Hash for Result<T, E>where\n T: Hash,\n E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> IntoIterator for Result<T, E>

source§

fn into_iter(self) -> IntoIter<T>

Returns a consuming iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err("nothing!");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
\n
§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
","IntoIterator","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Residual<T> for Result<Infallible, E>

§

type TryType = Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2_residual)
The “return” type of this meta-function.
","Residual","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> StructuralPartialEq for Result<T, E>

","StructuralPartialEq","ink::ConstructorResult","ink::MessageResult"],["
1.16.0 · source§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

source§

fn sum<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
let f = |&x: &i32| if x < 0 { Err("Negative element found") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err("Negative element found"));
\n
","Sum>","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Debug for Result<T, E>where\n T: Debug,\n E: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> PartialOrd for Result<T, E>where\n T: PartialOrd,\n E: PartialOrd,

source§

fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Copy for Result<T, E>where\n T: Copy,\n E: Copy,

","Copy","ink::ConstructorResult","ink::MessageResult"],["
1.16.0 · source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

source§

fn product<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

\n
Examples
\n

This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

\n\n
let nums = vec!["5", "10", "1", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec!["5", "10", "one", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
\n
","Product>","ink::ConstructorResult","ink::MessageResult"],["
§

impl<C, E> ConstructorReturnType<C> for Result<C, E>where\n C: ContractEnv + FromAccountId<<C as ContractEnv>::Env>,\n E: Decode,

Blanket implementation for a Result<Self> return type. Self in the context\nof a ContractRef inherent becomes the ContractRefs type.

\n
§

const IS_RESULT: bool = true

Is true if Self is Result<C, E>.
§

type Output = Result<C, E>

The actual return type of the constructor. Read more
§

type Error = E

The error type of the constructor return type.
§

fn ok(value: C) -> <Result<C, E> as ConstructorReturnType<C>>::Output

Construct a success value of the Output type.
§

fn err(\n err: <Result<C, E> as ConstructorReturnType<C>>::Error\n) -> Option<<Result<C, E> as ConstructorReturnType<C>>::Output>

Construct an error value of the Output type. Read more
","ConstructorReturnType","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> IsResultType for Result<T, E>

§

type Ok = T

The T type of the Result<T, E>.
§

type Err = E

The E type of the Result<T, E>.
","IsResultType","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> StorageLayout for Result<T, E>where\n T: StorageLayout,\n E: StorageLayout,

§

fn layout(key: &u32) -> Layout

Returns the static storage layout of Self. Read more
","StorageLayout","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> MaxEncodedLen for Result<T, E>where\n T: MaxEncodedLen,\n E: MaxEncodedLen,

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
","MaxEncodedLen","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, LikeT, E, LikeE> EncodeLike<Result<LikeT, LikeE>> for Result<T, E>where\n T: EncodeLike<LikeT>,\n LikeT: Encode,\n E: EncodeLike<LikeE>,\n LikeE: Encode,

","EncodeLike>","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> Decode for Result<T, E>where\n T: Decode,\n E: Decode,

§

fn decode<I>(input: &mut I) -> Result<Result<T, E>, Error>where\n I: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> Encode for Result<T, E>where\n T: Encode,\n E: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<W>(&self, dest: &mut W)where\n W: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Serialize for Result<T, E>where\n T: Serialize,\n E: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> IntoVisitor for Result<T, E>where\n BasicVisitor<Result<T, E>>: for<'scale, 'info> Visitor<Error = Error, Value<'scale, 'info> = Result<T, E>>,

§

type Visitor = BasicVisitor<Result<T, E>>

The visitor type used to decode SCALE encoded bytes to Self.
§

fn into_visitor() -> <Result<T, E> as IntoVisitor>::Visitor

A means of obtaining this visitor.
","IntoVisitor","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> TypeInfo for Result<T, E>where\n T: TypeInfo + 'static,\n E: TypeInfo + 'static,

§

type Identity = Result<T, E>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
","TypeInfo","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> JsonSchema for Result<T, E>where\n T: JsonSchema,\n E: JsonSchema,

§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
","JsonSchema","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> TapFallible for Result<T, E>

§

type Ok = T

The interior type used to indicate a successful construction.
§

type Err = E

The interior type used to indicate a failed construction.
§

fn tap_ok(self, func: impl FnOnce(&T)) -> Result<T, E>

Immutably accesses an interior success value. Read more
§

fn tap_ok_mut(self, func: impl FnOnce(&mut T)) -> Result<T, E>

Mutably accesses an interior success value. Read more
§

fn tap_err(self, func: impl FnOnce(&E)) -> Result<T, E>

Immutably accesses an interior failure value. Read more
§

fn tap_err_mut(self, func: impl FnOnce(&mut E)) -> Result<T, E>

Mutably accesses an interior failure value. Read more
§

fn tap_ok_dbg(self, func: impl FnOnce(&Self::Ok)) -> Self

Calls .tap_ok() only in debug builds, and is erased in release builds.
§

fn tap_ok_mut_dbg(self, func: impl FnOnce(&mut Self::Ok)) -> Self

Calls .tap_ok_mut() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_dbg(self, func: impl FnOnce(&Self::Err)) -> Self

Calls .tap_err() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_mut_dbg(self, func: impl FnOnce(&mut Self::Err)) -> Self

Calls .tap_err_mut() only in debug builds, and is erased in release\nbuilds.
","TapFallible","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> EncodeAsType for Result<T, E>where\n T: EncodeAsType,\n E: EncodeAsType,

§

fn encode_as_type_to(\n &self,\n type_id: u32,\n types: &PortableRegistry,\n out: &mut Vec<u8>\n) -> Result<(), Error>

Given some type_id, types, a context and some output target for the SCALE encoded bytes,\nattempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type(\n &self,\n type_id: u32,\n types: &PortableRegistry\n) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to\nimplement that instead.
","EncodeAsType","ink::ConstructorResult","ink::MessageResult"]], -"ink_env":[["
source§

impl<T, E> Result<T, E>

1.0.0 (const: 1.48.0) · source

pub const fn is_ok(&self) -> bool

Returns true if the result is Ok.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_ok(), false);
\n
1.70.0 · source

pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

Returns true if the result is Ok and the value inside of it matches a predicate.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err("hey");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
\n
1.0.0 (const: 1.48.0) · source

pub const fn is_err(&self) -> bool

Returns true if the result is Err.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_err(), true);
\n
1.70.0 · source

pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

Returns true if the result is Err and the value inside of it matches a predicate.

\n
Examples
\n
use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
\n
1.0.0 · source

pub fn ok(self) -> Option<T>

Converts from Result<T, E> to Option<T>.

\n

Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.ok(), None);
\n
1.0.0 · source

pub fn err(self) -> Option<E>

Converts from Result<T, E> to Option<E>.

\n

Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.err(), Some("Nothing here"));
\n
1.0.0 (const: 1.48.0) · source

pub const fn as_ref(&self) -> Result<&T, &E>

Converts from &Result<T, E> to Result<&T, &E>.

\n

Produces a new Result, containing a reference\ninto the original, leaving the original in place.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err("Error");\nassert_eq!(x.as_ref(), Err(&"Error"));
\n
1.0.0 (const: unstable) · source

pub fn as_mut(&mut self) -> Result<&mut T, &mut E>

Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

\n
Examples
\n
fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
\n
1.0.0 · source

pub fn map<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> U,

Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

\n

This function can be used to compose the results of two functions.

\n
Examples
\n

Print the numbers on each line of a string multiplied by two.

\n\n
let line = "1\\n2\\n3\\n4\\n";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!("{n}"),\n        Err(..) => {}\n    }\n}
\n
1.41.0 · source

pub fn map_or<U, F>(self, default: U, f: F) -> Uwhere\n F: FnOnce(T) -> U,

Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

\n

Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let x: Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err("bar");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
\n
1.41.0 · source

pub fn map_or_else<U, D, F>(self, default: D, f: F) -> Uwhere\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

\n

This function can be used to unpack a successful result\nwhile handling an error.

\n
Examples
\n
let k = 21;\n\nlet x : Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err("bar");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
\n
1.0.0 · source

pub fn map_err<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> F,

Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

\n

This function can be used to pass through a successful result while handling\nan error.

\n
Examples
\n
fn stringify(x: u32) -> String { format!("error code: {x}") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err("error code: 13".to_string()));
\n
source

pub fn inspect<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&T),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained value (if Ok).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nlet x: u8 = "4"\n    .parse::<u8>()\n    .inspect(|x| println!("original: {x}"))\n    .map(|x| x.pow(3))\n    .expect("failed to parse number");
\n
source

pub fn inspect_err<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&E),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained error (if Err).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nuse std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string("address.txt")\n        .inspect_err(|e| eprintln!("failed to read file: {e}"))\n}
\n
1.47.0 · source

pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>where\n T: Deref,

Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

\n

Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

\n
Examples
\n
let x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&str, &u32> = Ok("hello");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
\n
1.47.0 · source

pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>where\n T: DerefMut,

Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

\n

Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

\n
Examples
\n
let mut s = "HELLO".to_string();\nlet mut x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
\n
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter().next(), None);
\n
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a mutable iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter_mut().next(), None);
\n
1.4.0 · source

pub fn expect(self, msg: &str) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

\n
Examples
\n
let x: Result<u32, &str> = Err("emergency failure");\nx.expect("Testing expect"); // panics with `Testing expect: emergency failure`
\n
Recommended Message Style
\n

We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

\n\n
let path = std::env::var("IMPORTANT_PATH")\n    .expect("env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`");
\n

Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

\n

For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

\n
1.0.0 · source

pub fn unwrap(self) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message provided by the\nErr’s value.

\n
Examples
\n

Basic usage:

\n\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nx.unwrap(); // panics with `emergency failure`
\n
1.16.0 · source

pub fn unwrap_or_default(self) -> Twhere\n T: Default,

Returns the contained Ok value or a default

\n

Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

\n
Examples
\n

Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

\n\n
let good_year_from_input = "1909";\nlet bad_year_from_input = "190blarg";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
\n
1.17.0 · source

pub fn expect_err(self, msg: &str) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

\n
Examples
\n
let x: Result<u32, &str> = Ok(10);\nx.expect_err("Testing expect_err"); // panics with `Testing expect_err: 10`
\n
1.0.0 · source

pub fn unwrap_err(self) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(x.unwrap_err(), "emergency failure");
\n
source

pub fn into_ok(self) -> Twhere\n E: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Ok value, but never panics.

\n

Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

\n
Examples
\n
\nfn only_good_news() -> Result<String, !> {\n    Ok("this is fine".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!("{s}");
\n
source

pub fn into_err(self) -> Ewhere\n T: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Err value, but never panics.

\n

Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

\n
Examples
\n
\nfn only_bad_news() -> Result<!, String> {\n    Err("Oops, it failed".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!("{error}");
\n
1.0.0 · source

pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

Returns res if the result is Ok, otherwise returns the Err value of self.

\n

Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("late error"));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<&str, &str> = Ok("foo");\nassert_eq!(x.and(y), Err("early error"));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("not a 2"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok("different result type");\nassert_eq!(x.and(y), Ok("different result type"));
\n
1.0.0 · source

pub fn and_then<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> Result<U, E>,

Calls op if the result is Ok, otherwise returns the Err value of self.

\n

This function can be used for control flow based on Result values.

\n
Examples
\n
fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or("overflowed")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err("overflowed"));\nassert_eq!(Err("not a number").and_then(sq_then_to_string), Err("not a number"));
\n

Often used to chain fallible operations that may return Err.

\n\n
use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows "/" maps to "C:\\"\nlet root_modified_time = Path::new("/").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new("/bad/path").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
\n
1.0.0 · source

pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

Returns res if the result is Err, otherwise returns the Ok value of self.

\n

Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Err("late error"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
\n
1.0.0 · source

pub fn or_else<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> Result<T, F>,

Calls op if the result is Err, otherwise returns the Ok value of self.

\n

This function can be used for control flow based on result values.

\n
Examples
\n
fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
\n
1.0.0 · source

pub fn unwrap_or(self, default: T) -> T

Returns the contained Ok value or a provided default.

\n

Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err("error");\nassert_eq!(x.unwrap_or(default), default);
\n
1.0.0 · source

pub fn unwrap_or_else<F>(self, op: F) -> Twhere\n F: FnOnce(E) -> T,

Returns the contained Ok value or computes it from a closure.

\n
Examples
\n
fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err("foo").unwrap_or_else(count), 3);
\n
1.58.0 · source

pub unsafe fn unwrap_unchecked(self) -> T

Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

\n
Safety
\n

Calling this method on an Err is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
\n
1.58.0 · source

pub unsafe fn unwrap_err_unchecked(self) -> E

Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

\n
Safety
\n

Calling this method on an Ok is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, "emergency failure");
\n
",0,"ink_env::error::Result"],["
source§

impl<T, E> Result<&T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink_env::error::Result"],["
source§

impl<T, E> Result<&mut T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink_env::error::Result"],["
source§

impl<T, E> Result<Option<T>, E>

1.33.0 (const: unstable) · source

pub fn transpose(self) -> Option<Result<T, E>>

Transposes a Result of an Option into an Option of a Result.

\n

Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

\n
Examples
\n
#[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
\n
",0,"ink_env::error::Result"],["
source§

impl<T, E> Result<Result<T, E>, E>

source

pub fn flatten(self) -> Result<T, E>

🔬This is a nightly-only experimental API. (result_flattening)

Converts from Result<Result<T, E>, E> to Result<T, E>

\n
Examples
\n
#![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok("hello"));\nassert_eq!(Ok("hello"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
\n

Flattening only removes one level of nesting at a time:

\n\n
#![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok("hello")));\nassert_eq!(Ok(Ok("hello")), x.flatten());\nassert_eq!(Ok("hello"), x.flatten().flatten());
\n
",0,"ink_env::error::Result"],["
1.61.0 · source§

impl<T, E> Termination for Result<T, E>where\n T: Termination,\n E: Debug,

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
","Termination","ink_env::error::Result"],["
source§

impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(_: Yeet<E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink_env::error::Result"],["
source§

impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink_env::error::Result"],["
source§

impl<T, E> Try for Result<T, E>

§

type Output = T

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value produced by ? when not short-circuiting.
§

type Residual = Result<Infallible, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
source§

fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from its Output type. Read more
source§

fn branch(\n self\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

🔬This is a nightly-only experimental API. (try_trait_v2)
Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
","Try","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> StructuralEq for Result<T, E>

","StructuralEq","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Eq for Result<T, E>where\n T: Eq,\n E: Eq,

","Eq","ink_env::error::Result"],["
1.0.0 · source§

impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>where\n V: FromIterator<A>,

source§

fn from_iter<I>(iter: I) -> Result<V, E>where\n I: IntoIterator<Item = Result<A, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

\n

Here is an example which increments every integer in a vector,\nchecking for overflow:

\n\n
let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
\n

Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

\n\n
let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or("Underflow!")\n).collect();\nassert_eq!(res, Err("Underflow!"));
\n

Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

\n\n
let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or("Underflow!")\n}).collect();\nassert_eq!(res, Err("Underflow!"));\nassert_eq!(shared, 6);
\n

Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

\n
","FromIterator>","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Ord for Result<T, E>where\n T: Ord,\n E: Ord,

source§

fn cmp(&self, other: &Result<T, E>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> PartialEq for Result<T, E>where\n T: PartialEq,\n E: PartialEq,

source§

fn eq(&self, other: &Result<T, E>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Clone for Result<T, E>where\n T: Clone,\n E: Clone,

source§

fn clone(&self) -> Result<T, E>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Result<T, E>)

Performs copy-assignment from source. Read more
","Clone","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Hash for Result<T, E>where\n T: Hash,\n E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> IntoIterator for Result<T, E>

source§

fn into_iter(self) -> IntoIter<T>

Returns a consuming iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err("nothing!");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
\n
§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
","IntoIterator","ink_env::error::Result"],["
source§

impl<T, E> Residual<T> for Result<Infallible, E>

§

type TryType = Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2_residual)
The “return” type of this meta-function.
","Residual","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> StructuralPartialEq for Result<T, E>

","StructuralPartialEq","ink_env::error::Result"],["
1.16.0 · source§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

source§

fn sum<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
let f = |&x: &i32| if x < 0 { Err("Negative element found") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err("Negative element found"));
\n
","Sum>","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Debug for Result<T, E>where\n T: Debug,\n E: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> PartialOrd for Result<T, E>where\n T: PartialOrd,\n E: PartialOrd,

source§

fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Copy for Result<T, E>where\n T: Copy,\n E: Copy,

","Copy","ink_env::error::Result"],["
1.16.0 · source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

source§

fn product<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

\n
Examples
\n

This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

\n\n
let nums = vec!["5", "10", "1", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec!["5", "10", "one", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
\n
","Product>","ink_env::error::Result"],["
§

impl<T, E> StorageLayout for Result<T, E>where\n T: StorageLayout,\n E: StorageLayout,

§

fn layout(key: &u32) -> Layout

Returns the static storage layout of Self. Read more
","StorageLayout","ink_env::error::Result"],["
§

impl<T, E> MaxEncodedLen for Result<T, E>where\n T: MaxEncodedLen,\n E: MaxEncodedLen,

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
","MaxEncodedLen","ink_env::error::Result"],["
§

impl<T, LikeT, E, LikeE> EncodeLike<Result<LikeT, LikeE>> for Result<T, E>where\n T: EncodeLike<LikeT>,\n LikeT: Encode,\n E: EncodeLike<LikeE>,\n LikeE: Encode,

","EncodeLike>","ink_env::error::Result"],["
§

impl<T, E> Decode for Result<T, E>where\n T: Decode,\n E: Decode,

§

fn decode<I>(input: &mut I) -> Result<Result<T, E>, Error>where\n I: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink_env::error::Result"],["
§

impl<T, E> Encode for Result<T, E>where\n T: Encode,\n E: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<W>(&self, dest: &mut W)where\n W: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_env::error::Result"],["
source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","ink_env::error::Result"],["
source§

impl<T, E> Serialize for Result<T, E>where\n T: Serialize,\n E: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink_env::error::Result"],["
§

impl<T, E> IntoVisitor for Result<T, E>where\n BasicVisitor<Result<T, E>>: for<'scale, 'info> Visitor<Error = Error, Value<'scale, 'info> = Result<T, E>>,

§

type Visitor = BasicVisitor<Result<T, E>>

The visitor type used to decode SCALE encoded bytes to Self.
§

fn into_visitor() -> <Result<T, E> as IntoVisitor>::Visitor

A means of obtaining this visitor.
","IntoVisitor","ink_env::error::Result"],["
§

impl<T, E> TypeInfo for Result<T, E>where\n T: TypeInfo + 'static,\n E: TypeInfo + 'static,

§

type Identity = Result<T, E>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
","TypeInfo","ink_env::error::Result"],["
§

impl<T, E> JsonSchema for Result<T, E>where\n T: JsonSchema,\n E: JsonSchema,

§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
","JsonSchema","ink_env::error::Result"],["
§

impl<T, E> TapFallible for Result<T, E>

§

type Ok = T

The interior type used to indicate a successful construction.
§

type Err = E

The interior type used to indicate a failed construction.
§

fn tap_ok(self, func: impl FnOnce(&T)) -> Result<T, E>

Immutably accesses an interior success value. Read more
§

fn tap_ok_mut(self, func: impl FnOnce(&mut T)) -> Result<T, E>

Mutably accesses an interior success value. Read more
§

fn tap_err(self, func: impl FnOnce(&E)) -> Result<T, E>

Immutably accesses an interior failure value. Read more
§

fn tap_err_mut(self, func: impl FnOnce(&mut E)) -> Result<T, E>

Mutably accesses an interior failure value. Read more
§

fn tap_ok_dbg(self, func: impl FnOnce(&Self::Ok)) -> Self

Calls .tap_ok() only in debug builds, and is erased in release builds.
§

fn tap_ok_mut_dbg(self, func: impl FnOnce(&mut Self::Ok)) -> Self

Calls .tap_ok_mut() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_dbg(self, func: impl FnOnce(&Self::Err)) -> Self

Calls .tap_err() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_mut_dbg(self, func: impl FnOnce(&mut Self::Err)) -> Self

Calls .tap_err_mut() only in debug builds, and is erased in release\nbuilds.
","TapFallible","ink_env::error::Result"],["
§

impl<T, E> EncodeAsType for Result<T, E>where\n T: EncodeAsType,\n E: EncodeAsType,

§

fn encode_as_type_to(\n &self,\n type_id: u32,\n types: &PortableRegistry,\n out: &mut Vec<u8>\n) -> Result<(), Error>

Given some type_id, types, a context and some output target for the SCALE encoded bytes,\nattempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type(\n &self,\n type_id: u32,\n types: &PortableRegistry\n) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to\nimplement that instead.
","EncodeAsType","ink_env::error::Result"],["
source§

impl<T, E> IsResultType for Result<T, E>

§

type Ok = T

The T type of the Result<T, E>.
§

type Err = E

The E type of the Result<T, E>.
","IsResultType","ink_env::error::Result"],["
source§

impl<C, E> ConstructorReturnType<C> for Result<C, E>where\n C: ContractEnv + FromAccountId<<C as ContractEnv>::Env>,\n E: Decode,

Blanket implementation for a Result<Self> return type. Self in the context\nof a ContractRef inherent becomes the ContractRefs type.

\n
source§

const IS_RESULT: bool = true

Is true if Self is Result<C, E>.
§

type Output = Result<C, E>

The actual return type of the constructor. Read more
§

type Error = E

The error type of the constructor return type.
source§

fn ok(value: C) -> Self::Output

Construct a success value of the Output type.
source§

fn err(err: Self::Error) -> Option<Self::Output>

Construct an error value of the Output type. Read more
","ConstructorReturnType","ink_env::error::Result"]], -"ink_primitives":[["
source§

impl<T, E> Result<T, E>

1.0.0 (const: 1.48.0) · source

pub const fn is_ok(&self) -> bool

Returns true if the result is Ok.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_ok(), false);
\n
1.70.0 · source

pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

Returns true if the result is Ok and the value inside of it matches a predicate.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err("hey");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
\n
1.0.0 (const: 1.48.0) · source

pub const fn is_err(&self) -> bool

Returns true if the result is Err.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_err(), true);
\n
1.70.0 · source

pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

Returns true if the result is Err and the value inside of it matches a predicate.

\n
Examples
\n
use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
\n
1.0.0 · source

pub fn ok(self) -> Option<T>

Converts from Result<T, E> to Option<T>.

\n

Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.ok(), None);
\n
1.0.0 · source

pub fn err(self) -> Option<E>

Converts from Result<T, E> to Option<E>.

\n

Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.err(), Some("Nothing here"));
\n
1.0.0 (const: 1.48.0) · source

pub const fn as_ref(&self) -> Result<&T, &E>

Converts from &Result<T, E> to Result<&T, &E>.

\n

Produces a new Result, containing a reference\ninto the original, leaving the original in place.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err("Error");\nassert_eq!(x.as_ref(), Err(&"Error"));
\n
1.0.0 (const: unstable) · source

pub fn as_mut(&mut self) -> Result<&mut T, &mut E>

Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

\n
Examples
\n
fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
\n
1.0.0 · source

pub fn map<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> U,

Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

\n

This function can be used to compose the results of two functions.

\n
Examples
\n

Print the numbers on each line of a string multiplied by two.

\n\n
let line = "1\\n2\\n3\\n4\\n";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!("{n}"),\n        Err(..) => {}\n    }\n}
\n
1.41.0 · source

pub fn map_or<U, F>(self, default: U, f: F) -> Uwhere\n F: FnOnce(T) -> U,

Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

\n

Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let x: Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err("bar");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
\n
1.41.0 · source

pub fn map_or_else<U, D, F>(self, default: D, f: F) -> Uwhere\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

\n

This function can be used to unpack a successful result\nwhile handling an error.

\n
Examples
\n
let k = 21;\n\nlet x : Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err("bar");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
\n
1.0.0 · source

pub fn map_err<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> F,

Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

\n

This function can be used to pass through a successful result while handling\nan error.

\n
Examples
\n
fn stringify(x: u32) -> String { format!("error code: {x}") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err("error code: 13".to_string()));
\n
source

pub fn inspect<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&T),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained value (if Ok).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nlet x: u8 = "4"\n    .parse::<u8>()\n    .inspect(|x| println!("original: {x}"))\n    .map(|x| x.pow(3))\n    .expect("failed to parse number");
\n
source

pub fn inspect_err<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&E),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained error (if Err).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nuse std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string("address.txt")\n        .inspect_err(|e| eprintln!("failed to read file: {e}"))\n}
\n
1.47.0 · source

pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>where\n T: Deref,

Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

\n

Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

\n
Examples
\n
let x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&str, &u32> = Ok("hello");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
\n
1.47.0 · source

pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>where\n T: DerefMut,

Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

\n

Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

\n
Examples
\n
let mut s = "HELLO".to_string();\nlet mut x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
\n
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter().next(), None);
\n
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a mutable iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter_mut().next(), None);
\n
1.4.0 · source

pub fn expect(self, msg: &str) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

\n
Examples
\n
let x: Result<u32, &str> = Err("emergency failure");\nx.expect("Testing expect"); // panics with `Testing expect: emergency failure`
\n
Recommended Message Style
\n

We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

\n\n
let path = std::env::var("IMPORTANT_PATH")\n    .expect("env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`");
\n

Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

\n

For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

\n
1.0.0 · source

pub fn unwrap(self) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message provided by the\nErr’s value.

\n
Examples
\n

Basic usage:

\n\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nx.unwrap(); // panics with `emergency failure`
\n
1.16.0 · source

pub fn unwrap_or_default(self) -> Twhere\n T: Default,

Returns the contained Ok value or a default

\n

Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

\n
Examples
\n

Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

\n\n
let good_year_from_input = "1909";\nlet bad_year_from_input = "190blarg";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
\n
1.17.0 · source

pub fn expect_err(self, msg: &str) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

\n
Examples
\n
let x: Result<u32, &str> = Ok(10);\nx.expect_err("Testing expect_err"); // panics with `Testing expect_err: 10`
\n
1.0.0 · source

pub fn unwrap_err(self) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(x.unwrap_err(), "emergency failure");
\n
source

pub fn into_ok(self) -> Twhere\n E: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Ok value, but never panics.

\n

Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

\n
Examples
\n
\nfn only_good_news() -> Result<String, !> {\n    Ok("this is fine".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!("{s}");
\n
source

pub fn into_err(self) -> Ewhere\n T: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Err value, but never panics.

\n

Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

\n
Examples
\n
\nfn only_bad_news() -> Result<!, String> {\n    Err("Oops, it failed".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!("{error}");
\n
1.0.0 · source

pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

Returns res if the result is Ok, otherwise returns the Err value of self.

\n

Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("late error"));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<&str, &str> = Ok("foo");\nassert_eq!(x.and(y), Err("early error"));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("not a 2"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok("different result type");\nassert_eq!(x.and(y), Ok("different result type"));
\n
1.0.0 · source

pub fn and_then<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> Result<U, E>,

Calls op if the result is Ok, otherwise returns the Err value of self.

\n

This function can be used for control flow based on Result values.

\n
Examples
\n
fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or("overflowed")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err("overflowed"));\nassert_eq!(Err("not a number").and_then(sq_then_to_string), Err("not a number"));
\n

Often used to chain fallible operations that may return Err.

\n\n
use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows "/" maps to "C:\\"\nlet root_modified_time = Path::new("/").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new("/bad/path").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
\n
1.0.0 · source

pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

Returns res if the result is Err, otherwise returns the Ok value of self.

\n

Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Err("late error"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
\n
1.0.0 · source

pub fn or_else<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> Result<T, F>,

Calls op if the result is Err, otherwise returns the Ok value of self.

\n

This function can be used for control flow based on result values.

\n
Examples
\n
fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
\n
1.0.0 · source

pub fn unwrap_or(self, default: T) -> T

Returns the contained Ok value or a provided default.

\n

Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err("error");\nassert_eq!(x.unwrap_or(default), default);
\n
1.0.0 · source

pub fn unwrap_or_else<F>(self, op: F) -> Twhere\n F: FnOnce(E) -> T,

Returns the contained Ok value or computes it from a closure.

\n
Examples
\n
fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err("foo").unwrap_or_else(count), 3);
\n
1.58.0 · source

pub unsafe fn unwrap_unchecked(self) -> T

Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

\n
Safety
\n

Calling this method on an Err is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
\n
1.58.0 · source

pub unsafe fn unwrap_err_unchecked(self) -> E

Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

\n
Safety
\n

Calling this method on an Ok is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, "emergency failure");
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Result<&T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Result<&mut T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Result<Option<T>, E>

1.33.0 (const: unstable) · source

pub fn transpose(self) -> Option<Result<T, E>>

Transposes a Result of an Option into an Option of a Result.

\n

Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

\n
Examples
\n
#[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Result<Result<T, E>, E>

source

pub fn flatten(self) -> Result<T, E>

🔬This is a nightly-only experimental API. (result_flattening)

Converts from Result<Result<T, E>, E> to Result<T, E>

\n
Examples
\n
#![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok("hello"));\nassert_eq!(Ok("hello"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
\n

Flattening only removes one level of nesting at a time:

\n\n
#![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok("hello")));\nassert_eq!(Ok(Ok("hello")), x.flatten());\nassert_eq!(Ok("hello"), x.flatten().flatten());
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.61.0 · source§

impl<T, E> Termination for Result<T, E>where\n T: Termination,\n E: Debug,

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
","Termination","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(_: Yeet<E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Try for Result<T, E>

§

type Output = T

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value produced by ? when not short-circuiting.
§

type Residual = Result<Infallible, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
source§

fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from its Output type. Read more
source§

fn branch(\n self\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

🔬This is a nightly-only experimental API. (try_trait_v2)
Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
","Try","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> StructuralEq for Result<T, E>

","StructuralEq","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Eq for Result<T, E>where\n T: Eq,\n E: Eq,

","Eq","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>where\n V: FromIterator<A>,

source§

fn from_iter<I>(iter: I) -> Result<V, E>where\n I: IntoIterator<Item = Result<A, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

\n

Here is an example which increments every integer in a vector,\nchecking for overflow:

\n\n
let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
\n

Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

\n\n
let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or("Underflow!")\n).collect();\nassert_eq!(res, Err("Underflow!"));
\n

Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

\n\n
let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or("Underflow!")\n}).collect();\nassert_eq!(res, Err("Underflow!"));\nassert_eq!(shared, 6);
\n

Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

\n
","FromIterator>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Ord for Result<T, E>where\n T: Ord,\n E: Ord,

source§

fn cmp(&self, other: &Result<T, E>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> PartialEq for Result<T, E>where\n T: PartialEq,\n E: PartialEq,

source§

fn eq(&self, other: &Result<T, E>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Clone for Result<T, E>where\n T: Clone,\n E: Clone,

source§

fn clone(&self) -> Result<T, E>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Result<T, E>)

Performs copy-assignment from source. Read more
","Clone","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Hash for Result<T, E>where\n T: Hash,\n E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> IntoIterator for Result<T, E>

source§

fn into_iter(self) -> IntoIter<T>

Returns a consuming iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err("nothing!");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
\n
§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
","IntoIterator","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Residual<T> for Result<Infallible, E>

§

type TryType = Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2_residual)
The “return” type of this meta-function.
","Residual","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> StructuralPartialEq for Result<T, E>

","StructuralPartialEq","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.16.0 · source§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

source§

fn sum<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
let f = |&x: &i32| if x < 0 { Err("Negative element found") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err("Negative element found"));
\n
","Sum>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Debug for Result<T, E>where\n T: Debug,\n E: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> PartialOrd for Result<T, E>where\n T: PartialOrd,\n E: PartialOrd,

source§

fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Copy for Result<T, E>where\n T: Copy,\n E: Copy,

","Copy","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.16.0 · source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

source§

fn product<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

\n
Examples
\n

This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

\n\n
let nums = vec!["5", "10", "1", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec!["5", "10", "one", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
\n
","Product>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> MaxEncodedLen for Result<T, E>where\n T: MaxEncodedLen,\n E: MaxEncodedLen,

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
","MaxEncodedLen","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, LikeT, E, LikeE> EncodeLike<Result<LikeT, LikeE>> for Result<T, E>where\n T: EncodeLike<LikeT>,\n LikeT: Encode,\n E: EncodeLike<LikeE>,\n LikeE: Encode,

","EncodeLike>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> Decode for Result<T, E>where\n T: Decode,\n E: Decode,

§

fn decode<I>(input: &mut I) -> Result<Result<T, E>, Error>where\n I: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> Encode for Result<T, E>where\n T: Encode,\n E: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<W>(&self, dest: &mut W)where\n W: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Serialize for Result<T, E>where\n T: Serialize,\n E: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> IntoVisitor for Result<T, E>where\n BasicVisitor<Result<T, E>>: for<'scale, 'info> Visitor<Error = Error, Value<'scale, 'info> = Result<T, E>>,

§

type Visitor = BasicVisitor<Result<T, E>>

The visitor type used to decode SCALE encoded bytes to Self.
§

fn into_visitor() -> <Result<T, E> as IntoVisitor>::Visitor

A means of obtaining this visitor.
","IntoVisitor","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> TypeInfo for Result<T, E>where\n T: TypeInfo + 'static,\n E: TypeInfo + 'static,

§

type Identity = Result<T, E>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
","TypeInfo","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> TapFallible for Result<T, E>

§

type Ok = T

The interior type used to indicate a successful construction.
§

type Err = E

The interior type used to indicate a failed construction.
§

fn tap_ok(self, func: impl FnOnce(&T)) -> Result<T, E>

Immutably accesses an interior success value. Read more
§

fn tap_ok_mut(self, func: impl FnOnce(&mut T)) -> Result<T, E>

Mutably accesses an interior success value. Read more
§

fn tap_err(self, func: impl FnOnce(&E)) -> Result<T, E>

Immutably accesses an interior failure value. Read more
§

fn tap_err_mut(self, func: impl FnOnce(&mut E)) -> Result<T, E>

Mutably accesses an interior failure value. Read more
§

fn tap_ok_dbg(self, func: impl FnOnce(&Self::Ok)) -> Self

Calls .tap_ok() only in debug builds, and is erased in release builds.
§

fn tap_ok_mut_dbg(self, func: impl FnOnce(&mut Self::Ok)) -> Self

Calls .tap_ok_mut() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_dbg(self, func: impl FnOnce(&Self::Err)) -> Self

Calls .tap_err() only in debug builds, and is erased in release\nbuilds.
§

fn tap_err_mut_dbg(self, func: impl FnOnce(&mut Self::Err)) -> Self

Calls .tap_err_mut() only in debug builds, and is erased in release\nbuilds.
","TapFallible","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> EncodeAsType for Result<T, E>where\n T: EncodeAsType,\n E: EncodeAsType,

§

fn encode_as_type_to(\n &self,\n type_id: u32,\n types: &PortableRegistry,\n out: &mut Vec<u8>\n) -> Result<(), Error>

Given some type_id, types, a context and some output target for the SCALE encoded bytes,\nattempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type(\n &self,\n type_id: u32,\n types: &PortableRegistry\n) -> Result<Vec<u8>, Error>

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to\nimplement that instead.
","EncodeAsType","ink_primitives::MessageResult","ink_primitives::ConstructorResult"]] +"ink":[["
source§

impl<T, E> Result<T, E>

1.0.0 (const: 1.48.0) · source

pub const fn is_ok(&self) -> bool

Returns true if the result is Ok.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_ok(), false);
\n
1.70.0 · source

pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

Returns true if the result is Ok and the value inside of it matches a predicate.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err("hey");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
\n
1.0.0 (const: 1.48.0) · source

pub const fn is_err(&self) -> bool

Returns true if the result is Err.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_err(), true);
\n
1.70.0 · source

pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

Returns true if the result is Err and the value inside of it matches a predicate.

\n
Examples
\n
use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
\n
1.0.0 · source

pub fn ok(self) -> Option<T>

Converts from Result<T, E> to Option<T>.

\n

Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.ok(), None);
\n
1.0.0 · source

pub fn err(self) -> Option<E>

Converts from Result<T, E> to Option<E>.

\n

Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.err(), Some("Nothing here"));
\n
1.0.0 (const: 1.48.0) · source

pub const fn as_ref(&self) -> Result<&T, &E>

Converts from &Result<T, E> to Result<&T, &E>.

\n

Produces a new Result, containing a reference\ninto the original, leaving the original in place.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err("Error");\nassert_eq!(x.as_ref(), Err(&"Error"));
\n
1.0.0 (const: unstable) · source

pub fn as_mut(&mut self) -> Result<&mut T, &mut E>

Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

\n
Examples
\n
fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
\n
1.0.0 · source

pub fn map<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> U,

Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

\n

This function can be used to compose the results of two functions.

\n
Examples
\n

Print the numbers on each line of a string multiplied by two.

\n\n
let line = "1\\n2\\n3\\n4\\n";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!("{n}"),\n        Err(..) => {}\n    }\n}
\n
1.41.0 · source

pub fn map_or<U, F>(self, default: U, f: F) -> Uwhere\n F: FnOnce(T) -> U,

Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

\n

Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let x: Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err("bar");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
\n
1.41.0 · source

pub fn map_or_else<U, D, F>(self, default: D, f: F) -> Uwhere\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

\n

This function can be used to unpack a successful result\nwhile handling an error.

\n
Examples
\n
let k = 21;\n\nlet x : Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err("bar");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
\n
1.0.0 · source

pub fn map_err<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> F,

Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

\n

This function can be used to pass through a successful result while handling\nan error.

\n
Examples
\n
fn stringify(x: u32) -> String { format!("error code: {x}") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err("error code: 13".to_string()));
\n
source

pub fn inspect<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&T),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained value (if Ok).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nlet x: u8 = "4"\n    .parse::<u8>()\n    .inspect(|x| println!("original: {x}"))\n    .map(|x| x.pow(3))\n    .expect("failed to parse number");
\n
source

pub fn inspect_err<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&E),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained error (if Err).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nuse std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string("address.txt")\n        .inspect_err(|e| eprintln!("failed to read file: {e}"))\n}
\n
1.47.0 · source

pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>where\n T: Deref,

Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

\n

Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

\n
Examples
\n
let x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&str, &u32> = Ok("hello");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
\n
1.47.0 · source

pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>where\n T: DerefMut,

Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

\n

Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

\n
Examples
\n
let mut s = "HELLO".to_string();\nlet mut x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
\n
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter().next(), None);
\n
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a mutable iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter_mut().next(), None);
\n
1.4.0 · source

pub fn expect(self, msg: &str) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

\n
Examples
\n
let x: Result<u32, &str> = Err("emergency failure");\nx.expect("Testing expect"); // panics with `Testing expect: emergency failure`
\n
Recommended Message Style
\n

We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

\n\n
let path = std::env::var("IMPORTANT_PATH")\n    .expect("env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`");
\n

Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

\n

For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

\n
1.0.0 · source

pub fn unwrap(self) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message provided by the\nErr’s value.

\n
Examples
\n

Basic usage:

\n\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nx.unwrap(); // panics with `emergency failure`
\n
1.16.0 · source

pub fn unwrap_or_default(self) -> Twhere\n T: Default,

Returns the contained Ok value or a default

\n

Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

\n
Examples
\n

Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

\n\n
let good_year_from_input = "1909";\nlet bad_year_from_input = "190blarg";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
\n
1.17.0 · source

pub fn expect_err(self, msg: &str) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

\n
Examples
\n
let x: Result<u32, &str> = Ok(10);\nx.expect_err("Testing expect_err"); // panics with `Testing expect_err: 10`
\n
1.0.0 · source

pub fn unwrap_err(self) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(x.unwrap_err(), "emergency failure");
\n
source

pub fn into_ok(self) -> Twhere\n E: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Ok value, but never panics.

\n

Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

\n
Examples
\n
\nfn only_good_news() -> Result<String, !> {\n    Ok("this is fine".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!("{s}");
\n
source

pub fn into_err(self) -> Ewhere\n T: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Err value, but never panics.

\n

Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

\n
Examples
\n
\nfn only_bad_news() -> Result<!, String> {\n    Err("Oops, it failed".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!("{error}");
\n
1.0.0 · source

pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

Returns res if the result is Ok, otherwise returns the Err value of self.

\n

Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("late error"));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<&str, &str> = Ok("foo");\nassert_eq!(x.and(y), Err("early error"));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("not a 2"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok("different result type");\nassert_eq!(x.and(y), Ok("different result type"));
\n
1.0.0 · source

pub fn and_then<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> Result<U, E>,

Calls op if the result is Ok, otherwise returns the Err value of self.

\n

This function can be used for control flow based on Result values.

\n
Examples
\n
fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or("overflowed")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err("overflowed"));\nassert_eq!(Err("not a number").and_then(sq_then_to_string), Err("not a number"));
\n

Often used to chain fallible operations that may return Err.

\n\n
use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows "/" maps to "C:\\"\nlet root_modified_time = Path::new("/").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new("/bad/path").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
\n
1.0.0 · source

pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

Returns res if the result is Err, otherwise returns the Ok value of self.

\n

Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Err("late error"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
\n
1.0.0 · source

pub fn or_else<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> Result<T, F>,

Calls op if the result is Err, otherwise returns the Ok value of self.

\n

This function can be used for control flow based on result values.

\n
Examples
\n
fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
\n
1.0.0 · source

pub fn unwrap_or(self, default: T) -> T

Returns the contained Ok value or a provided default.

\n

Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err("error");\nassert_eq!(x.unwrap_or(default), default);
\n
1.0.0 · source

pub fn unwrap_or_else<F>(self, op: F) -> Twhere\n F: FnOnce(E) -> T,

Returns the contained Ok value or computes it from a closure.

\n
Examples
\n
fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err("foo").unwrap_or_else(count), 3);
\n
1.58.0 · source

pub unsafe fn unwrap_unchecked(self) -> T

Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

\n
Safety
\n

Calling this method on an Err is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
\n
1.58.0 · source

pub unsafe fn unwrap_err_unchecked(self) -> E

Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

\n
Safety
\n

Calling this method on an Ok is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, "emergency failure");
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Result<&T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Result<&mut T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Result<Option<T>, E>

1.33.0 (const: unstable) · source

pub fn transpose(self) -> Option<Result<T, E>>

Transposes a Result of an Option into an Option of a Result.

\n

Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

\n
Examples
\n
#[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Result<Result<T, E>, E>

source

pub fn flatten(self) -> Result<T, E>

🔬This is a nightly-only experimental API. (result_flattening)

Converts from Result<Result<T, E>, E> to Result<T, E>

\n
Examples
\n
#![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok("hello"));\nassert_eq!(Ok("hello"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
\n

Flattening only removes one level of nesting at a time:

\n\n
#![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok("hello")));\nassert_eq!(Ok(Ok("hello")), x.flatten());\nassert_eq!(Ok("hello"), x.flatten().flatten());
\n
",0,"ink::ConstructorResult","ink::MessageResult"],["
1.61.0 · source§

impl<T, E> Termination for Result<T, E>where\n T: Termination,\n E: Debug,

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
","Termination","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(_: Yeet<E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Try for Result<T, E>

§

type Output = T

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value produced by ? when not short-circuiting.
§

type Residual = Result<Infallible, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
source§

fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from its Output type. Read more
source§

fn branch(\n self\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

🔬This is a nightly-only experimental API. (try_trait_v2)
Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
","Try","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> StructuralEq for Result<T, E>

","StructuralEq","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Eq for Result<T, E>where\n T: Eq,\n E: Eq,

","Eq","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>where\n V: FromIterator<A>,

source§

fn from_iter<I>(iter: I) -> Result<V, E>where\n I: IntoIterator<Item = Result<A, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

\n

Here is an example which increments every integer in a vector,\nchecking for overflow:

\n\n
let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
\n

Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

\n\n
let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or("Underflow!")\n).collect();\nassert_eq!(res, Err("Underflow!"));
\n

Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

\n\n
let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or("Underflow!")\n}).collect();\nassert_eq!(res, Err("Underflow!"));\nassert_eq!(shared, 6);
\n

Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

\n
","FromIterator>","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Ord for Result<T, E>where\n T: Ord,\n E: Ord,

source§

fn cmp(&self, other: &Result<T, E>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> PartialEq for Result<T, E>where\n T: PartialEq,\n E: PartialEq,

source§

fn eq(&self, other: &Result<T, E>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Clone for Result<T, E>where\n T: Clone,\n E: Clone,

source§

fn clone(&self) -> Result<T, E>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Result<T, E>)

Performs copy-assignment from source. Read more
","Clone","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Hash for Result<T, E>where\n T: Hash,\n E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> IntoIterator for Result<T, E>

source§

fn into_iter(self) -> IntoIter<T>

Returns a consuming iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err("nothing!");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
\n
§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
","IntoIterator","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Residual<T> for Result<Infallible, E>

§

type TryType = Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2_residual)
The “return” type of this meta-function.
","Residual","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> StructuralPartialEq for Result<T, E>

","StructuralPartialEq","ink::ConstructorResult","ink::MessageResult"],["
1.16.0 · source§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

source§

fn sum<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
let f = |&x: &i32| if x < 0 { Err("Negative element found") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err("Negative element found"));
\n
","Sum>","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Debug for Result<T, E>where\n T: Debug,\n E: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> PartialOrd for Result<T, E>where\n T: PartialOrd,\n E: PartialOrd,

source§

fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","ink::ConstructorResult","ink::MessageResult"],["
1.0.0 · source§

impl<T, E> Copy for Result<T, E>where\n T: Copy,\n E: Copy,

","Copy","ink::ConstructorResult","ink::MessageResult"],["
1.16.0 · source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

source§

fn product<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

\n
Examples
\n

This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

\n\n
let nums = vec!["5", "10", "1", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec!["5", "10", "one", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
\n
","Product>","ink::ConstructorResult","ink::MessageResult"],["
§

impl<C, E> ConstructorReturnType<C> for Result<C, E>where\n C: ContractEnv + FromAccountId<<C as ContractEnv>::Env>,\n E: Decode,

Blanket implementation for a Result<Self> return type. Self in the context\nof a ContractRef inherent becomes the ContractRefs type.

\n
§

const IS_RESULT: bool = true

Is true if Self is Result<C, E>.
§

type Output = Result<C, E>

The actual return type of the constructor. Read more
§

type Error = E

The error type of the constructor return type.
§

fn ok(value: C) -> <Result<C, E> as ConstructorReturnType<C>>::Output

Construct a success value of the Output type.
§

fn err(\n err: <Result<C, E> as ConstructorReturnType<C>>::Error\n) -> Option<<Result<C, E> as ConstructorReturnType<C>>::Output>

Construct an error value of the Output type. Read more
","ConstructorReturnType","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> IsResultType for Result<T, E>

§

type Ok = T

The T type of the Result<T, E>.
§

type Err = E

The E type of the Result<T, E>.
","IsResultType","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> StorageLayout for Result<T, E>where\n T: StorageLayout,\n E: StorageLayout,

§

fn layout(key: &u32) -> Layout

Returns the static storage layout of Self. Read more
","StorageLayout","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> MaxEncodedLen for Result<T, E>where\n T: MaxEncodedLen,\n E: MaxEncodedLen,

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
","MaxEncodedLen","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, LikeT, E, LikeE> EncodeLike<Result<LikeT, LikeE>> for Result<T, E>where\n T: EncodeLike<LikeT>,\n LikeT: Encode,\n E: EncodeLike<LikeE>,\n LikeE: Encode,

","EncodeLike>","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> Decode for Result<T, E>where\n T: Decode,\n E: Decode,

§

fn decode<I>(input: &mut I) -> Result<Result<T, E>, Error>where\n I: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> Encode for Result<T, E>where\n T: Encode,\n E: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<W>(&self, dest: &mut W)where\n W: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","ink::ConstructorResult","ink::MessageResult"],["
source§

impl<T, E> Serialize for Result<T, E>where\n T: Serialize,\n E: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> IntoVisitor for Result<T, E>where\n T: IntoVisitor,\n E: IntoVisitor,

§

type AnyVisitor<R: TypeResolver> = BasicVisitor<Result<T, E>, R>

The visitor type used to decode SCALE encoded bytes to Self.
§

fn into_visitor<R>() -> <Result<T, E> as IntoVisitor>::AnyVisitor<R>where\n R: TypeResolver,

A means of obtaining this visitor.
","IntoVisitor","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> EncodeAsType for Result<T, E>where\n T: EncodeAsType,\n E: EncodeAsType,

§

fn encode_as_type_to<R>(\n &self,\n type_id: &<R as TypeResolver>::TypeId,\n types: &R,\n out: &mut Vec<u8>\n) -> Result<(), Error>where\n R: TypeResolver,

Given some type_id, types, a context and some output target for the SCALE encoded bytes,\nattempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type<R>(\n &self,\n type_id: &<R as TypeResolver>::TypeId,\n types: &R\n) -> Result<Vec<u8>, Error>where\n R: TypeResolver,

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to\nimplement that instead.
","EncodeAsType","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> TypeInfo for Result<T, E>where\n T: TypeInfo + 'static,\n E: TypeInfo + 'static,

§

type Identity = Result<T, E>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
","TypeInfo","ink::ConstructorResult","ink::MessageResult"],["
§

impl<T, E> JsonSchema for Result<T, E>where\n T: JsonSchema,\n E: JsonSchema,

§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
","JsonSchema","ink::ConstructorResult","ink::MessageResult"]], +"ink_env":[["
source§

impl<T, E> Result<T, E>

1.0.0 (const: 1.48.0) · source

pub const fn is_ok(&self) -> bool

Returns true if the result is Ok.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_ok(), false);
\n
1.70.0 · source

pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

Returns true if the result is Ok and the value inside of it matches a predicate.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err("hey");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
\n
1.0.0 (const: 1.48.0) · source

pub const fn is_err(&self) -> bool

Returns true if the result is Err.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_err(), true);
\n
1.70.0 · source

pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

Returns true if the result is Err and the value inside of it matches a predicate.

\n
Examples
\n
use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
\n
1.0.0 · source

pub fn ok(self) -> Option<T>

Converts from Result<T, E> to Option<T>.

\n

Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.ok(), None);
\n
1.0.0 · source

pub fn err(self) -> Option<E>

Converts from Result<T, E> to Option<E>.

\n

Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.err(), Some("Nothing here"));
\n
1.0.0 (const: 1.48.0) · source

pub const fn as_ref(&self) -> Result<&T, &E>

Converts from &Result<T, E> to Result<&T, &E>.

\n

Produces a new Result, containing a reference\ninto the original, leaving the original in place.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err("Error");\nassert_eq!(x.as_ref(), Err(&"Error"));
\n
1.0.0 (const: unstable) · source

pub fn as_mut(&mut self) -> Result<&mut T, &mut E>

Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

\n
Examples
\n
fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
\n
1.0.0 · source

pub fn map<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> U,

Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

\n

This function can be used to compose the results of two functions.

\n
Examples
\n

Print the numbers on each line of a string multiplied by two.

\n\n
let line = "1\\n2\\n3\\n4\\n";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!("{n}"),\n        Err(..) => {}\n    }\n}
\n
1.41.0 · source

pub fn map_or<U, F>(self, default: U, f: F) -> Uwhere\n F: FnOnce(T) -> U,

Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

\n

Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let x: Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err("bar");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
\n
1.41.0 · source

pub fn map_or_else<U, D, F>(self, default: D, f: F) -> Uwhere\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

\n

This function can be used to unpack a successful result\nwhile handling an error.

\n
Examples
\n
let k = 21;\n\nlet x : Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err("bar");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
\n
1.0.0 · source

pub fn map_err<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> F,

Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

\n

This function can be used to pass through a successful result while handling\nan error.

\n
Examples
\n
fn stringify(x: u32) -> String { format!("error code: {x}") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err("error code: 13".to_string()));
\n
source

pub fn inspect<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&T),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained value (if Ok).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nlet x: u8 = "4"\n    .parse::<u8>()\n    .inspect(|x| println!("original: {x}"))\n    .map(|x| x.pow(3))\n    .expect("failed to parse number");
\n
source

pub fn inspect_err<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&E),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained error (if Err).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nuse std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string("address.txt")\n        .inspect_err(|e| eprintln!("failed to read file: {e}"))\n}
\n
1.47.0 · source

pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>where\n T: Deref,

Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

\n

Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

\n
Examples
\n
let x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&str, &u32> = Ok("hello");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
\n
1.47.0 · source

pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>where\n T: DerefMut,

Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

\n

Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

\n
Examples
\n
let mut s = "HELLO".to_string();\nlet mut x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
\n
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter().next(), None);
\n
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a mutable iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter_mut().next(), None);
\n
1.4.0 · source

pub fn expect(self, msg: &str) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

\n
Examples
\n
let x: Result<u32, &str> = Err("emergency failure");\nx.expect("Testing expect"); // panics with `Testing expect: emergency failure`
\n
Recommended Message Style
\n

We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

\n\n
let path = std::env::var("IMPORTANT_PATH")\n    .expect("env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`");
\n

Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

\n

For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

\n
1.0.0 · source

pub fn unwrap(self) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message provided by the\nErr’s value.

\n
Examples
\n

Basic usage:

\n\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nx.unwrap(); // panics with `emergency failure`
\n
1.16.0 · source

pub fn unwrap_or_default(self) -> Twhere\n T: Default,

Returns the contained Ok value or a default

\n

Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

\n
Examples
\n

Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

\n\n
let good_year_from_input = "1909";\nlet bad_year_from_input = "190blarg";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
\n
1.17.0 · source

pub fn expect_err(self, msg: &str) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

\n
Examples
\n
let x: Result<u32, &str> = Ok(10);\nx.expect_err("Testing expect_err"); // panics with `Testing expect_err: 10`
\n
1.0.0 · source

pub fn unwrap_err(self) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(x.unwrap_err(), "emergency failure");
\n
source

pub fn into_ok(self) -> Twhere\n E: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Ok value, but never panics.

\n

Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

\n
Examples
\n
\nfn only_good_news() -> Result<String, !> {\n    Ok("this is fine".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!("{s}");
\n
source

pub fn into_err(self) -> Ewhere\n T: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Err value, but never panics.

\n

Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

\n
Examples
\n
\nfn only_bad_news() -> Result<!, String> {\n    Err("Oops, it failed".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!("{error}");
\n
1.0.0 · source

pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

Returns res if the result is Ok, otherwise returns the Err value of self.

\n

Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("late error"));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<&str, &str> = Ok("foo");\nassert_eq!(x.and(y), Err("early error"));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("not a 2"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok("different result type");\nassert_eq!(x.and(y), Ok("different result type"));
\n
1.0.0 · source

pub fn and_then<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> Result<U, E>,

Calls op if the result is Ok, otherwise returns the Err value of self.

\n

This function can be used for control flow based on Result values.

\n
Examples
\n
fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or("overflowed")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err("overflowed"));\nassert_eq!(Err("not a number").and_then(sq_then_to_string), Err("not a number"));
\n

Often used to chain fallible operations that may return Err.

\n\n
use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows "/" maps to "C:\\"\nlet root_modified_time = Path::new("/").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new("/bad/path").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
\n
1.0.0 · source

pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

Returns res if the result is Err, otherwise returns the Ok value of self.

\n

Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Err("late error"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
\n
1.0.0 · source

pub fn or_else<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> Result<T, F>,

Calls op if the result is Err, otherwise returns the Ok value of self.

\n

This function can be used for control flow based on result values.

\n
Examples
\n
fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
\n
1.0.0 · source

pub fn unwrap_or(self, default: T) -> T

Returns the contained Ok value or a provided default.

\n

Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err("error");\nassert_eq!(x.unwrap_or(default), default);
\n
1.0.0 · source

pub fn unwrap_or_else<F>(self, op: F) -> Twhere\n F: FnOnce(E) -> T,

Returns the contained Ok value or computes it from a closure.

\n
Examples
\n
fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err("foo").unwrap_or_else(count), 3);
\n
1.58.0 · source

pub unsafe fn unwrap_unchecked(self) -> T

Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

\n
Safety
\n

Calling this method on an Err is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
\n
1.58.0 · source

pub unsafe fn unwrap_err_unchecked(self) -> E

Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

\n
Safety
\n

Calling this method on an Ok is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, "emergency failure");
\n
",0,"ink_env::error::Result"],["
source§

impl<T, E> Result<&T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink_env::error::Result"],["
source§

impl<T, E> Result<&mut T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink_env::error::Result"],["
source§

impl<T, E> Result<Option<T>, E>

1.33.0 (const: unstable) · source

pub fn transpose(self) -> Option<Result<T, E>>

Transposes a Result of an Option into an Option of a Result.

\n

Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

\n
Examples
\n
#[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
\n
",0,"ink_env::error::Result"],["
source§

impl<T, E> Result<Result<T, E>, E>

source

pub fn flatten(self) -> Result<T, E>

🔬This is a nightly-only experimental API. (result_flattening)

Converts from Result<Result<T, E>, E> to Result<T, E>

\n
Examples
\n
#![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok("hello"));\nassert_eq!(Ok("hello"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
\n

Flattening only removes one level of nesting at a time:

\n\n
#![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok("hello")));\nassert_eq!(Ok(Ok("hello")), x.flatten());\nassert_eq!(Ok("hello"), x.flatten().flatten());
\n
",0,"ink_env::error::Result"],["
1.61.0 · source§

impl<T, E> Termination for Result<T, E>where\n T: Termination,\n E: Debug,

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
","Termination","ink_env::error::Result"],["
source§

impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(_: Yeet<E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink_env::error::Result"],["
source§

impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink_env::error::Result"],["
source§

impl<T, E> Try for Result<T, E>

§

type Output = T

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value produced by ? when not short-circuiting.
§

type Residual = Result<Infallible, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
source§

fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from its Output type. Read more
source§

fn branch(\n self\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

🔬This is a nightly-only experimental API. (try_trait_v2)
Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
","Try","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> StructuralEq for Result<T, E>

","StructuralEq","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Eq for Result<T, E>where\n T: Eq,\n E: Eq,

","Eq","ink_env::error::Result"],["
1.0.0 · source§

impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>where\n V: FromIterator<A>,

source§

fn from_iter<I>(iter: I) -> Result<V, E>where\n I: IntoIterator<Item = Result<A, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

\n

Here is an example which increments every integer in a vector,\nchecking for overflow:

\n\n
let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
\n

Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

\n\n
let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or("Underflow!")\n).collect();\nassert_eq!(res, Err("Underflow!"));
\n

Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

\n\n
let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or("Underflow!")\n}).collect();\nassert_eq!(res, Err("Underflow!"));\nassert_eq!(shared, 6);
\n

Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

\n
","FromIterator>","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Ord for Result<T, E>where\n T: Ord,\n E: Ord,

source§

fn cmp(&self, other: &Result<T, E>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> PartialEq for Result<T, E>where\n T: PartialEq,\n E: PartialEq,

source§

fn eq(&self, other: &Result<T, E>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Clone for Result<T, E>where\n T: Clone,\n E: Clone,

source§

fn clone(&self) -> Result<T, E>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Result<T, E>)

Performs copy-assignment from source. Read more
","Clone","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Hash for Result<T, E>where\n T: Hash,\n E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> IntoIterator for Result<T, E>

source§

fn into_iter(self) -> IntoIter<T>

Returns a consuming iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err("nothing!");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
\n
§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
","IntoIterator","ink_env::error::Result"],["
source§

impl<T, E> Residual<T> for Result<Infallible, E>

§

type TryType = Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2_residual)
The “return” type of this meta-function.
","Residual","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> StructuralPartialEq for Result<T, E>

","StructuralPartialEq","ink_env::error::Result"],["
1.16.0 · source§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

source§

fn sum<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
let f = |&x: &i32| if x < 0 { Err("Negative element found") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err("Negative element found"));
\n
","Sum>","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Debug for Result<T, E>where\n T: Debug,\n E: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> PartialOrd for Result<T, E>where\n T: PartialOrd,\n E: PartialOrd,

source§

fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","ink_env::error::Result"],["
1.0.0 · source§

impl<T, E> Copy for Result<T, E>where\n T: Copy,\n E: Copy,

","Copy","ink_env::error::Result"],["
1.16.0 · source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

source§

fn product<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

\n
Examples
\n

This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

\n\n
let nums = vec!["5", "10", "1", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec!["5", "10", "one", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
\n
","Product>","ink_env::error::Result"],["
§

impl<T, E> StorageLayout for Result<T, E>where\n T: StorageLayout,\n E: StorageLayout,

§

fn layout(key: &u32) -> Layout

Returns the static storage layout of Self. Read more
","StorageLayout","ink_env::error::Result"],["
§

impl<T, E> MaxEncodedLen for Result<T, E>where\n T: MaxEncodedLen,\n E: MaxEncodedLen,

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
","MaxEncodedLen","ink_env::error::Result"],["
§

impl<T, LikeT, E, LikeE> EncodeLike<Result<LikeT, LikeE>> for Result<T, E>where\n T: EncodeLike<LikeT>,\n LikeT: Encode,\n E: EncodeLike<LikeE>,\n LikeE: Encode,

","EncodeLike>","ink_env::error::Result"],["
§

impl<T, E> Decode for Result<T, E>where\n T: Decode,\n E: Decode,

§

fn decode<I>(input: &mut I) -> Result<Result<T, E>, Error>where\n I: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink_env::error::Result"],["
§

impl<T, E> Encode for Result<T, E>where\n T: Encode,\n E: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<W>(&self, dest: &mut W)where\n W: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_env::error::Result"],["
source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","ink_env::error::Result"],["
source§

impl<T, E> Serialize for Result<T, E>where\n T: Serialize,\n E: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink_env::error::Result"],["
§

impl<T, E> IntoVisitor for Result<T, E>where\n T: IntoVisitor,\n E: IntoVisitor,

§

type AnyVisitor<R: TypeResolver> = BasicVisitor<Result<T, E>, R>

The visitor type used to decode SCALE encoded bytes to Self.
§

fn into_visitor<R>() -> <Result<T, E> as IntoVisitor>::AnyVisitor<R>where\n R: TypeResolver,

A means of obtaining this visitor.
","IntoVisitor","ink_env::error::Result"],["
§

impl<T, E> EncodeAsType for Result<T, E>where\n T: EncodeAsType,\n E: EncodeAsType,

§

fn encode_as_type_to<R>(\n &self,\n type_id: &<R as TypeResolver>::TypeId,\n types: &R,\n out: &mut Vec<u8>\n) -> Result<(), Error>where\n R: TypeResolver,

Given some type_id, types, a context and some output target for the SCALE encoded bytes,\nattempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type<R>(\n &self,\n type_id: &<R as TypeResolver>::TypeId,\n types: &R\n) -> Result<Vec<u8>, Error>where\n R: TypeResolver,

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to\nimplement that instead.
","EncodeAsType","ink_env::error::Result"],["
§

impl<T, E> TypeInfo for Result<T, E>where\n T: TypeInfo + 'static,\n E: TypeInfo + 'static,

§

type Identity = Result<T, E>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
","TypeInfo","ink_env::error::Result"],["
§

impl<T, E> JsonSchema for Result<T, E>where\n T: JsonSchema,\n E: JsonSchema,

§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
","JsonSchema","ink_env::error::Result"],["
source§

impl<C, E> ConstructorReturnType<C> for Result<C, E>where\n C: ContractEnv + FromAccountId<<C as ContractEnv>::Env>,\n E: Decode,

Blanket implementation for a Result<Self> return type. Self in the context\nof a ContractRef inherent becomes the ContractRefs type.

\n
source§

const IS_RESULT: bool = true

Is true if Self is Result<C, E>.
§

type Output = Result<C, E>

The actual return type of the constructor. Read more
§

type Error = E

The error type of the constructor return type.
source§

fn ok(value: C) -> Self::Output

Construct a success value of the Output type.
source§

fn err(err: Self::Error) -> Option<Self::Output>

Construct an error value of the Output type. Read more
","ConstructorReturnType","ink_env::error::Result"],["
source§

impl<T, E> IsResultType for Result<T, E>

§

type Ok = T

The T type of the Result<T, E>.
§

type Err = E

The E type of the Result<T, E>.
","IsResultType","ink_env::error::Result"]], +"ink_primitives":[["
source§

impl<T, E> Result<T, E>

1.0.0 (const: 1.48.0) · source

pub const fn is_ok(&self) -> bool

Returns true if the result is Ok.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_ok(), false);
\n
1.70.0 · source

pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

Returns true if the result is Ok and the value inside of it matches a predicate.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err("hey");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
\n
1.0.0 (const: 1.48.0) · source

pub const fn is_err(&self) -> bool

Returns true if the result is Err.

\n
Examples
\n
let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err("Some error message");\nassert_eq!(x.is_err(), true);
\n
1.70.0 · source

pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

Returns true if the result is Err and the value inside of it matches a predicate.

\n
Examples
\n
use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, "!"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
\n
1.0.0 · source

pub fn ok(self) -> Option<T>

Converts from Result<T, E> to Option<T>.

\n

Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.ok(), None);
\n
1.0.0 · source

pub fn err(self) -> Option<E>

Converts from Result<T, E> to Option<E>.

\n

Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err("Nothing here");\nassert_eq!(x.err(), Some("Nothing here"));
\n
1.0.0 (const: 1.48.0) · source

pub const fn as_ref(&self) -> Result<&T, &E>

Converts from &Result<T, E> to Result<&T, &E>.

\n

Produces a new Result, containing a reference\ninto the original, leaving the original in place.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err("Error");\nassert_eq!(x.as_ref(), Err(&"Error"));
\n
1.0.0 (const: unstable) · source

pub fn as_mut(&mut self) -> Result<&mut T, &mut E>

Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

\n
Examples
\n
fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
\n
1.0.0 · source

pub fn map<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> U,

Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

\n

This function can be used to compose the results of two functions.

\n
Examples
\n

Print the numbers on each line of a string multiplied by two.

\n\n
let line = "1\\n2\\n3\\n4\\n";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!("{n}"),\n        Err(..) => {}\n    }\n}
\n
1.41.0 · source

pub fn map_or<U, F>(self, default: U, f: F) -> Uwhere\n F: FnOnce(T) -> U,

Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

\n

Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let x: Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err("bar");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
\n
1.41.0 · source

pub fn map_or_else<U, D, F>(self, default: D, f: F) -> Uwhere\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

\n

This function can be used to unpack a successful result\nwhile handling an error.

\n
Examples
\n
let k = 21;\n\nlet x : Result<_, &str> = Ok("foo");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err("bar");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
\n
1.0.0 · source

pub fn map_err<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> F,

Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

\n

This function can be used to pass through a successful result while handling\nan error.

\n
Examples
\n
fn stringify(x: u32) -> String { format!("error code: {x}") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err("error code: 13".to_string()));
\n
source

pub fn inspect<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&T),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained value (if Ok).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nlet x: u8 = "4"\n    .parse::<u8>()\n    .inspect(|x| println!("original: {x}"))\n    .map(|x| x.pow(3))\n    .expect("failed to parse number");
\n
source

pub fn inspect_err<F>(self, f: F) -> Result<T, E>where\n F: FnOnce(&E),

🔬This is a nightly-only experimental API. (result_option_inspect)

Calls the provided closure with a reference to the contained error (if Err).

\n
Examples
\n
#![feature(result_option_inspect)]\n\nuse std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string("address.txt")\n        .inspect_err(|e| eprintln!("failed to read file: {e}"))\n}
\n
1.47.0 · source

pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>where\n T: Deref,

Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

\n

Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

\n
Examples
\n
let x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&str, &u32> = Ok("hello");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
\n
1.47.0 · source

pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>where\n T: DerefMut,

Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

\n

Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

\n
Examples
\n
let mut s = "HELLO".to_string();\nlet mut x: Result<String, u32> = Ok("hello".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
\n
1.0.0 · source

pub fn iter(&self) -> Iter<'_, T>

Returns an iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter().next(), None);
\n
1.0.0 · source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a mutable iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err("nothing!");\nassert_eq!(x.iter_mut().next(), None);
\n
1.4.0 · source

pub fn expect(self, msg: &str) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

\n
Examples
\n
let x: Result<u32, &str> = Err("emergency failure");\nx.expect("Testing expect"); // panics with `Testing expect: emergency failure`
\n
Recommended Message Style
\n

We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

\n\n
let path = std::env::var("IMPORTANT_PATH")\n    .expect("env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`");
\n

Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

\n

For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

\n
1.0.0 · source

pub fn unwrap(self) -> Twhere\n E: Debug,

Returns the contained Ok value, consuming the self value.

\n

Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

\n
Panics
\n

Panics if the value is an Err, with a panic message provided by the\nErr’s value.

\n
Examples
\n

Basic usage:

\n\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nx.unwrap(); // panics with `emergency failure`
\n
1.16.0 · source

pub fn unwrap_or_default(self) -> Twhere\n T: Default,

Returns the contained Ok value or a default

\n

Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

\n
Examples
\n

Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

\n\n
let good_year_from_input = "1909";\nlet bad_year_from_input = "190blarg";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
\n
1.17.0 · source

pub fn expect_err(self, msg: &str) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

\n
Examples
\n
let x: Result<u32, &str> = Ok(10);\nx.expect_err("Testing expect_err"); // panics with `Testing expect_err: 10`
\n
1.0.0 · source

pub fn unwrap_err(self) -> Ewhere\n T: Debug,

Returns the contained Err value, consuming the self value.

\n
Panics
\n

Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(x.unwrap_err(), "emergency failure");
\n
source

pub fn into_ok(self) -> Twhere\n E: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Ok value, but never panics.

\n

Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

\n
Examples
\n
\nfn only_good_news() -> Result<String, !> {\n    Ok("this is fine".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!("{s}");
\n
source

pub fn into_err(self) -> Ewhere\n T: Into<!>,

🔬This is a nightly-only experimental API. (unwrap_infallible)

Returns the contained Err value, but never panics.

\n

Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

\n
Examples
\n
\nfn only_bad_news() -> Result<!, String> {\n    Err("Oops, it failed".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!("{error}");
\n
1.0.0 · source

pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

Returns res if the result is Ok, otherwise returns the Err value of self.

\n

Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("late error"));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<&str, &str> = Ok("foo");\nassert_eq!(x.and(y), Err("early error"));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<&str, &str> = Err("late error");\nassert_eq!(x.and(y), Err("not a 2"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok("different result type");\nassert_eq!(x.and(y), Ok("different result type"));
\n
1.0.0 · source

pub fn and_then<U, F>(self, op: F) -> Result<U, E>where\n F: FnOnce(T) -> Result<U, E>,

Calls op if the result is Ok, otherwise returns the Err value of self.

\n

This function can be used for control flow based on Result values.

\n
Examples
\n
fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or("overflowed")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err("overflowed"));\nassert_eq!(Err("not a number").and_then(sq_then_to_string), Err("not a number"));
\n

Often used to chain fallible operations that may return Err.

\n\n
use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows "/" maps to "C:\\"\nlet root_modified_time = Path::new("/").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new("/bad/path").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
\n
1.0.0 · source

pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

Returns res if the result is Err, otherwise returns the Ok value of self.

\n

Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("early error");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err("not a 2");\nlet y: Result<u32, &str> = Err("late error");\nassert_eq!(x.or(y), Err("late error"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
\n
1.0.0 · source

pub fn or_else<F, O>(self, op: O) -> Result<T, F>where\n O: FnOnce(E) -> Result<T, F>,

Calls op if the result is Err, otherwise returns the Ok value of self.

\n

This function can be used for control flow based on result values.

\n
Examples
\n
fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
\n
1.0.0 · source

pub fn unwrap_or(self, default: T) -> T

Returns the contained Ok value or a provided default.

\n

Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

\n
Examples
\n
let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err("error");\nassert_eq!(x.unwrap_or(default), default);
\n
1.0.0 · source

pub fn unwrap_or_else<F>(self, op: F) -> Twhere\n F: FnOnce(E) -> T,

Returns the contained Ok value or computes it from a closure.

\n
Examples
\n
fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err("foo").unwrap_or_else(count), 3);
\n
1.58.0 · source

pub unsafe fn unwrap_unchecked(self) -> T

Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

\n
Safety
\n

Calling this method on an Err is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
\n
1.58.0 · source

pub unsafe fn unwrap_err_unchecked(self) -> E

Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

\n
Safety
\n

Calling this method on an Ok is undefined behavior.

\n
Examples
\n
let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
\n\n
let x: Result<u32, &str> = Err("emergency failure");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, "emergency failure");
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Result<&T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Result<&mut T, E>

1.59.0 · source

pub fn copied(self) -> Result<T, E>where\n T: Copy,

Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
\n
1.59.0 · source

pub fn cloned(self) -> Result<T, E>where\n T: Clone,

Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

\n
Examples
\n
let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Result<Option<T>, E>

1.33.0 (const: unstable) · source

pub fn transpose(self) -> Option<Result<T, E>>

Transposes a Result of an Option into an Option of a Result.

\n

Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

\n
Examples
\n
#[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Result<Result<T, E>, E>

source

pub fn flatten(self) -> Result<T, E>

🔬This is a nightly-only experimental API. (result_flattening)

Converts from Result<Result<T, E>, E> to Result<T, E>

\n
Examples
\n
#![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok("hello"));\nassert_eq!(Ok("hello"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
\n

Flattening only removes one level of nesting at a time:

\n\n
#![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok("hello")));\nassert_eq!(Ok(Ok("hello")), x.flatten());\nassert_eq!(Ok("hello"), x.flatten().flatten());
\n
",0,"ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.61.0 · source§

impl<T, E> Termination for Result<T, E>where\n T: Termination,\n E: Debug,

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
","Termination","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(_: Yeet<E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>where\n F: From<E>,

source§

fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from a compatible Residual type. Read more
","FromResidual>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Try for Result<T, E>

§

type Output = T

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value produced by ? when not short-circuiting.
§

type Residual = Result<Infallible, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
source§

fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2)
Constructs the type from its Output type. Read more
source§

fn branch(\n self\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

🔬This is a nightly-only experimental API. (try_trait_v2)
Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
","Try","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> StructuralEq for Result<T, E>

","StructuralEq","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Eq for Result<T, E>where\n T: Eq,\n E: Eq,

","Eq","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>where\n V: FromIterator<A>,

source§

fn from_iter<I>(iter: I) -> Result<V, E>where\n I: IntoIterator<Item = Result<A, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

\n

Here is an example which increments every integer in a vector,\nchecking for overflow:

\n\n
let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or("Overflow!")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
\n

Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

\n\n
let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or("Underflow!")\n).collect();\nassert_eq!(res, Err("Underflow!"));
\n

Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

\n\n
let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or("Underflow!")\n}).collect();\nassert_eq!(res, Err("Underflow!"));\nassert_eq!(shared, 6);
\n

Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

\n
","FromIterator>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Ord for Result<T, E>where\n T: Ord,\n E: Ord,

source§

fn cmp(&self, other: &Result<T, E>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> PartialEq for Result<T, E>where\n T: PartialEq,\n E: PartialEq,

source§

fn eq(&self, other: &Result<T, E>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Clone for Result<T, E>where\n T: Clone,\n E: Clone,

source§

fn clone(&self) -> Result<T, E>

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, source: &Result<T, E>)

Performs copy-assignment from source. Read more
","Clone","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Hash for Result<T, E>where\n T: Hash,\n E: Hash,

source§

fn hash<__H>(&self, state: &mut __H)where\n __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> IntoIterator for Result<T, E>

source§

fn into_iter(self) -> IntoIter<T>

Returns a consuming iterator over the possibly contained value.

\n

The iterator yields one value if the result is Result::Ok, otherwise none.

\n
Examples
\n
let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err("nothing!");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
\n
§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?
","IntoIterator","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Residual<T> for Result<Infallible, E>

§

type TryType = Result<T, E>

🔬This is a nightly-only experimental API. (try_trait_v2_residual)
The “return” type of this meta-function.
","Residual","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> StructuralPartialEq for Result<T, E>

","StructuralPartialEq","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.16.0 · source§

impl<T, U, E> Sum<Result<U, E>> for Result<T, E>where\n T: Sum<U>,

source§

fn sum<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

\n
Examples
\n

This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

\n\n
let f = |&x: &i32| if x < 0 { Err("Negative element found") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err("Negative element found"));
\n
","Sum>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Debug for Result<T, E>where\n T: Debug,\n E: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> PartialOrd for Result<T, E>where\n T: PartialOrd,\n E: PartialOrd,

source§

fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.0.0 · source§

impl<T, E> Copy for Result<T, E>where\n T: Copy,\n E: Copy,

","Copy","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
1.16.0 · source§

impl<T, U, E> Product<Result<U, E>> for Result<T, E>where\n T: Product<U>,

source§

fn product<I>(iter: I) -> Result<T, E>where\n I: Iterator<Item = Result<U, E>>,

Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

\n
Examples
\n

This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

\n\n
let nums = vec!["5", "10", "1", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec!["5", "10", "one", "2"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
\n
","Product>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> MaxEncodedLen for Result<T, E>where\n T: MaxEncodedLen,\n E: MaxEncodedLen,

§

fn max_encoded_len() -> usize

Upper bound, in bytes, of the maximum encoded size of this item.
","MaxEncodedLen","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, LikeT, E, LikeE> EncodeLike<Result<LikeT, LikeE>> for Result<T, E>where\n T: EncodeLike<LikeT>,\n LikeT: Encode,\n E: EncodeLike<LikeE>,\n LikeE: Encode,

","EncodeLike>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> Decode for Result<T, E>where\n T: Decode,\n E: Decode,

§

fn decode<I>(input: &mut I) -> Result<Result<T, E>, Error>where\n I: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> Encode for Result<T, E>where\n T: Encode,\n E: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<W>(&self, dest: &mut W)where\n W: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<T, E> Serialize for Result<T, E>where\n T: Serialize,\n E: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> IntoVisitor for Result<T, E>where\n T: IntoVisitor,\n E: IntoVisitor,

§

type AnyVisitor<R: TypeResolver> = BasicVisitor<Result<T, E>, R>

The visitor type used to decode SCALE encoded bytes to Self.
§

fn into_visitor<R>() -> <Result<T, E> as IntoVisitor>::AnyVisitor<R>where\n R: TypeResolver,

A means of obtaining this visitor.
","IntoVisitor","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> EncodeAsType for Result<T, E>where\n T: EncodeAsType,\n E: EncodeAsType,

§

fn encode_as_type_to<R>(\n &self,\n type_id: &<R as TypeResolver>::TypeId,\n types: &R,\n out: &mut Vec<u8>\n) -> Result<(), Error>where\n R: TypeResolver,

Given some type_id, types, a context and some output target for the SCALE encoded bytes,\nattempt to SCALE encode the current value into the type given by type_id.
§

fn encode_as_type<R>(\n &self,\n type_id: &<R as TypeResolver>::TypeId,\n types: &R\n) -> Result<Vec<u8>, Error>where\n R: TypeResolver,

This is a helper function which internally calls [EncodeAsType::encode_as_type_to]. Prefer to\nimplement that instead.
","EncodeAsType","ink_primitives::MessageResult","ink_primitives::ConstructorResult"],["
§

impl<T, E> TypeInfo for Result<T, E>where\n T: TypeInfo + 'static,\n E: TypeInfo + 'static,

§

type Identity = Result<T, E>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
","TypeInfo","ink_primitives::MessageResult","ink_primitives::ConstructorResult"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/frame_system/pallet/struct.Pallet.js b/type.impl/frame_system/pallet/struct.Pallet.js index 881d7cc2a9..17c784fc84 100644 --- a/type.impl/frame_system/pallet/struct.Pallet.js +++ b/type.impl/frame_system/pallet/struct.Pallet.js @@ -1,4 +1,4 @@ (function() {var type_impls = { "ink_e2e":[], -"ink_sandbox":[["
§

impl<T> Pallet<T>where\n T: Config,

pub fn remark(\n _origin: <T as Config>::RuntimeOrigin,\n remark: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Make some on-chain remark.

\n

Can be executed by every origin.

\n

pub fn set_heap_pages(\n origin: <T as Config>::RuntimeOrigin,\n pages: u64\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Set the number of pages in the WebAssembly environment’s heap.

\n

pub fn set_code(\n origin: <T as Config>::RuntimeOrigin,\n code: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Set the new runtime code.

\n

pub fn set_code_without_checks(\n origin: <T as Config>::RuntimeOrigin,\n code: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Set the new runtime code without doing any checks of the given code.

\n

pub fn set_storage(\n origin: <T as Config>::RuntimeOrigin,\n items: Vec<(Vec<u8>, Vec<u8>)>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Set some items of storage.

\n

pub fn kill_storage(\n origin: <T as Config>::RuntimeOrigin,\n keys: Vec<Vec<u8>>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Kill some items from storage.

\n

pub fn kill_prefix(\n origin: <T as Config>::RuntimeOrigin,\n prefix: Vec<u8>,\n subkeys: u32\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Kill all storage items with a key that starts with the given prefix.

\n

NOTE: We rely on the Root origin to provide us the number of subkeys under\nthe prefix we are removing to accurately calculate the weight of this function.

\n

pub fn remark_with_event(\n origin: <T as Config>::RuntimeOrigin,\n remark: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Make some on-chain remark and emit event.

\n

pub fn authorize_upgrade(\n origin: <T as Config>::RuntimeOrigin,\n code_hash: <T as Config>::Hash\n) -> Result<(), DispatchError>

Authorize an upgrade to a given code_hash for the runtime. The runtime can be supplied\nlater.

\n

This call requires Root origin.

\n

pub fn authorize_upgrade_without_checks(\n origin: <T as Config>::RuntimeOrigin,\n code_hash: <T as Config>::Hash\n) -> Result<(), DispatchError>

Authorize an upgrade to a given code_hash for the runtime. The runtime can be supplied\nlater.

\n

WARNING: This authorizes an upgrade that will take place without any safety checks, for\nexample that the spec name remains the same and that the version number increases. Not\nrecommended for normal use. Use authorize_upgrade instead.

\n

This call requires Root origin.

\n

pub fn apply_authorized_upgrade(\n _: <T as Config>::RuntimeOrigin,\n code: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Provide the preimage (runtime binary) code for an upgrade that has been authorized.

\n

If the authorization required a version check, this call will ensure the spec name\nremains unchanged and that the spec version has increased.

\n

Depending on the runtime’s OnSetCode configuration, this function may directly apply\nthe new code in the same block or attempt to schedule the upgrade.

\n

All origins are allowed.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn account<KArg>(\n k: KArg\n) -> AccountInfo<<T as Config>::Nonce, <T as Config>::AccountData>where\n KArg: EncodeLike<<T as Config>::AccountId>,

An auto-generated getter for [Account].

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn block_weight() -> PerDispatchClass<Weight>

An auto-generated getter for BlockWeight.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn block_hash<KArg>(k: KArg) -> <T as Config>::Hashwhere\n KArg: EncodeLike<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>,

An auto-generated getter for [BlockHash].

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn extrinsic_data<KArg>(k: KArg) -> Vec<u8> where\n KArg: EncodeLike<u32>,

An auto-generated getter for ExtrinsicData.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn block_number(\n) -> <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

An auto-generated getter for Number.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn parent_hash() -> <T as Config>::Hash

An auto-generated getter for ParentHash.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn digest() -> Digest

An auto-generated getter for Digest.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn event_count() -> u32

An auto-generated getter for EventCount.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn event_topics<KArg>(\n k: KArg\n) -> Vec<(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, u32)>where\n KArg: EncodeLike<<T as Config>::Hash>,

An auto-generated getter for EventTopics.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn authorized_upgrade() -> Option<CodeUpgradeAuthorization<T>>

An auto-generated getter for AuthorizedUpgrade.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn last_runtime_upgrade_spec_version() -> u32

Returns the spec_version of the last runtime upgrade.

\n

This function is useful for writing guarded runtime migrations in the runtime. A runtime\nmigration can use the spec_version to ensure that it isn’t applied twice. This works\nsimilar as the storage version for pallets.

\n

This functions returns the spec_version of the last runtime upgrade while executing the\nruntime migrations\non_runtime_upgrade\nfunction. After all migrations are executed, this will return the spec_version of the\ncurrent runtime until there is another runtime upgrade.

\n

Example:

\n\n
#[test]\nfn last_runtime_upgrade_spec_version_usage() {\n\tstruct Migration;\n\n\timpl OnRuntimeUpgrade for Migration {\n\t\tfn on_runtime_upgrade() -> Weight {\n\t\t\t// Ensure to compare the spec version against some static version to prevent applying\n\t\t\t// the same migration multiple times.\n\t\t\t//\n\t\t\t// `1337` here is the spec version of the runtime running on chain. If there is maybe\n\t\t\t// a runtime upgrade in the pipeline of being applied, you should use the spec version\n\t\t\t// of this upgrade.\n\t\t\tif System::last_runtime_upgrade_spec_version() > 1337 {\n\t\t\t\treturn Weight::zero()\n\t\t\t}\n\n\t\t\t// Do the migration.\n\t\t\tWeight::zero()\n\t\t}\n\t}\n}
\n

pub fn account_exists(who: &<T as Config>::AccountId) -> bool

Returns true if the given account exists.

\n

pub fn update_code_in_storage(code: &[u8])

Write code to the storage and emit related events and digest items.

\n

Note this function almost never should be used directly. It is exposed\nfor OnSetCode implementations that defer actual code being written to\nthe storage (for instance in case of parachains).

\n

pub fn inc_ref(who: &<T as Config>::AccountId)

👎Deprecated: Use inc_consumers instead

Increment the reference counter on an account.

\n

pub fn dec_ref(who: &<T as Config>::AccountId)

👎Deprecated: Use dec_consumers instead

Decrement the reference counter on an account. This MUST only be done once for every time\nyou called inc_consumers on who.

\n

pub fn refs(who: &<T as Config>::AccountId) -> u32

👎Deprecated: Use consumers instead

The number of outstanding references for the account who.

\n

pub fn allow_death(who: &<T as Config>::AccountId) -> bool

👎Deprecated: Use !is_provider_required instead

True if the account has no outstanding references.

\n

pub fn inc_providers(who: &<T as Config>::AccountId) -> IncRefStatus

Increment the provider reference counter on an account.

\n

pub fn dec_providers(\n who: &<T as Config>::AccountId\n) -> Result<DecRefStatus, DispatchError>

Decrement the provider reference counter on an account.

\n

This MUST only be done once for every time you called inc_providers on who.

\n

pub fn inc_sufficients(who: &<T as Config>::AccountId) -> IncRefStatus

Increment the self-sufficient reference counter on an account.

\n

pub fn dec_sufficients(who: &<T as Config>::AccountId) -> DecRefStatus

Decrement the sufficients reference counter on an account.

\n

This MUST only be done once for every time you called inc_sufficients on who.

\n

pub fn providers(who: &<T as Config>::AccountId) -> u32

The number of outstanding provider references for the account who.

\n

pub fn sufficients(who: &<T as Config>::AccountId) -> u32

The number of outstanding sufficient references for the account who.

\n

pub fn reference_count(who: &<T as Config>::AccountId) -> u32

The number of outstanding provider and sufficient references for the account who.

\n

pub fn inc_consumers(\n who: &<T as Config>::AccountId\n) -> Result<(), DispatchError>

Increment the reference counter on an account.

\n

The account who’s providers must be non-zero and the current number of consumers must\nbe less than MaxConsumers::max_consumers() or this will return an error.

\n

pub fn inc_consumers_without_limit(\n who: &<T as Config>::AccountId\n) -> Result<(), DispatchError>

Increment the reference counter on an account, ignoring the MaxConsumers limits.

\n

The account who’s providers must be non-zero or this will return an error.

\n

pub fn dec_consumers(who: &<T as Config>::AccountId)

Decrement the reference counter on an account. This MUST only be done once for every time\nyou called inc_consumers on who.

\n

pub fn consumers(who: &<T as Config>::AccountId) -> u32

The number of outstanding references for the account who.

\n

pub fn is_provider_required(who: &<T as Config>::AccountId) -> bool

True if the account has some outstanding consumer references.

\n

pub fn can_dec_provider(who: &<T as Config>::AccountId) -> bool

True if the account has no outstanding consumer references or more than one provider.

\n

pub fn can_accrue_consumers(who: &<T as Config>::AccountId, amount: u32) -> bool

True if the account has at least one provider reference and adding amount consumer\nreferences would not take it above the the maximum.

\n

pub fn can_inc_consumer(who: &<T as Config>::AccountId) -> bool

True if the account has at least one provider reference and fewer consumer references than\nthe maximum.

\n

pub fn deposit_event(event: impl Into<<T as Config>::RuntimeEvent>)

Deposits an event into this block’s event record.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn deposit_event_indexed(\n topics: &[<T as Config>::Hash],\n event: <T as Config>::RuntimeEvent\n)

Deposits an event into this block’s event record adding this event\nto the corresponding topic indexes.

\n

This will update storage entries that correspond to the specified topics.\nIt is expected that light-clients could subscribe to this topics.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn extrinsic_index() -> Option<u32>

Gets the index of extrinsic that is currently executing.

\n

pub fn extrinsic_count() -> u32

Gets extrinsics count.

\n

pub fn all_extrinsics_len() -> u32

pub fn register_extra_weight_unchecked(weight: Weight, class: DispatchClass)

Inform the system pallet of some additional weight that should be accounted for, in the\ncurrent block.

\n

NOTE: use with extra care; this function is made public only be used for certain pallets\nthat need it. A runtime that does not have dynamic calls should never need this and should\nstick to static weights. A typical use case for this is inner calls or smart contract calls.\nFurthermore, it only makes sense to use this when it is presumably cheap to provide the\nargument weight; In other words, if this function is to be used to account for some\nunknown, user provided call’s weight, it would only make sense to use it if you are sure you\ncan rapidly compute the weight of the inner call.

\n

Even more dangerous is to note that this function does NOT take any action, if the new sum\nof block weight is more than the block weight limit. This is what the unchecked.

\n

Another potential use-case could be for the on_initialize and on_finalize hooks.

\n

pub fn initialize(\n number: &<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n parent_hash: &<T as Config>::Hash,\n digest: &Digest\n)

Start the execution of a particular block.

\n

pub fn finalize() -> <<T as Config>::Block as HeaderProvider>::HeaderT

Remove temporary “environment” entries in storage, compute the storage root and return the\nresulting header for this block.

\n

pub fn deposit_log(item: DigestItem)

Deposits a log and ensures it matches the block’s log data.

\n

pub fn externalities() -> TestExternalities<Blake2Hasher>

Get the basic externalities for this pallet, useful for tests.

\n

pub fn events(\n) -> Vec<EventRecord<<T as Config>::RuntimeEvent, <T as Config>::Hash>>

Get the current events deposited by the runtime.

\n

NOTE: This should only be used in tests. Reading events from the runtime can have a large\nimpact on the PoV size of a block. Users should use alternative and well bounded storage\nitems for any behavior like this.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn event_no_consensus(index: usize) -> Option<<T as Config>::RuntimeEvent>

Get a single event at specified index.

\n

Should only be called if you know what you are doing and outside of the runtime block\nexecution else it can have a large impact on the PoV size of a block.

\n

pub fn read_events_no_consensus(\n) -> impl Iterator<Item = Box<EventRecord<<T as Config>::RuntimeEvent, <T as Config>::Hash>>>

Get the current events deposited by the runtime.

\n

Should only be called if you know what you are doing and outside of the runtime block\nexecution else it can have a large impact on the PoV size of a block.

\n

pub fn read_events_for_pallet<E>() -> Vec<E>where\n <T as Config>::RuntimeEvent: TryInto<E>,

Read and return the events of a specific pallet, as denoted by E.

\n

This is useful for a pallet that wishes to read only the events it has deposited into\nframe_system using the standard fn deposit_event.

\n

pub fn set_block_number(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

Set the block number to something in particular. Can be used as an alternative to\ninitialize for tests that don’t need to bother with the other environment entries.

\n

pub fn set_extrinsic_index(extrinsic_index: u32)

Sets the index of extrinsic that is currently executing.

\n

pub fn set_parent_hash(n: <T as Config>::Hash)

Set the parent hash number to something in particular. Can be used as an alternative to\ninitialize for tests that don’t need to bother with the other environment entries.

\n

pub fn set_block_consumed_resources(weight: Weight, len: usize)

Set the current block weight. This should only be used in some integration tests.

\n

pub fn reset_events()

Reset events.

\n

This needs to be used in prior calling initialize for each new block\nto clear events from previous block.

\n

pub fn assert_has_event(event: <T as Config>::RuntimeEvent)

Assert the given event exists.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn assert_last_event(event: <T as Config>::RuntimeEvent)

Assert the last event equal to the given event.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn runtime_version() -> RuntimeVersion

Return the chain’s current runtime version.

\n

pub fn account_nonce(\n who: impl EncodeLike<<T as Config>::AccountId>\n) -> <T as Config>::Nonce

Retrieve the account transaction counter from storage.

\n

pub fn inc_account_nonce(who: impl EncodeLike<<T as Config>::AccountId>)

Increment a particular account’s nonce by 1.

\n

pub fn note_extrinsic(encoded_xt: Vec<u8>)

Note what the extrinsic data of the current extrinsic index is.

\n

This is required to be called before applying an extrinsic. The data will used\nin [Self::finalize] to calculate the correct extrinsics root.

\n

pub fn note_applied_extrinsic(\n r: &Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,\n info: DispatchInfo\n)

To be called immediately after an extrinsic has been applied.

\n

Emits an ExtrinsicSuccess or ExtrinsicFailed event depending on the outcome.\nThe emitted event contains the post-dispatch corrected weight including\nthe base-weight for its dispatch class.

\n

pub fn note_finished_extrinsics()

To be called immediately after note_applied_extrinsic of the last extrinsic of the block\nhas been called.

\n

pub fn note_finished_initialize()

To be called immediately after finishing the initialization of the block\n(e.g., called on_initialize for all pallets).

\n

pub fn on_created_account(\n who: <T as Config>::AccountId,\n _a: &mut AccountInfo<<T as Config>::Nonce, <T as Config>::AccountData>\n)

An account is being created.

\n

pub fn can_set_code(code: &[u8]) -> Result<(), DispatchError>

Determine whether or not it is possible to update the code.

\n

Checks the given code if it is a valid runtime wasm blob by instantianting\nit and extracting the runtime version of it. It checks that the runtime version\nof the old and new runtime has the same spec name and that the spec version is increasing.

\n

pub fn do_authorize_upgrade(code_hash: <T as Config>::Hash, check_version: bool)

To be called after any origin/privilege checks. Put the code upgrade authorization into\nstorage and emit an event. Infallible.

\n

pub fn do_apply_authorize_upgrade(\n code: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchError>

Apply an authorized upgrade, performing any validation checks, and remove the authorization.\nWhether or not the code is set directly depends on the OnSetCode configuration of the\nruntime.

\n

pub fn validate_authorized_upgrade(\n code: &[u8]\n) -> Result<<T as Config>::Hash, DispatchError>

Check that provided code can be upgraded to. Namely, check that its hash matches an\nexisting authorization and that it meets the specification requirements of can_set_code.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Callable<T> for Pallet<T>where\n T: Config,

§

type RuntimeCall = Call<T>

","Callable","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Clone for Pallet<T>

§

fn clone(&self) -> Pallet<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> IntegrityTest for Pallet<T>where\n T: Config,

§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,

§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,

§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> StoredMap<<T as Config>::AccountId, <T as Config>::AccountData> for Pallet<T>where\n T: Config,

Implement StoredMap for a simple single-item, provide-when-not-default system. This works fine\nfor storing a single item which allows the account to continue existing as long as it’s not\nempty/default.

\n

Anything more complex will need more sophisticated logic.

\n
§

fn get(k: &<T as Config>::AccountId) -> <T as Config>::AccountData

Get the item, or its default if it doesn’t yet exist; we make no distinction between the\ntwo.
§

fn try_mutate_exists<R, E>(\n k: &<T as Config>::AccountId,\n f: impl FnOnce(&mut Option<<T as Config>::AccountData>) -> Result<R, E>\n) -> Result<R, E>where\n E: From<DispatchError>,

Maybe mutate the item only if an Ok value is returned from f. Do nothing if an Err is\nreturned. It is removed or reset to default value if it has been mutated to None.\nf will always be called with an option representing if the storage item exists (Some<V>)\nor if the storage item does not exist (None), independent of the QueryType.
§

fn mutate<R>(k: &K, f: impl FnOnce(&mut T) -> R) -> Result<R, DispatchError>

Mutate the item.
§

fn mutate_exists<R>(\n k: &K,\n f: impl FnOnce(&mut Option<T>) -> R\n) -> Result<R, DispatchError>

Mutate the item, removing or resetting to default value if it has been mutated to None. Read more
§

fn insert(k: &K, t: T) -> Result<(), DispatchError>

Set the item to something new.
§

fn remove(k: &K) -> Result<(), DispatchError>

Remove the item or otherwise replace it with its default value; we don’t care which.
","StoredMap<::AccountId, ::AccountData>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> BlockNumberProvider for Pallet<T>where\n T: Config,

§

type BlockNumber = <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

Type of BlockNumber to provide.
§

fn current_block_number() -> <Pallet<T> as BlockNumberProvider>::BlockNumber

Returns the current block number. Read more
","BlockNumberProvider","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> PartialEq for Pallet<T>

§

fn eq(&self, other: &Pallet<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,

§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Debug for Pallet<T>

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,

§

fn index() -> usize

Index of the pallet as configured in the runtime.
§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
§

fn name_hash() -> [u8; 16]

Two128 hash of name.
§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> PalletsInfoAccess for Pallet<T>where\n T: Config,

§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Eq for Pallet<T>

","Eq","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnGenesis for Pallet<T>where\n T: Config,

§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> ValidateUnsigned for Pallet<T>where\n T: Config,

§

type Call = Call<T>

The call to validate
§

fn validate_unsigned(\n _source: TransactionSource,\n call: &<Pallet<T> as ValidateUnsigned>::Call\n) -> Result<ValidTransaction, TransactionValidityError>

Return the validity of the call Read more
§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
","ValidateUnsigned","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
§

fn on_initialize(_n: BlockNumber) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
§

fn on_finalize(_n: BlockNumber)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,

§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> GetStorageVersion for Pallet<T>where\n T: Config,

§

type CurrentStorageVersion = NoStorageVersionSet

This will be filled out by the pallet macro. Read more
§

fn current_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","ink_sandbox::macros::construct_runtime::System"]] +"ink_sandbox":[["
§

impl<T> Pallet<T>where\n T: Config,

pub fn remark(\n _origin: <T as Config>::RuntimeOrigin,\n remark: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Make some on-chain remark.

\n

Can be executed by every origin.

\n

pub fn set_heap_pages(\n origin: <T as Config>::RuntimeOrigin,\n pages: u64\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Set the number of pages in the WebAssembly environment’s heap.

\n

pub fn set_code(\n origin: <T as Config>::RuntimeOrigin,\n code: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Set the new runtime code.

\n

pub fn set_code_without_checks(\n origin: <T as Config>::RuntimeOrigin,\n code: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Set the new runtime code without doing any checks of the given code.

\n

Note that runtime upgrades will not run if this is called with a not-increasing spec\nversion!

\n

pub fn set_storage(\n origin: <T as Config>::RuntimeOrigin,\n items: Vec<(Vec<u8>, Vec<u8>)>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Set some items of storage.

\n

pub fn kill_storage(\n origin: <T as Config>::RuntimeOrigin,\n keys: Vec<Vec<u8>>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Kill some items from storage.

\n

pub fn kill_prefix(\n origin: <T as Config>::RuntimeOrigin,\n prefix: Vec<u8>,\n subkeys: u32\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Kill all storage items with a key that starts with the given prefix.

\n

NOTE: We rely on the Root origin to provide us the number of subkeys under\nthe prefix we are removing to accurately calculate the weight of this function.

\n

pub fn remark_with_event(\n origin: <T as Config>::RuntimeOrigin,\n remark: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Make some on-chain remark and emit event.

\n

pub fn authorize_upgrade(\n origin: <T as Config>::RuntimeOrigin,\n code_hash: <T as Config>::Hash\n) -> Result<(), DispatchError>

Authorize an upgrade to a given code_hash for the runtime. The runtime can be supplied\nlater.

\n

This call requires Root origin.

\n

pub fn authorize_upgrade_without_checks(\n origin: <T as Config>::RuntimeOrigin,\n code_hash: <T as Config>::Hash\n) -> Result<(), DispatchError>

Authorize an upgrade to a given code_hash for the runtime. The runtime can be supplied\nlater.

\n

WARNING: This authorizes an upgrade that will take place without any safety checks, for\nexample that the spec name remains the same and that the version number increases. Not\nrecommended for normal use. Use authorize_upgrade instead.

\n

This call requires Root origin.

\n

pub fn apply_authorized_upgrade(\n _: <T as Config>::RuntimeOrigin,\n code: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Provide the preimage (runtime binary) code for an upgrade that has been authorized.

\n

If the authorization required a version check, this call will ensure the spec name\nremains unchanged and that the spec version has increased.

\n

Depending on the runtime’s OnSetCode configuration, this function may directly apply\nthe new code in the same block or attempt to schedule the upgrade.

\n

All origins are allowed.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn account<KArg>(\n k: KArg\n) -> AccountInfo<<T as Config>::Nonce, <T as Config>::AccountData>where\n KArg: EncodeLike<<T as Config>::AccountId>,

An auto-generated getter for [Account].

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn block_weight() -> PerDispatchClass<Weight>

An auto-generated getter for [BlockWeight].

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn block_hash<KArg>(k: KArg) -> <T as Config>::Hashwhere\n KArg: EncodeLike<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number>,

An auto-generated getter for [BlockHash].

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn extrinsic_data<KArg>(k: KArg) -> Vec<u8> where\n KArg: EncodeLike<u32>,

An auto-generated getter for ExtrinsicData.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn block_number(\n) -> <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

An auto-generated getter for Number.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn parent_hash() -> <T as Config>::Hash

An auto-generated getter for ParentHash.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn digest() -> Digest

An auto-generated getter for Digest.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn event_count() -> u32

An auto-generated getter for EventCount.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn event_topics<KArg>(\n k: KArg\n) -> Vec<(<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number, u32)>where\n KArg: EncodeLike<<T as Config>::Hash>,

An auto-generated getter for EventTopics.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn authorized_upgrade() -> Option<CodeUpgradeAuthorization<T>>

An auto-generated getter for AuthorizedUpgrade.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn last_runtime_upgrade_spec_version() -> u32

Returns the spec_version of the last runtime upgrade.

\n

This function is useful for writing guarded runtime migrations in the runtime. A runtime\nmigration can use the spec_version to ensure that it isn’t applied twice. This works\nsimilar as the storage version for pallets.

\n

This functions returns the spec_version of the last runtime upgrade while executing the\nruntime migrations\non_runtime_upgrade\nfunction. After all migrations are executed, this will return the spec_version of the\ncurrent runtime until there is another runtime upgrade.

\n

Example:

\n\n
#[test]\nfn last_runtime_upgrade_spec_version_usage() {\n\tstruct Migration;\n\n\timpl OnRuntimeUpgrade for Migration {\n\t\tfn on_runtime_upgrade() -> Weight {\n\t\t\t// Ensure to compare the spec version against some static version to prevent applying\n\t\t\t// the same migration multiple times.\n\t\t\t//\n\t\t\t// `1337` here is the spec version of the runtime running on chain. If there is maybe\n\t\t\t// a runtime upgrade in the pipeline of being applied, you should use the spec version\n\t\t\t// of this upgrade.\n\t\t\tif System::last_runtime_upgrade_spec_version() > 1337 {\n\t\t\t\treturn Weight::zero()\n\t\t\t}\n\n\t\t\t// Do the migration.\n\t\t\tWeight::zero()\n\t\t}\n\t}\n}
\n

pub fn account_exists(who: &<T as Config>::AccountId) -> bool

Returns true if the given account exists.

\n

pub fn update_code_in_storage(code: &[u8])

Write code to the storage and emit related events and digest items.

\n

Note this function almost never should be used directly. It is exposed\nfor OnSetCode implementations that defer actual code being written to\nthe storage (for instance in case of parachains).

\n

pub fn inherents_applied() -> bool

Whether all inherents have been applied.

\n

pub fn note_inherents_applied()

Note that all inherents have been applied.

\n

Should be called immediately after all inherents have been applied. Must be called at least\nonce per block.

\n

pub fn inc_ref(who: &<T as Config>::AccountId)

👎Deprecated: Use inc_consumers instead

Increment the reference counter on an account.

\n

pub fn dec_ref(who: &<T as Config>::AccountId)

👎Deprecated: Use dec_consumers instead

Decrement the reference counter on an account. This MUST only be done once for every time\nyou called inc_consumers on who.

\n

pub fn refs(who: &<T as Config>::AccountId) -> u32

👎Deprecated: Use consumers instead

The number of outstanding references for the account who.

\n

pub fn allow_death(who: &<T as Config>::AccountId) -> bool

👎Deprecated: Use !is_provider_required instead

True if the account has no outstanding references.

\n

pub fn inc_providers(who: &<T as Config>::AccountId) -> IncRefStatus

Increment the provider reference counter on an account.

\n

pub fn dec_providers(\n who: &<T as Config>::AccountId\n) -> Result<DecRefStatus, DispatchError>

Decrement the provider reference counter on an account.

\n

This MUST only be done once for every time you called inc_providers on who.

\n

pub fn inc_sufficients(who: &<T as Config>::AccountId) -> IncRefStatus

Increment the self-sufficient reference counter on an account.

\n

pub fn dec_sufficients(who: &<T as Config>::AccountId) -> DecRefStatus

Decrement the sufficients reference counter on an account.

\n

This MUST only be done once for every time you called inc_sufficients on who.

\n

pub fn providers(who: &<T as Config>::AccountId) -> u32

The number of outstanding provider references for the account who.

\n

pub fn sufficients(who: &<T as Config>::AccountId) -> u32

The number of outstanding sufficient references for the account who.

\n

pub fn reference_count(who: &<T as Config>::AccountId) -> u32

The number of outstanding provider and sufficient references for the account who.

\n

pub fn inc_consumers(\n who: &<T as Config>::AccountId\n) -> Result<(), DispatchError>

Increment the reference counter on an account.

\n

The account who’s providers must be non-zero and the current number of consumers must\nbe less than MaxConsumers::max_consumers() or this will return an error.

\n

pub fn inc_consumers_without_limit(\n who: &<T as Config>::AccountId\n) -> Result<(), DispatchError>

Increment the reference counter on an account, ignoring the MaxConsumers limits.

\n

The account who’s providers must be non-zero or this will return an error.

\n

pub fn dec_consumers(who: &<T as Config>::AccountId)

Decrement the reference counter on an account. This MUST only be done once for every time\nyou called inc_consumers on who.

\n

pub fn consumers(who: &<T as Config>::AccountId) -> u32

The number of outstanding references for the account who.

\n

pub fn is_provider_required(who: &<T as Config>::AccountId) -> bool

True if the account has some outstanding consumer references.

\n

pub fn can_dec_provider(who: &<T as Config>::AccountId) -> bool

True if the account has no outstanding consumer references or more than one provider.

\n

pub fn can_accrue_consumers(who: &<T as Config>::AccountId, amount: u32) -> bool

True if the account has at least one provider reference and adding amount consumer\nreferences would not take it above the the maximum.

\n

pub fn can_inc_consumer(who: &<T as Config>::AccountId) -> bool

True if the account has at least one provider reference and fewer consumer references than\nthe maximum.

\n

pub fn deposit_event(event: impl Into<<T as Config>::RuntimeEvent>)

Deposits an event into this block’s event record.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn deposit_event_indexed(\n topics: &[<T as Config>::Hash],\n event: <T as Config>::RuntimeEvent\n)

Deposits an event into this block’s event record adding this event\nto the corresponding topic indexes.

\n

This will update storage entries that correspond to the specified topics.\nIt is expected that light-clients could subscribe to this topics.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn extrinsic_index() -> Option<u32>

Gets the index of extrinsic that is currently executing.

\n

pub fn extrinsic_count() -> u32

Gets extrinsics count.

\n

pub fn all_extrinsics_len() -> u32

pub fn register_extra_weight_unchecked(weight: Weight, class: DispatchClass)

Inform the system pallet of some additional weight that should be accounted for, in the\ncurrent block.

\n

NOTE: use with extra care; this function is made public only be used for certain pallets\nthat need it. A runtime that does not have dynamic calls should never need this and should\nstick to static weights. A typical use case for this is inner calls or smart contract calls.\nFurthermore, it only makes sense to use this when it is presumably cheap to provide the\nargument weight; In other words, if this function is to be used to account for some\nunknown, user provided call’s weight, it would only make sense to use it if you are sure you\ncan rapidly compute the weight of the inner call.

\n

Even more dangerous is to note that this function does NOT take any action, if the new sum\nof block weight is more than the block weight limit. This is what the unchecked.

\n

Another potential use-case could be for the on_initialize and on_finalize hooks.

\n

pub fn initialize(\n number: &<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n parent_hash: &<T as Config>::Hash,\n digest: &Digest\n)

Start the execution of a particular block.

\n

pub fn finalize() -> <<T as Config>::Block as HeaderProvider>::HeaderT

Remove temporary “environment” entries in storage, compute the storage root and return the\nresulting header for this block.

\n

pub fn deposit_log(item: DigestItem)

Deposits a log and ensures it matches the block’s log data.

\n

pub fn externalities() -> TestExternalities<Blake2Hasher>

Get the basic externalities for this pallet, useful for tests.

\n

pub fn events(\n) -> Vec<EventRecord<<T as Config>::RuntimeEvent, <T as Config>::Hash>>

Get the current events deposited by the runtime.

\n

NOTE: This should only be used in tests. Reading events from the runtime can have a large\nimpact on the PoV size of a block. Users should use alternative and well bounded storage\nitems for any behavior like this.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn event_no_consensus(index: usize) -> Option<<T as Config>::RuntimeEvent>

Get a single event at specified index.

\n

Should only be called if you know what you are doing and outside of the runtime block\nexecution else it can have a large impact on the PoV size of a block.

\n

pub fn read_events_no_consensus(\n) -> impl Iterator<Item = Box<EventRecord<<T as Config>::RuntimeEvent, <T as Config>::Hash>>>

Get the current events deposited by the runtime.

\n

Should only be called if you know what you are doing and outside of the runtime block\nexecution else it can have a large impact on the PoV size of a block.

\n

pub fn read_events_for_pallet<E>() -> Vec<E>where\n <T as Config>::RuntimeEvent: TryInto<E>,

Read and return the events of a specific pallet, as denoted by E.

\n

This is useful for a pallet that wishes to read only the events it has deposited into\nframe_system using the standard fn deposit_event.

\n

pub fn set_block_number(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

Set the block number to something in particular. Can be used as an alternative to\ninitialize for tests that don’t need to bother with the other environment entries.

\n

pub fn set_extrinsic_index(extrinsic_index: u32)

Sets the index of extrinsic that is currently executing.

\n

pub fn set_parent_hash(n: <T as Config>::Hash)

Set the parent hash number to something in particular. Can be used as an alternative to\ninitialize for tests that don’t need to bother with the other environment entries.

\n

pub fn set_block_consumed_resources(weight: Weight, len: usize)

Set the current block weight. This should only be used in some integration tests.

\n

pub fn reset_events()

Reset events.

\n

This needs to be used in prior calling initialize for each new block\nto clear events from previous block.

\n

pub fn assert_has_event(event: <T as Config>::RuntimeEvent)

Assert the given event exists.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn assert_last_event(event: <T as Config>::RuntimeEvent)

Assert the last event equal to the given event.

\n

NOTE: Events not registered at the genesis block and quietly omitted.

\n

pub fn runtime_version() -> RuntimeVersion

Return the chain’s current runtime version.

\n

pub fn account_nonce(\n who: impl EncodeLike<<T as Config>::AccountId>\n) -> <T as Config>::Nonce

Retrieve the account transaction counter from storage.

\n

pub fn inc_account_nonce(who: impl EncodeLike<<T as Config>::AccountId>)

Increment a particular account’s nonce by 1.

\n

pub fn note_extrinsic(encoded_xt: Vec<u8>)

Note what the extrinsic data of the current extrinsic index is.

\n

This is required to be called before applying an extrinsic. The data will used\nin [Self::finalize] to calculate the correct extrinsics root.

\n

pub fn note_applied_extrinsic(\n r: &Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,\n info: DispatchInfo\n)

To be called immediately after an extrinsic has been applied.

\n

Emits an ExtrinsicSuccess or ExtrinsicFailed event depending on the outcome.\nThe emitted event contains the post-dispatch corrected weight including\nthe base-weight for its dispatch class.

\n

pub fn note_finished_extrinsics()

To be called immediately after note_applied_extrinsic of the last extrinsic of the block\nhas been called.

\n

pub fn note_finished_initialize()

To be called immediately after finishing the initialization of the block\n(e.g., called on_initialize for all pallets).

\n

pub fn on_created_account(\n who: <T as Config>::AccountId,\n _a: &mut AccountInfo<<T as Config>::Nonce, <T as Config>::AccountData>\n)

An account is being created.

\n

pub fn can_set_code(code: &[u8]) -> Result<(), DispatchError>

Determine whether or not it is possible to update the code.

\n

Checks the given code if it is a valid runtime wasm blob by instantiating\nit and extracting the runtime version of it. It checks that the runtime version\nof the old and new runtime has the same spec name and that the spec version is increasing.

\n

pub fn do_authorize_upgrade(code_hash: <T as Config>::Hash, check_version: bool)

To be called after any origin/privilege checks. Put the code upgrade authorization into\nstorage and emit an event. Infallible.

\n

pub fn do_apply_authorize_upgrade(\n code: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchError>

Apply an authorized upgrade, performing any validation checks, and remove the authorization.\nWhether or not the code is set directly depends on the OnSetCode configuration of the\nruntime.

\n

pub fn validate_authorized_upgrade(\n code: &[u8]\n) -> Result<<T as Config>::Hash, DispatchError>

Check that provided code can be upgraded to. Namely, check that its hash matches an\nexisting authorization and that it meets the specification requirements of can_set_code.

\n
",0,"ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Clone for Pallet<T>

§

fn clone(&self) -> Pallet<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> PalletsInfoAccess for Pallet<T>where\n T: Config,

§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnGenesis for Pallet<T>where\n T: Config,

§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> GetStorageVersion for Pallet<T>where\n T: Config,

§

type InCodeStorageVersion = NoStorageVersionSet

This type is generated by the pallet macro. Read more
§

fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion

Returns the in-code storage version as specified in the\nstorage_version attribute, or\n[NoStorageVersionSet] if the attribute is missing.
§

fn on_chain_storage_version() -> StorageVersion

Returns the storage version of the pallet as last set in the actual on-chain storage.
§

fn current_storage_version() -> Self::InCodeStorageVersion

👎Deprecated: This method has been renamed to in_code_storage_version and will be removed after March 2024.
DEPRECATED: Use [Self::current_storage_version] instead. Read more
","GetStorageVersion","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,

§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> IntegrityTest for Pallet<T>where\n T: Config,

§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> BlockNumberProvider for Pallet<T>where\n T: Config,

§

type BlockNumber = <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

Type of BlockNumber to provide.
§

fn current_block_number() -> <Pallet<T> as BlockNumberProvider>::BlockNumber

Returns the current block number. Read more
","BlockNumberProvider","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> PartialEq for Pallet<T>

§

fn eq(&self, other: &Pallet<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,

§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Callable<T> for Pallet<T>where\n T: Config,

§

type RuntimeCall = Call<T>

","Callable","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Debug for Pallet<T>

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_poll(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n weight: &mut WeightMeter\n)

Code to execute every now and then at the beginning of the block after inherent application. Read more
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Eq for Pallet<T>

","Eq","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
§

fn on_initialize(_n: BlockNumber) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
§

fn on_finalize(_n: BlockNumber)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)

A hook to run logic after inherent application. Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive pallet. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,

§

fn index() -> usize

Index of the pallet as configured in the runtime.
§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
§

fn name_hash() -> [u8; 16]

Two128 hash of name.
§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> ValidateUnsigned for Pallet<T>where\n T: Config,

§

type Call = Call<T>

The call to validate
§

fn validate_unsigned(\n _source: TransactionSource,\n call: &<Pallet<T> as ValidateUnsigned>::Call\n) -> Result<ValidTransaction, TransactionValidityError>

Return the validity of the call Read more
§

fn pre_dispatch(call: &Self::Call) -> Result<(), TransactionValidityError>

Validate the call right before dispatch. Read more
","ValidateUnsigned","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> StoredMap<<T as Config>::AccountId, <T as Config>::AccountData> for Pallet<T>where\n T: Config,

Implement StoredMap for a simple single-item, provide-when-not-default system. This works fine\nfor storing a single item which allows the account to continue existing as long as it’s not\nempty/default.

\n

Anything more complex will need more sophisticated logic.

\n
§

fn get(k: &<T as Config>::AccountId) -> <T as Config>::AccountData

Get the item, or its default if it doesn’t yet exist; we make no distinction between the\ntwo.
§

fn try_mutate_exists<R, E>(\n k: &<T as Config>::AccountId,\n f: impl FnOnce(&mut Option<<T as Config>::AccountData>) -> Result<R, E>\n) -> Result<R, E>where\n E: From<DispatchError>,

Maybe mutate the item only if an Ok value is returned from f. Do nothing if an Err is\nreturned. It is removed or reset to default value if it has been mutated to None.\nf will always be called with an option representing if the storage item exists (Some<V>)\nor if the storage item does not exist (None), independent of the QueryType.
§

fn mutate<R>(k: &K, f: impl FnOnce(&mut T) -> R) -> Result<R, DispatchError>

Mutate the item.
§

fn mutate_exists<R>(\n k: &K,\n f: impl FnOnce(&mut Option<T>) -> R\n) -> Result<R, DispatchError>

Mutate the item, removing or resetting to default value if it has been mutated to None. Read more
§

fn insert(k: &K, t: T) -> Result<(), DispatchError>

Set the item to something new.
§

fn remove(k: &K) -> Result<(), DispatchError>

Remove the item or otherwise replace it with its default value; we don’t care which.
","StoredMap<::AccountId, ::AccountData>","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,

§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","ink_sandbox::macros::construct_runtime::System"],["
§

impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,

§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","ink_sandbox::macros::construct_runtime::System"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/frame_system/struct.EventRecord.js b/type.impl/frame_system/struct.EventRecord.js index 7455242a32..2ccc2013be 100644 --- a/type.impl/frame_system/struct.EventRecord.js +++ b/type.impl/frame_system/struct.EventRecord.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"ink_sandbox":[["
§

impl<E, T> StructuralEq for EventRecord<E, T>where\n E: Parameter + Member,

","StructuralEq","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Clone for EventRecord<E, T>where\n E: Clone + Parameter + Member,\n T: Clone,

§

fn clone(&self) -> EventRecord<E, T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Serialize for EventRecord<E, T>where\n E: Parameter + Member + Serialize,\n T: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink_sandbox::EventRecordOf"],["
§

impl<E, T> PartialEq for EventRecord<E, T>where\n E: PartialEq + Parameter + Member,\n T: PartialEq,

§

fn eq(&self, other: &EventRecord<E, T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Encode for EventRecord<E, T>where\n E: Parameter + Member + Encode,\n Vec<T>: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<__CodecOutputEdqy>(\n &self,\n __codec_dest_edqy: &mut __CodecOutputEdqy\n)where\n __CodecOutputEdqy: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Debug for EventRecord<E, T>where\n E: Parameter + Member + Debug,\n T: Debug,

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Eq for EventRecord<E, T>where\n E: Eq + Parameter + Member,\n T: Eq,

","Eq","ink_sandbox::EventRecordOf"],["
§

impl<E, T> EncodeLike for EventRecord<E, T>where\n E: Parameter + Member + Encode,\n Vec<T>: Encode,

","EncodeLike","ink_sandbox::EventRecordOf"],["
§

impl<E, T> StructuralPartialEq for EventRecord<E, T>where\n E: Parameter + Member,

","StructuralPartialEq","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Decode for EventRecord<E, T>where\n E: Parameter + Member + Decode,\n Vec<T>: Decode,

§

fn decode<__CodecInputEdqy>(\n __codec_input_edqy: &mut __CodecInputEdqy\n) -> Result<EventRecord<E, T>, Error>where\n __CodecInputEdqy: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink_sandbox::EventRecordOf"],["
§

impl<E, T> TypeInfo for EventRecord<E, T>where\n E: Parameter + Member + TypeInfo + 'static,\n Vec<T>: TypeInfo + 'static,\n T: TypeInfo + 'static,

§

type Identity = EventRecord<E, T>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
","TypeInfo","ink_sandbox::EventRecordOf"]] +"ink_sandbox":[["
§

impl<E, T> StructuralEq for EventRecord<E, T>where\n E: Parameter + Member,

","StructuralEq","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Clone for EventRecord<E, T>where\n E: Clone + Parameter + Member,\n T: Clone,

§

fn clone(&self) -> EventRecord<E, T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Serialize for EventRecord<E, T>where\n E: Parameter + Member + Serialize,\n T: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink_sandbox::EventRecordOf"],["
§

impl<E, T> PartialEq for EventRecord<E, T>where\n E: PartialEq + Parameter + Member,\n T: PartialEq,

§

fn eq(&self, other: &EventRecord<E, T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Debug for EventRecord<E, T>where\n E: Parameter + Member + Debug,\n T: Debug,

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Eq for EventRecord<E, T>where\n E: Eq + Parameter + Member,\n T: Eq,

","Eq","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Encode for EventRecord<E, T>where\n E: Parameter + Member + Encode,\n Vec<T>: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<__CodecOutputEdqy>(\n &self,\n __codec_dest_edqy: &mut __CodecOutputEdqy\n)where\n __CodecOutputEdqy: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_sandbox::EventRecordOf"],["
§

impl<E, T> EncodeLike for EventRecord<E, T>where\n E: Parameter + Member + Encode,\n Vec<T>: Encode,

","EncodeLike","ink_sandbox::EventRecordOf"],["
§

impl<E, T> StructuralPartialEq for EventRecord<E, T>where\n E: Parameter + Member,

","StructuralPartialEq","ink_sandbox::EventRecordOf"],["
§

impl<E, T> Decode for EventRecord<E, T>where\n E: Parameter + Member + Decode,\n Vec<T>: Decode,

§

fn decode<__CodecInputEdqy>(\n __codec_input_edqy: &mut __CodecInputEdqy\n) -> Result<EventRecord<E, T>, Error>where\n __CodecInputEdqy: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink_sandbox::EventRecordOf"],["
§

impl<E, T> TypeInfo for EventRecord<E, T>where\n E: Parameter + Member + TypeInfo + 'static,\n Vec<T>: TypeInfo + 'static,\n T: TypeInfo + 'static,

§

type Identity = EventRecord<E, T>

The type identifying for which type info is provided. Read more
§

fn type_info() -> Type

Returns the static type identifier for Self.
","TypeInfo","ink_sandbox::EventRecordOf"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/ink_env/call/utils/struct.ArgumentList.js b/type.impl/ink_env/call/utils/struct.ArgumentList.js index f7e99126c5..ca357bf38e 100644 --- a/type.impl/ink_env/call/utils/struct.ArgumentList.js +++ b/type.impl/ink_env/call/utils/struct.ArgumentList.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"ink_env":[["
source§

impl<Head, Rest> ArgumentList<Argument<Head>, Rest>

source

pub fn push_arg<T>(self, arg: T) -> ArgumentList<Argument<T>, Self>where\n T: Encode,

Pushes another argument to the argument list.

\n
",0,"ink_env::call::execution_input::ArgsList"],["
source§

impl<Head, Rest> Encode for ArgumentList<Argument<Head>, Rest>where\n Head: Encode,\n Rest: Encode,

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<O: Output + ?Sized>(&self, output: &mut O)

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_env::call::execution_input::ArgsList"],["
source§

impl<Head: Default, Rest: Default> Default for ArgumentList<Head, Rest>

source§

fn default() -> ArgumentList<Head, Rest>

Returns the “default value” for a type. Read more
","Default","ink_env::call::execution_input::ArgsList","ink_env::call::execution_input::EmptyArgumentList"],["
source§

impl<Head: Clone, Rest: Clone> Clone for ArgumentList<Head, Rest>

source§

fn clone(&self) -> ArgumentList<Head, Rest>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_env::call::execution_input::ArgsList","ink_env::call::execution_input::EmptyArgumentList"],["
source§

impl<Head: Debug, Rest: Debug> Debug for ArgumentList<Head, Rest>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","ink_env::call::execution_input::ArgsList","ink_env::call::execution_input::EmptyArgumentList"]] +"ink_env":[["
source§

impl<Head, Rest> ArgumentList<Argument<Head>, Rest>

source

pub fn push_arg<T>(self, arg: T) -> ArgumentList<Argument<T>, Self>where\n T: Encode,

Pushes another argument to the argument list.

\n
",0,"ink_env::call::execution_input::ArgsList"],["
source§

impl<Head: Default, Rest: Default> Default for ArgumentList<Head, Rest>

source§

fn default() -> ArgumentList<Head, Rest>

Returns the “default value” for a type. Read more
","Default","ink_env::call::execution_input::ArgsList","ink_env::call::execution_input::EmptyArgumentList"],["
source§

impl<Head: Debug, Rest: Debug> Debug for ArgumentList<Head, Rest>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
","Debug","ink_env::call::execution_input::ArgsList","ink_env::call::execution_input::EmptyArgumentList"],["
source§

impl<Head, Rest> Encode for ArgumentList<Argument<Head>, Rest>where\n Head: Encode,\n Rest: Encode,

source§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
source§

fn encode_to<O: Output + ?Sized>(&self, output: &mut O)

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere\n F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_env::call::execution_input::ArgsList"],["
source§

impl<Head: Clone, Rest: Clone> Clone for ArgumentList<Head, Rest>

source§

fn clone(&self) -> ArgumentList<Head, Rest>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_env::call::execution_input::ArgsList","ink_env::call::execution_input::EmptyArgumentList"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/pallet_balances/pallet/struct.Pallet.js b/type.impl/pallet_balances/pallet/struct.Pallet.js index 3a9f3ecbf6..0e5facaea2 100644 --- a/type.impl/pallet_balances/pallet/struct.Pallet.js +++ b/type.impl/pallet_balances/pallet/struct.Pallet.js @@ -1,4 +1,4 @@ (function() {var type_impls = { "ink_e2e":[], -"ink_sandbox":[["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn transfer_allow_death(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Transfer some liquid free balance to another account.

\n

transfer_allow_death will set the FreeBalance of the sender and receiver.\nIf the sender’s account is below the existential deposit as a result\nof the transfer, the account will be reaped.

\n

The dispatch origin for this call must be Signed by the transactor.

\n

pub fn force_transfer(\n origin: <T as Config>::RuntimeOrigin,\n source: <<T as Config>::Lookup as StaticLookup>::Source,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Exactly as transfer_allow_death, except the origin must be root and the source account\nmay be specified.

\n

pub fn transfer_keep_alive(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Same as the transfer_allow_death call, but with a check that the transfer will not\nkill the origin account.

\n

99% of the time you want transfer_allow_death instead.

\n

pub fn transfer_all(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n keep_alive: bool\n) -> Result<(), DispatchError>

Transfer the entire transferable balance from the caller account.

\n

NOTE: This function only attempts to transfer transferable balances. This means that\nany locked, reserved, or existential deposits (when keep_alive is true), will not be\ntransferred by this function. To ensure that this function results in a killed account,\nyou might need to prepare the account by removing any reference counters, storage\ndeposits, etc…

\n

The dispatch origin of this call must be Signed.

\n
    \n
  • dest: The recipient of the transfer.
  • \n
  • keep_alive: A boolean to determine if the transfer_all operation should send all\nof the funds the account has, causing the sender account to be killed (false), or\ntransfer everything except at least the existential deposit, which will guarantee to\nkeep the sender account alive (true).
  • \n
\n

pub fn force_unreserve(\n origin: <T as Config>::RuntimeOrigin,\n who: <<T as Config>::Lookup as StaticLookup>::Source,\n amount: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Unreserve some balance from a user by force.

\n

Can only be called by ROOT.

\n

pub fn upgrade_accounts(\n origin: <T as Config>::RuntimeOrigin,\n who: Vec<<T as Config>::AccountId>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Upgrade a specified account.

\n
    \n
  • origin: Must be Signed.
  • \n
  • who: The account to be upgraded.
  • \n
\n

This will waive the transaction fee if at least all but 10% of the accounts needed to\nbe upgraded. (We let some not have to be upgraded just in order to allow for the\npossibililty of churn).

\n

pub fn force_set_balance(\n origin: <T as Config>::RuntimeOrigin,\n who: <<T as Config>::Lookup as StaticLookup>::Source,\n new_free: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Set the regular balance of a given account.

\n

The dispatch origin for this call is root.

\n

pub fn force_adjust_total_issuance(\n origin: <T as Config>::RuntimeOrigin,\n direction: AdjustmentDirection,\n delta: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Adjust the total issuance in a saturating way.

\n

Can only be called by root and always needs a positive delta.

\n
Example
\n
#[test]\nfn force_adjust_total_issuance_example() {\n\tExtBuilder::default().build_and_execute_with(|| {\n\t\t// First we set the TotalIssuance to 64 by giving Alice a balance of 64.\n\t\tassert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), ALICE, 64));\n\t\tlet old_ti = Balances::total_issuance();\n\t\tassert_eq!(old_ti, 64, "TI should be 64");\n\n\t\t// Now test the increase:\n\t\tassert_ok!(Balances::force_adjust_total_issuance(RawOrigin::Root.into(), Inc, 32));\n\t\tlet new_ti = Balances::total_issuance();\n\t\tassert_eq!(old_ti + 32, new_ti, "Should increase by 32");\n\n\t\t// If Alice tries to call it, it errors:\n\t\tassert_noop!(\n\t\t\tBalances::force_adjust_total_issuance(RawOrigin::Signed(ALICE).into(), Inc, 32),\n\t\t\tBadOrigin,\n\t\t);\n\t});\n}
\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn ensure_upgraded(who: &<T as Config>::AccountId) -> bool

Ensure the account who is using the new logic.

\n

Returns true if the account did get upgraded, false if it didn’t need upgrading.

\n

pub fn free_balance(\n who: impl Borrow<<T as Config>::AccountId>\n) -> <T as Config<I>>::Balance

Get the free balance of an account.

\n

pub fn usable_balance(\n who: impl Borrow<<T as Config>::AccountId>\n) -> <T as Config<I>>::Balance

Get the balance of an account that can be used for transfers, reservations, or any other\nnon-locking, non-transaction-fee activity. Will be at most free_balance.

\n

pub fn usable_balance_for_fees(\n who: impl Borrow<<T as Config>::AccountId>\n) -> <T as Config<I>>::Balance

Get the balance of an account that can be used for paying transaction fees (not tipping,\nor any other kind of fees, though). Will be at most free_balance.

\n

This requires that the account stays alive.

\n

pub fn reserved_balance(\n who: impl Borrow<<T as Config>::AccountId>\n) -> <T as Config<I>>::Balance

Get the reserved balance of an account.

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn total_issuance() -> <T as Config<I>>::Balance

An auto-generated getter for [TotalIssuance].

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn inactive_issuance() -> <T as Config<I>>::Balance

An auto-generated getter for [InactiveIssuance].

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn locks<KArg>(\n k: KArg\n) -> WeakBoundedVec<BalanceLock<<T as Config<I>>::Balance>, <T as Config<I>>::MaxLocks>where\n KArg: EncodeLike<<T as Config>::AccountId>,

An auto-generated getter for [Locks].

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn reserves<KArg>(\n k: KArg\n) -> BoundedVec<ReserveData<<T as Config<I>>::ReserveIdentifier, <T as Config<I>>::Balance>, <T as Config<I>>::MaxReserves>where\n KArg: EncodeLike<<T as Config>::AccountId>,

An auto-generated getter for [Reserves].

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> NamedReservableCurrency<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,\n <T as Config<I>>::Balance: MaybeSerializeDeserialize + Debug,

§

fn reserve_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Move value from the free balance from who to a named reserve balance.

\n

Is a no-op if value to be reserved is zero.

\n
§

fn unreserve_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

Unreserve some funds, returning any amount that was unable to be unreserved.

\n

Is a no-op if the value to be unreserved is zero.

\n
§

fn slash_reserved_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> (<Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance, <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance)

Slash from reserved balance, returning the negative imbalance created,\nand any amount that was unable to be slashed.

\n

Is a no-op if the value to be slashed is zero.

\n
§

fn repatriate_reserved_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n slashed: &<T as Config>::AccountId,\n beneficiary: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance,\n status: BalanceStatus\n) -> Result<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance, DispatchError>

Move the reserved balance of one account into the balance of another, according to status.\nIf status is Reserved, the balance will be reserved with given id.

\n

Is a no-op if:

\n
    \n
  • the value to be moved is zero; or
  • \n
  • the slashed id equal to beneficiary and the status is Reserved.
  • \n
\n
§

type ReserveIdentifier = <T as Config<I>>::ReserveIdentifier

An identifier for a reserve. Used for disambiguating different reserves so that\nthey can be individually replaced or removed.
§

fn reserved_balance_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The amount of the balance of a given account that is externally reserved; this can still get\nslashed, but gets slashed last of all. Read more
§

fn ensure_reserved_named(\n id: &Self::ReserveIdentifier,\n who: &AccountId,\n value: Self::Balance\n) -> Result<(), DispatchError>

Ensure the reserved balance is equal to value. Read more
§

fn unreserve_all_named(\n id: &Self::ReserveIdentifier,\n who: &AccountId\n) -> Self::Balance

Unreserve all the named reserved balances, returning unreserved amount. Read more
§

fn slash_all_reserved_named(\n id: &Self::ReserveIdentifier,\n who: &AccountId\n) -> Self::NegativeImbalance

Slash all the reserved balance, returning the negative imbalance created. Read more
§

fn repatriate_all_reserved_named(\n id: &Self::ReserveIdentifier,\n slashed: &AccountId,\n beneficiary: &AccountId,\n status: BalanceStatus\n) -> Result<(), DispatchError>

Move all the named reserved balance of one account into the balance of another, according to\nstatus. If status is Reserved, the balance will be reserved with given id. Read more
","NamedReservableCurrency<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Clone for Pallet<T, I>

§

fn clone(&self) -> Pallet<T, I>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnGenesis for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Unbalanced<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn set_balance_on_hold(\n reason: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Reason,\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Forcefully set the balance on hold of who to amount. This is independent of any other\nbalances on hold or the main (“free”) balance. Read more
§

fn decrease_balance_on_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Reduce the balance on hold of who by amount. Read more
§

fn increase_balance_on_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Increase the balance on hold of who by amount. Read more
","Unbalanced<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> PalletsInfoAccess for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> LockableCurrency<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,\n <T as Config<I>>::Balance: MaybeSerializeDeserialize + Debug,

§

type Moment = <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

The quantity used to denote time; usually just a BlockNumber.
§

type MaxLocks = <T as Config<I>>::MaxLocks

The maximum number of locks a user should have on their account.
§

fn set_lock(\n id: [u8; 8],\n who: &<T as Config>::AccountId,\n amount: <T as Config<I>>::Balance,\n reasons: WithdrawReasons\n)

Create a new balance lock on account who. Read more
§

fn extend_lock(\n id: [u8; 8],\n who: &<T as Config>::AccountId,\n amount: <T as Config<I>>::Balance,\n reasons: WithdrawReasons\n)

Changes a balance lock (selected by id) so that it becomes less liquid in all\nparameters or creates a new one if it does not exist. Read more
§

fn remove_lock(id: [u8; 8], who: &<T as Config>::AccountId)

Remove an existing lock.
","LockableCurrency<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Unbalanced<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn handle_dust(dust: Dust<<T as Config>::AccountId, Pallet<T, I>>)

Do something with the dust which has been destroyed from the system. [Dust] can be\nconverted into a [Credit] with the [Balanced] trait impl.
§

fn write_balance(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> Result<Option<<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance>, DispatchError>

Forcefully set the balance of who to amount. Read more
§

fn set_total_issuance(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

Set the total issuance to amount.
§

fn deactivate(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

Reduce the active issuance by some amount.
§

fn reactivate(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

Increase the active issuance by some amount, up to the outstanding amount reduced.
§

fn handle_raw_dust(amount: Self::Balance)

Create some dust and handle it with [Unbalanced::handle_dust]. This is an unbalanced\noperation and it must only be used when an account is modified in a raw fashion, outside of\nthe entire fungibles API. The amount is capped at [Inspect::minimum_balance()] - 1`. Read more
§

fn decrease_balance(\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n preservation: Preservation,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Reduce the balance of who by amount. Read more
§

fn increase_balance(\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Increase the balance of who by amount. Read more
","Unbalanced<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Mutate<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Hold some funds in an account. If a hold for reason is already in place, then this\nwill increase it.
§

fn release(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Release up to amount held funds in an account. Read more
§

fn set_on_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Hold or release funds in the account of who to bring the balance on hold for reason to\nexactly amount.
§

fn release_all(\n reason: &Self::Reason,\n who: &AccountId,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Release all funds in the account of who on hold for reason. Read more
§

fn burn_held(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Attempt to decrease the balance of who which is held for the given reason by amount. Read more
§

fn burn_all_held(\n reason: &Self::Reason,\n who: &AccountId,\n precision: Precision,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Attempt to decrease the balance of who which is held for the given reason to zero. Read more
§

fn transfer_on_hold(\n reason: &Self::Reason,\n source: &AccountId,\n dest: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n mode: Restriction,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Transfer held funds into a destination account. Read more
§

fn transfer_and_hold(\n reason: &Self::Reason,\n source: &AccountId,\n dest: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n expendability: Preservation,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Transfer some amount of free balance from source to become owned by dest but on hold\nfor reason. Read more
§

fn done_hold(_reason: &Self::Reason, _who: &AccountId, _amount: Self::Balance)

§

fn done_release(\n _reason: &Self::Reason,\n _who: &AccountId,\n _amount: Self::Balance\n)

§

fn done_burn_held(\n _reason: &Self::Reason,\n _who: &AccountId,\n _amount: Self::Balance\n)

§

fn done_transfer_on_hold(\n _reason: &Self::Reason,\n _source: &AccountId,\n _dest: &AccountId,\n _amount: Self::Balance\n)

§

fn done_transfer_and_hold(\n _reason: &Self::Reason,\n _source: &AccountId,\n _dest: &AccountId,\n _transferred: Self::Balance\n)

","Mutate<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> StorageInfoTrait for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> PalletInfoAccess for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn index() -> usize

Index of the pallet as configured in the runtime.
§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
§

fn name_hash() -> [u8; 16]

Two128 hash of name.
§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> GetStorageVersion for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type CurrentStorageVersion = StorageVersion

This will be filled out by the pallet macro. Read more
§

fn current_storage_version(\n) -> <Pallet<T, I> as GetStorageVersion>::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
§

fn on_initialize(_n: BlockNumber) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
§

fn on_finalize(_n: BlockNumber)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> ReservableCurrency<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,\n <T as Config<I>>::Balance: MaybeSerializeDeserialize + Debug,

§

fn can_reserve(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> bool

Check if who can reserve value from their free balance.

\n

Always true if value to be reserved is zero.

\n
§

fn reserve(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Move value from the free balance from who to their reserved balance.

\n

Is a no-op if value to be reserved is zero.

\n
§

fn unreserve(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

Unreserve some funds, returning any amount that was unable to be unreserved.

\n

Is a no-op if the value to be unreserved is zero or the account does not exist.

\n

NOTE: returns amount value which wasn’t successfully unreserved.

\n
§

fn slash_reserved(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> (<Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance, <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance)

Slash from reserved balance, returning the negative imbalance created,\nand any amount that was unable to be slashed.

\n

Is a no-op if the value to be slashed is zero or the account does not exist.

\n
§

fn repatriate_reserved(\n slashed: &<T as Config>::AccountId,\n beneficiary: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance,\n status: BalanceStatus\n) -> Result<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance, DispatchError>

Move the reserved balance of one account into the balance of another, according to status.

\n

Is a no-op if:

\n
    \n
  • the value to be moved is zero; or
  • \n
  • the slashed id equal to beneficiary and the status is Reserved.
  • \n
\n

This is Polite and thus will not repatriate any funds which would lead the total balance\nto be less than the frozen amount. Returns Ok with the actual amount of funds moved,\nwhich may be less than value since the operation is done an a BestEffort basis.

\n
§

fn reserved_balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The amount of the balance of a given account that is externally reserved; this can still get\nslashed, but gets slashed last of all. Read more
","ReservableCurrency<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Mutate<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn set_freeze(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Prevent actions which would reduce the balance of the account of who below the given\namount and identify this restriction though the given id. Unlike extend_freeze, any\noutstanding freeze in place for who under the id are dropped. Read more
§

fn extend_freeze(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Prevent the balance of the account of who from being reduced below the given amount and\nidentify this restriction though the given id. Unlike set_freeze, this does not\ncounteract any pre-existing freezes in place for who under the id. Also unlike\nset_freeze, in the case that amount is zero, this is no-op and never fails. Read more
§

fn thaw(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId\n) -> Result<(), DispatchError>

Remove an existing lock.
§

fn set_frozen(\n id: &Self::Id,\n who: &AccountId,\n amount: Self::Balance,\n fortitude: Fortitude\n) -> Result<(), DispatchError>

Attempt to alter the amount frozen under the given id to amount. Read more
§

fn ensure_frozen(\n id: &Self::Id,\n who: &AccountId,\n amount: Self::Balance,\n fortitude: Fortitude\n) -> Result<(), DispatchError>

Attempt to set the amount frozen under the given id to amount, iff this would increase\nthe amount frozen under id. Do nothing otherwise. Read more
§

fn decrease_frozen(\n id: &Self::Id,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Decrease the amount which is being frozen for a particular freeze, failing in the case of\nunderflow.
§

fn increase_frozen(\n id: &Self::Id,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Increase the amount which is being frozen for a particular freeze, failing in the case that\ntoo little balance is available for being frozen.
","Mutate<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Mutate<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn done_mint_into(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_burn_from(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_shelve(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_restore(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_transfer(\n source: &<T as Config>::AccountId,\n dest: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn mint_into(\n who: &AccountId,\n amount: Self::Balance\n) -> Result<Self::Balance, DispatchError>

Increase the balance of who by exactly amount, minting new tokens. If that isn’t\npossible then an Err is returned and nothing is changed.
§

fn burn_from(\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Decrease the balance of who by at least amount, possibly slightly more in the case of\nminimum-balance requirements, burning the tokens. If that isn’t possible then an Err is\nreturned and nothing is changed. If successful, the amount of tokens reduced is returned.
§

fn shelve(\n who: &AccountId,\n amount: Self::Balance\n) -> Result<Self::Balance, DispatchError>

Attempt to decrease the asset balance of who by amount. Read more
§

fn restore(\n who: &AccountId,\n amount: Self::Balance\n) -> Result<Self::Balance, DispatchError>

Attempt to increase the asset balance of who by amount. Read more
§

fn transfer(\n source: &AccountId,\n dest: &AccountId,\n amount: Self::Balance,\n preservation: Preservation\n) -> Result<Self::Balance, DispatchError>

Transfer funds from one account into another. Read more
§

fn set_balance(who: &AccountId, amount: Self::Balance) -> Self::Balance

Simple infallible function to force an account to have a particular balance, good for use\nin tests and benchmarks but not recommended for production code owing to the lack of\nerror reporting. Read more
","Mutate<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Balanced<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type OnDropCredit = DecreaseIssuance<<T as Config>::AccountId, Pallet<T, I>>

The type for managing what happens when an instance of Credit is dropped without being\nused.
§

type OnDropDebt = IncreaseIssuance<<T as Config>::AccountId, Pallet<T, I>>

The type for managing what happens when an instance of Debt is dropped without being used.
§

fn done_deposit(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_withdraw(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_issue(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_rescind(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn rescind(\n amount: Self::Balance\n) -> Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>

Reduce the total issuance by amount and return the according imbalance. The imbalance will\ntypically be used to reduce an account by the same amount with e.g. [Balanced::settle]. Read more
§

fn issue(\n amount: Self::Balance\n) -> Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>

Increase the total issuance by amount and return the according imbalance. The imbalance\nwill typically be used to increase an account by the same amount with e.g.\n[Balanced::resolve]. Read more
§

fn pair(\n amount: Self::Balance\n) -> Result<(Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>, Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>), DispatchError>

Produce a pair of imbalances that cancel each other out exactly. Read more
§

fn deposit(\n who: &AccountId,\n value: Self::Balance,\n precision: Precision\n) -> Result<Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>, DispatchError>

Mints value into the account of who, creating it as needed. Read more
§

fn withdraw(\n who: &AccountId,\n value: Self::Balance,\n precision: Precision,\n preservation: Preservation,\n force: Fortitude\n) -> Result<Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>, DispatchError>

Removes value balance from who account if possible. Read more
§

fn resolve(\n who: &AccountId,\n credit: Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>\n) -> Result<(), Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>>

The balance of who is increased in order to counter credit. If the whole of credit\ncannot be countered, then nothing is changed and the original credit is returned in an\nErr. Read more
§

fn settle(\n who: &AccountId,\n debt: Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>,\n preservation: Preservation\n) -> Result<Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>, Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>>

The balance of who is decreased in order to counter debt. If the whole of debt\ncannot be countered, then nothing is changed and the original debt is returned in an\nErr.
","Balanced<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Inspect<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type Reason = <T as Config<I>>::RuntimeHoldReason

An identifier for a hold. Used for disambiguating different holds so that\nthey can be individually replaced or removed and funds from one hold don’t accidentally\nbecome unreserved or slashed for another.
§

fn total_balance_on_hold(\n who: &<T as Config>::AccountId\n) -> <T as Config<I>>::Balance

Amount of funds on hold (for all hold reasons) of who.
§

fn reducible_total_balance_on_hold(\n who: &<T as Config>::AccountId,\n force: Fortitude\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Get the maximum amount that the total_balance_on_hold of who can be reduced successfully\nbased on whether we are willing to force the reduction and potentially go below user-level\nrestrictions on the minimum amount of the account. Note: This cannot bring the account into\nan inconsistent state with regards any required existential deposit. Read more
§

fn balance_on_hold(\n reason: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Reason,\n who: &<T as Config>::AccountId\n) -> <T as Config<I>>::Balance

Amount of funds on hold (for the given reason) of who.
§

fn hold_available(\n reason: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Reason,\n who: &<T as Config>::AccountId\n) -> bool

Returns true if it’s possible to place (additional) funds under a hold of a given\nreason. This may fail if the account has exhausted a limited number of concurrent\nholds or if it cannot be made to exist (e.g. there is no provider reference). Read more
§

fn ensure_can_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Check to see if some amount of funds of who may be placed on hold with the given\nreason. Reasons why this may not be true: Read more
§

fn can_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> bool

Check to see if some amount of funds of who may be placed on hold for the given\nreason. Reasons why this may not be true: Read more
","Inspect<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Currency<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,\n <T as Config<I>>::Balance: MaybeSerializeDeserialize + Debug,

§

fn slash(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> (<Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance, <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance)

Slash a target account who, returning the negative imbalance created and any left over\namount that could not be slashed.

\n

Is a no-op if value to be slashed is zero or the account does not exist.

\n

NOTE: slash() prefers free balance, but assumes that reserve balance can be drawn\nfrom in extreme circumstances. can_slash() should be used prior to slash() to avoid\nhaving to draw from reserved funds, however we err on the side of punishment if things are\ninconsistent or can_slash wasn’t used appropriately.

\n
§

fn deposit_into_existing(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> Result<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::PositiveImbalance, DispatchError>

Deposit some value into the free balance of an existing target account who.

\n

Is a no-op if the value to be deposited is zero.

\n
§

fn deposit_creating(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::PositiveImbalance

Deposit some value into the free balance of who, possibly creating a new account.

\n

This function is a no-op if:

\n
    \n
  • the value to be deposited is zero; or
  • \n
  • the value to be deposited is less than the required ED and the account does not yet\nexist; or
  • \n
  • the deposit would necessitate the account to exist and there are no provider references;\nor
  • \n
  • value is so large it would cause the balance of who to overflow.
  • \n
\n
§

fn withdraw(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance,\n reasons: WithdrawReasons,\n liveness: ExistenceRequirement\n) -> Result<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance, DispatchError>

Withdraw some free balance from an account, respecting existence requirements.

\n

Is a no-op if value to be withdrawn is zero.

\n
§

fn make_free_balance_be(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> SignedImbalance<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance, <Pallet<T, I> as Currency<<T as Config>::AccountId>>::PositiveImbalance>

Force the new free balance of a target account who to some new value balance.

\n
§

type Balance = <T as Config<I>>::Balance

The balance of an account.
§

type PositiveImbalance = PositiveImbalance<T, I>

The opaque token type for an imbalance. This is returned by unbalanced operations\nand must be dealt with. It may be dropped but cannot be cloned.
§

type NegativeImbalance = NegativeImbalance<T, I>

The opaque token type for an imbalance. This is returned by unbalanced operations\nand must be dealt with. It may be dropped but cannot be cloned.
§

fn total_balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The combined balance of who.
§

fn can_slash(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> bool

Same result as slash(who, value) (but without the side-effects) assuming there are no\nbalance changes in the meantime and only the reserved balance is not taken into account.
§

fn total_issuance(\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The total amount of issuance in the system.
§

fn active_issuance(\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The total amount of issuance in the system excluding those which are controlled by the\nsystem.
§

fn deactivate(\n amount: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n)

Reduce the active issuance by some amount.
§

fn reactivate(\n amount: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n)

Increase the active issuance by some amount, up to the outstanding amount reduced.
§

fn minimum_balance(\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The minimum balance any single account may have. This is equivalent to the Balances\nmodule’s ExistentialDeposit.
§

fn burn(\n amount: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::PositiveImbalance

Reduce the total issuance by amount and return the according imbalance. The imbalance will\ntypically be used to reduce an account by the same amount with e.g. settle. Read more
§

fn issue(\n amount: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance

Increase the total issuance by amount and return the according imbalance. The imbalance\nwill typically be used to increase an account by the same amount with e.g.\nresolve_into_existing or resolve_creating. Read more
§

fn free_balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The ‘free’ balance of a given account. Read more
§

fn ensure_can_withdraw(\n who: &<T as Config>::AccountId,\n amount: <T as Config<I>>::Balance,\n _reasons: WithdrawReasons,\n new_balance: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Returns Ok iff the account is able to make a withdrawal of the given amount\nfor the given reason. Basically, it’s just a dry-run of withdraw. Read more
§

fn transfer(\n transactor: &<T as Config>::AccountId,\n dest: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance,\n existence_requirement: ExistenceRequirement\n) -> Result<(), DispatchError>

Transfer some liquid free balance to another staker. Read more
§

fn pair(\n amount: Self::Balance\n) -> (Self::PositiveImbalance, Self::NegativeImbalance)

Produce a pair of imbalances that cancel each other out exactly. Read more
§

fn resolve_into_existing(\n who: &AccountId,\n value: Self::NegativeImbalance\n) -> Result<(), Self::NegativeImbalance>

Similar to deposit_creating, only accepts a NegativeImbalance and returns nothing on\nsuccess.
§

fn resolve_creating(who: &AccountId, value: Self::NegativeImbalance)

Similar to deposit_creating, only accepts a NegativeImbalance and returns nothing on\nsuccess.
§

fn settle(\n who: &AccountId,\n value: Self::PositiveImbalance,\n reasons: WithdrawReasons,\n liveness: ExistenceRequirement\n) -> Result<(), Self::PositiveImbalance>

Similar to withdraw, only accepts a PositiveImbalance and returns nothing on success.
","Currency<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> PartialEq for Pallet<T, I>

§

fn eq(&self, other: &Pallet<T, I>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Inspect<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type Id = <T as Config<I>>::FreezeIdentifier

An identifier for a freeze.
§

fn balance_frozen(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Amount of funds held in reserve by who for the given id.
§

fn can_freeze(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId\n) -> bool

Returns true if it’s possible to introduce a freeze for the given id onto the\naccount of who. This will be true as long as the implementor supports as many\nconcurrent freeze locks as there are possible values of id.
§

fn balance_freezable(who: &AccountId) -> Self::Balance

The amount of the balance which can become frozen. Defaults to total_balance().
","Inspect<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> IntegrityTest for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnRuntimeUpgrade for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> BeforeAllRuntimeMigrations for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Debug for Pallet<T, I>

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Eq for Pallet<T, I>

","Eq","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Balanced<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn slash(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> (Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>, Self::Balance)

Reduce the balance of some funds on hold in an account. Read more
§

fn done_slash(_reason: &Self::Reason, _who: &AccountId, _amount: Self::Balance)

","Balanced<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Callable<T> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type RuntimeCall = Call<T, I>

","Callable","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> WhitelistedStorageKeys for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Inspect<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type Balance = <T as Config<I>>::Balance

Scalar type for representing balance of an account.
§

fn total_issuance(\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

The total amount of issuance in the system.
§

fn active_issuance(\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

The total amount of issuance in the system excluding those which are controlled by the\nsystem.
§

fn minimum_balance(\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

The minimum balance any single account may have.
§

fn total_balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Get the total amount of funds whose ultimate beneficial ownership can be determined as\nwho. Read more
§

fn balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Get the balance of who which does not include funds which are exclusively allocated to\nsubsystems of the chain (“on hold” or “reserved”). Read more
§

fn reducible_balance(\n who: &<T as Config>::AccountId,\n preservation: Preservation,\n force: Fortitude\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Get the maximum amount that who can withdraw/transfer successfully based on whether the\naccount should be kept alive (preservation) or whether we are willing to force the\nreduction and potentially go below user-level restrictions on the minimum amount of the\naccount. Read more
§

fn can_deposit(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance,\n provenance: Provenance\n) -> DepositConsequence

Returns true if the balance of who may be increased by amount. Read more
§

fn can_withdraw(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> WithdrawConsequence<<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance>

Returns Success if the balance of who may be decreased by amount, otherwise\nthe consequence.
","Inspect<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> AccountTouch<(), <T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type Balance = <T as Config<I>>::Balance

The type for currency units of the deposit.
§

fn deposit_required(\n _: ()\n) -> <Pallet<T, I> as AccountTouch<(), <T as Config>::AccountId>>::Balance

The deposit amount of a native currency required for touching an account of the asset.
§

fn should_touch(_: (), _: &<T as Config>::AccountId) -> bool

Check if an account for a given asset should be touched to meet the existence requirements.
§

fn touch(\n _: (),\n _: &<T as Config>::AccountId,\n _: &<T as Config>::AccountId\n) -> Result<(), DispatchError>

Create an account for who of the asset with a deposit taken from the depositor.
","AccountTouch<(), ::AccountId>","ink_sandbox::macros::construct_runtime::Balances"]] +"ink_sandbox":[["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn transfer_allow_death(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Transfer some liquid free balance to another account.

\n

transfer_allow_death will set the FreeBalance of the sender and receiver.\nIf the sender’s account is below the existential deposit as a result\nof the transfer, the account will be reaped.

\n

The dispatch origin for this call must be Signed by the transactor.

\n

pub fn force_transfer(\n origin: <T as Config>::RuntimeOrigin,\n source: <<T as Config>::Lookup as StaticLookup>::Source,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Exactly as transfer_allow_death, except the origin must be root and the source account\nmay be specified.

\n

pub fn transfer_keep_alive(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Same as the transfer_allow_death call, but with a check that the transfer will not\nkill the origin account.

\n

99% of the time you want transfer_allow_death instead.

\n

pub fn transfer_all(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n keep_alive: bool\n) -> Result<(), DispatchError>

Transfer the entire transferable balance from the caller account.

\n

NOTE: This function only attempts to transfer transferable balances. This means that\nany locked, reserved, or existential deposits (when keep_alive is true), will not be\ntransferred by this function. To ensure that this function results in a killed account,\nyou might need to prepare the account by removing any reference counters, storage\ndeposits, etc…

\n

The dispatch origin of this call must be Signed.

\n
    \n
  • dest: The recipient of the transfer.
  • \n
  • keep_alive: A boolean to determine if the transfer_all operation should send all\nof the funds the account has, causing the sender account to be killed (false), or\ntransfer everything except at least the existential deposit, which will guarantee to\nkeep the sender account alive (true).
  • \n
\n

pub fn force_unreserve(\n origin: <T as Config>::RuntimeOrigin,\n who: <<T as Config>::Lookup as StaticLookup>::Source,\n amount: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Unreserve some balance from a user by force.

\n

Can only be called by ROOT.

\n

pub fn upgrade_accounts(\n origin: <T as Config>::RuntimeOrigin,\n who: Vec<<T as Config>::AccountId>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Upgrade a specified account.

\n
    \n
  • origin: Must be Signed.
  • \n
  • who: The account to be upgraded.
  • \n
\n

This will waive the transaction fee if at least all but 10% of the accounts needed to\nbe upgraded. (We let some not have to be upgraded just in order to allow for the\npossibililty of churn).

\n

pub fn force_set_balance(\n origin: <T as Config>::RuntimeOrigin,\n who: <<T as Config>::Lookup as StaticLookup>::Source,\n new_free: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Set the regular balance of a given account.

\n

The dispatch origin for this call is root.

\n

pub fn force_adjust_total_issuance(\n origin: <T as Config>::RuntimeOrigin,\n direction: AdjustmentDirection,\n delta: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Adjust the total issuance in a saturating way.

\n

Can only be called by root and always needs a positive delta.

\n
Example
\n
#[test]\nfn force_adjust_total_issuance_example() {\n\tExtBuilder::default().build_and_execute_with(|| {\n\t\t// First we set the TotalIssuance to 64 by giving Alice a balance of 64.\n\t\tassert_ok!(Balances::force_set_balance(RuntimeOrigin::root(), ALICE, 64));\n\t\tlet old_ti = Balances::total_issuance();\n\t\tassert_eq!(old_ti, 64, "TI should be 64");\n\n\t\t// Now test the increase:\n\t\tassert_ok!(Balances::force_adjust_total_issuance(RawOrigin::Root.into(), Inc, 32));\n\t\tlet new_ti = Balances::total_issuance();\n\t\tassert_eq!(old_ti + 32, new_ti, "Should increase by 32");\n\n\t\t// If Alice tries to call it, it errors:\n\t\tassert_noop!(\n\t\t\tBalances::force_adjust_total_issuance(RawOrigin::Signed(ALICE).into(), Inc, 32),\n\t\t\tBadOrigin,\n\t\t);\n\t});\n}
\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn ensure_upgraded(who: &<T as Config>::AccountId) -> bool

Ensure the account who is using the new logic.

\n

Returns true if the account did get upgraded, false if it didn’t need upgrading.

\n

pub fn free_balance(\n who: impl Borrow<<T as Config>::AccountId>\n) -> <T as Config<I>>::Balance

Get the free balance of an account.

\n

pub fn usable_balance(\n who: impl Borrow<<T as Config>::AccountId>\n) -> <T as Config<I>>::Balance

Get the balance of an account that can be used for transfers, reservations, or any other\nnon-locking, non-transaction-fee activity. Will be at most free_balance.

\n

pub fn usable_balance_for_fees(\n who: impl Borrow<<T as Config>::AccountId>\n) -> <T as Config<I>>::Balance

Get the balance of an account that can be used for paying transaction fees (not tipping,\nor any other kind of fees, though). Will be at most free_balance.

\n

This requires that the account stays alive.

\n

pub fn reserved_balance(\n who: impl Borrow<<T as Config>::AccountId>\n) -> <T as Config<I>>::Balance

Get the reserved balance of an account.

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn total_issuance() -> <T as Config<I>>::Balance

An auto-generated getter for [TotalIssuance].

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn inactive_issuance() -> <T as Config<I>>::Balance

An auto-generated getter for [InactiveIssuance].

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn locks<KArg>(\n k: KArg\n) -> WeakBoundedVec<BalanceLock<<T as Config<I>>::Balance>, <T as Config<I>>::MaxLocks>where\n KArg: EncodeLike<<T as Config>::AccountId>,

An auto-generated getter for [Locks].

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Pallet<T, I>where\n T: Config<I>,\n I: 'static,

pub fn reserves<KArg>(\n k: KArg\n) -> BoundedVec<ReserveData<<T as Config<I>>::ReserveIdentifier, <T as Config<I>>::Balance>, <T as Config<I>>::MaxReserves>where\n KArg: EncodeLike<<T as Config>::AccountId>,

An auto-generated getter for [Reserves].

\n
",0,"ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Clone for Pallet<T, I>

§

fn clone(&self) -> Pallet<T, I>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Inspect<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type Balance = <T as Config<I>>::Balance

Scalar type for representing balance of an account.
§

fn total_issuance(\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

The total amount of issuance in the system.
§

fn active_issuance(\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

The total amount of issuance in the system excluding those which are controlled by the\nsystem.
§

fn minimum_balance(\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

The minimum balance any single account may have.
§

fn total_balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Get the total amount of funds whose ultimate beneficial ownership can be determined as\nwho. Read more
§

fn balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Get the balance of who which does not include funds which are exclusively allocated to\nsubsystems of the chain (“on hold” or “reserved”). Read more
§

fn reducible_balance(\n who: &<T as Config>::AccountId,\n preservation: Preservation,\n force: Fortitude\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Get the maximum amount that who can withdraw/transfer successfully based on whether the\naccount should be kept alive (preservation) or whether we are willing to force the\nreduction and potentially go below user-level restrictions on the minimum amount of the\naccount. Read more
§

fn can_deposit(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance,\n provenance: Provenance\n) -> DepositConsequence

Returns true if the balance of who may be increased by amount. Read more
§

fn can_withdraw(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> WithdrawConsequence<<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance>

Returns Success if the balance of who may be decreased by amount, otherwise\nthe consequence.
","Inspect<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> NamedReservableCurrency<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,\n <T as Config<I>>::Balance: MaybeSerializeDeserialize + Debug,

§

fn reserve_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Move value from the free balance from who to a named reserve balance.

\n

Is a no-op if value to be reserved is zero.

\n
§

fn unreserve_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

Unreserve some funds, returning any amount that was unable to be unreserved.

\n

Is a no-op if the value to be unreserved is zero.

\n
§

fn slash_reserved_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> (<Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance, <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance)

Slash from reserved balance, returning the negative imbalance created,\nand any amount that was unable to be slashed.

\n

Is a no-op if the value to be slashed is zero.

\n
§

fn repatriate_reserved_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n slashed: &<T as Config>::AccountId,\n beneficiary: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance,\n status: BalanceStatus\n) -> Result<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance, DispatchError>

Move the reserved balance of one account into the balance of another, according to status.\nIf status is Reserved, the balance will be reserved with given id.

\n

Is a no-op if:

\n
    \n
  • the value to be moved is zero; or
  • \n
  • the slashed id equal to beneficiary and the status is Reserved.
  • \n
\n
§

type ReserveIdentifier = <T as Config<I>>::ReserveIdentifier

An identifier for a reserve. Used for disambiguating different reserves so that\nthey can be individually replaced or removed.
§

fn reserved_balance_named(\n id: &<Pallet<T, I> as NamedReservableCurrency<<T as Config>::AccountId>>::ReserveIdentifier,\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The amount of the balance of a given account that is externally reserved; this can still get\nslashed, but gets slashed last of all. Read more
§

fn ensure_reserved_named(\n id: &Self::ReserveIdentifier,\n who: &AccountId,\n value: Self::Balance\n) -> Result<(), DispatchError>

Ensure the reserved balance is equal to value. Read more
§

fn unreserve_all_named(\n id: &Self::ReserveIdentifier,\n who: &AccountId\n) -> Self::Balance

Unreserve all the named reserved balances, returning unreserved amount. Read more
§

fn slash_all_reserved_named(\n id: &Self::ReserveIdentifier,\n who: &AccountId\n) -> Self::NegativeImbalance

Slash all the reserved balance, returning the negative imbalance created. Read more
§

fn repatriate_all_reserved_named(\n id: &Self::ReserveIdentifier,\n slashed: &AccountId,\n beneficiary: &AccountId,\n status: BalanceStatus\n) -> Result<(), DispatchError>

Move all the named reserved balance of one account into the balance of another, according to\nstatus. If status is Reserved, the balance will be reserved with given id. Read more
","NamedReservableCurrency<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnGenesis for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Unbalanced<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn set_balance_on_hold(\n reason: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Reason,\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Forcefully set the balance on hold of who to amount. This is independent of any other\nbalances on hold or the main (“free”) balance. Read more
§

fn decrease_balance_on_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Reduce the balance on hold of who by amount. Read more
§

fn increase_balance_on_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Increase the balance on hold of who by amount. Read more
","Unbalanced<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> LockableCurrency<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,\n <T as Config<I>>::Balance: MaybeSerializeDeserialize + Debug,

§

type Moment = <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number

The quantity used to denote time; usually just a BlockNumber.
§

type MaxLocks = <T as Config<I>>::MaxLocks

The maximum number of locks a user should have on their account.
§

fn set_lock(\n id: [u8; 8],\n who: &<T as Config>::AccountId,\n amount: <T as Config<I>>::Balance,\n reasons: WithdrawReasons\n)

Create a new balance lock on account who. Read more
§

fn extend_lock(\n id: [u8; 8],\n who: &<T as Config>::AccountId,\n amount: <T as Config<I>>::Balance,\n reasons: WithdrawReasons\n)

Changes a balance lock (selected by id) so that it becomes less liquid in all\nparameters or creates a new one if it does not exist. Read more
§

fn remove_lock(id: [u8; 8], who: &<T as Config>::AccountId)

Remove an existing lock.
","LockableCurrency<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
§

fn on_initialize(_n: BlockNumber) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
§

fn on_finalize(_n: BlockNumber)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)

A hook to run logic after inherent application. Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive pallet. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnRuntimeUpgrade for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Unbalanced<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn handle_dust(dust: Dust<<T as Config>::AccountId, Pallet<T, I>>)

Do something with the dust which has been destroyed from the system. [Dust] can be\nconverted into a [Credit] with the [Balanced] trait impl.
§

fn write_balance(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> Result<Option<<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance>, DispatchError>

Forcefully set the balance of who to amount. Read more
§

fn set_total_issuance(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

Set the total issuance to amount.
§

fn deactivate(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

Reduce the active issuance by some amount.
§

fn reactivate(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

Increase the active issuance by some amount, up to the outstanding amount reduced.
§

fn handle_raw_dust(amount: Self::Balance)

Create some dust and handle it with [Unbalanced::handle_dust]. This is an unbalanced\noperation and it must only be used when an account is modified in a raw fashion, outside of\nthe entire fungibles API. The amount is capped at [Inspect::minimum_balance()] - 1`. Read more
§

fn decrease_balance(\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n preservation: Preservation,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Reduce the balance of who by amount. Read more
§

fn increase_balance(\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Increase the balance of who by amount. Read more
","Unbalanced<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Mutate<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Hold some funds in an account. If a hold for reason is already in place, then this\nwill increase it.
§

fn release(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Release up to amount held funds in an account. Read more
§

fn set_on_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Hold or release funds in the account of who to bring the balance on hold for reason to\nexactly amount.
§

fn release_all(\n reason: &Self::Reason,\n who: &AccountId,\n precision: Precision\n) -> Result<Self::Balance, DispatchError>

Release all funds in the account of who on hold for reason. Read more
§

fn burn_held(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Attempt to decrease the balance of who which is held for the given reason by amount. Read more
§

fn burn_all_held(\n reason: &Self::Reason,\n who: &AccountId,\n precision: Precision,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Attempt to decrease the balance of who which is held for the given reason to zero. Read more
§

fn transfer_on_hold(\n reason: &Self::Reason,\n source: &AccountId,\n dest: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n mode: Restriction,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Transfer held funds into a destination account. Read more
§

fn transfer_and_hold(\n reason: &Self::Reason,\n source: &AccountId,\n dest: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n expendability: Preservation,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Transfer some amount of free balance from source to become owned by dest but on hold\nfor reason. Read more
§

fn done_hold(_reason: &Self::Reason, _who: &AccountId, _amount: Self::Balance)

§

fn done_release(\n _reason: &Self::Reason,\n _who: &AccountId,\n _amount: Self::Balance\n)

§

fn done_burn_held(\n _reason: &Self::Reason,\n _who: &AccountId,\n _amount: Self::Balance\n)

§

fn done_transfer_on_hold(\n _reason: &Self::Reason,\n _source: &AccountId,\n _dest: &AccountId,\n _amount: Self::Balance\n)

§

fn done_transfer_and_hold(\n _reason: &Self::Reason,\n _source: &AccountId,\n _dest: &AccountId,\n _transferred: Self::Balance\n)

","Mutate<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> PalletInfoAccess for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn index() -> usize

Index of the pallet as configured in the runtime.
§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
§

fn name_hash() -> [u8; 16]

Two128 hash of name.
§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> GetStorageVersion for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type InCodeStorageVersion = StorageVersion

This type is generated by the pallet macro. Read more
§

fn in_code_storage_version(\n) -> <Pallet<T, I> as GetStorageVersion>::InCodeStorageVersion

Returns the in-code storage version as specified in the\nstorage_version attribute, or\n[NoStorageVersionSet] if the attribute is missing.
§

fn on_chain_storage_version() -> StorageVersion

Returns the storage version of the pallet as last set in the actual on-chain storage.
§

fn current_storage_version() -> Self::InCodeStorageVersion

👎Deprecated: This method has been renamed to in_code_storage_version and will be removed after March 2024.
DEPRECATED: Use [Self::current_storage_version] instead. Read more
","GetStorageVersion","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> PalletsInfoAccess for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> ReservableCurrency<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,\n <T as Config<I>>::Balance: MaybeSerializeDeserialize + Debug,

§

fn can_reserve(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> bool

Check if who can reserve value from their free balance.

\n

Always true if value to be reserved is zero.

\n
§

fn reserve(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Move value from the free balance from who to their reserved balance.

\n

Is a no-op if value to be reserved is zero.

\n
§

fn unreserve(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

Unreserve some funds, returning any amount that was unable to be unreserved.

\n

Is a no-op if the value to be unreserved is zero or the account does not exist.

\n

NOTE: returns amount value which wasn’t successfully unreserved.

\n
§

fn slash_reserved(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> (<Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance, <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance)

Slash from reserved balance, returning the negative imbalance created,\nand any amount that was unable to be slashed.

\n

Is a no-op if the value to be slashed is zero or the account does not exist.

\n
§

fn repatriate_reserved(\n slashed: &<T as Config>::AccountId,\n beneficiary: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance,\n status: BalanceStatus\n) -> Result<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance, DispatchError>

Move the reserved balance of one account into the balance of another, according to status.

\n

Is a no-op if:

\n
    \n
  • the value to be moved is zero; or
  • \n
  • the slashed id equal to beneficiary and the status is Reserved.
  • \n
\n

This is Polite and thus will not repatriate any funds which would lead the total balance\nto be less than the frozen amount. Returns Ok with the actual amount of funds moved,\nwhich may be less than value since the operation is done an a BestEffort basis.

\n
§

fn reserved_balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The amount of the balance of a given account that is externally reserved; this can still get\nslashed, but gets slashed last of all. Read more
","ReservableCurrency<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Mutate<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn set_freeze(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Prevent actions which would reduce the balance of the account of who below the given\namount and identify this restriction though the given id. Unlike extend_freeze, any\noutstanding freeze in place for who under the id are dropped. Read more
§

fn extend_freeze(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n) -> Result<(), DispatchError>

Prevent the balance of the account of who from being reduced below the given amount and\nidentify this restriction though the given id. Unlike set_freeze, this does not\ncounteract any pre-existing freezes in place for who under the id. Also unlike\nset_freeze, in the case that amount is zero, this is no-op and never fails. Read more
§

fn thaw(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId\n) -> Result<(), DispatchError>

Remove an existing lock.
§

fn set_frozen(\n id: &Self::Id,\n who: &AccountId,\n amount: Self::Balance,\n fortitude: Fortitude\n) -> Result<(), DispatchError>

Attempt to alter the amount frozen under the given id to amount. Read more
§

fn ensure_frozen(\n id: &Self::Id,\n who: &AccountId,\n amount: Self::Balance,\n fortitude: Fortitude\n) -> Result<(), DispatchError>

Attempt to set the amount frozen under the given id to amount, iff this would increase\nthe amount frozen under id. Do nothing otherwise. Read more
§

fn decrease_frozen(\n id: &Self::Id,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Decrease the amount which is being frozen for a particular freeze, failing in the case of\nunderflow.
§

fn increase_frozen(\n id: &Self::Id,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Increase the amount which is being frozen for a particular freeze, failing in the case that\ntoo little balance is available for being frozen.
","Mutate<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> AccountTouch<(), <T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type Balance = <T as Config<I>>::Balance

The type for currency units of the deposit.
§

fn deposit_required(\n _: ()\n) -> <Pallet<T, I> as AccountTouch<(), <T as Config>::AccountId>>::Balance

The deposit amount of a native currency required for touching an account of the asset.
§

fn should_touch(_: (), _: &<T as Config>::AccountId) -> bool

Check if an account for a given asset should be touched to meet the existence requirements.
§

fn touch(\n _: (),\n _: &<T as Config>::AccountId,\n _: &<T as Config>::AccountId\n) -> Result<(), DispatchError>

Create an account for who of the asset with a deposit taken from the depositor.
","AccountTouch<(), ::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Mutate<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn done_mint_into(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_burn_from(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_shelve(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_restore(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_transfer(\n source: &<T as Config>::AccountId,\n dest: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn mint_into(\n who: &AccountId,\n amount: Self::Balance\n) -> Result<Self::Balance, DispatchError>

Increase the balance of who by exactly amount, minting new tokens. If that isn’t\npossible then an Err is returned and nothing is changed.
§

fn burn_from(\n who: &AccountId,\n amount: Self::Balance,\n precision: Precision,\n force: Fortitude\n) -> Result<Self::Balance, DispatchError>

Decrease the balance of who by at least amount, possibly slightly more in the case of\nminimum-balance requirements, burning the tokens. If that isn’t possible then an Err is\nreturned and nothing is changed. If successful, the amount of tokens reduced is returned.
§

fn shelve(\n who: &AccountId,\n amount: Self::Balance\n) -> Result<Self::Balance, DispatchError>

Attempt to decrease the asset balance of who by amount. Read more
§

fn restore(\n who: &AccountId,\n amount: Self::Balance\n) -> Result<Self::Balance, DispatchError>

Attempt to increase the asset balance of who by amount. Read more
§

fn transfer(\n source: &AccountId,\n dest: &AccountId,\n amount: Self::Balance,\n preservation: Preservation\n) -> Result<Self::Balance, DispatchError>

Transfer funds from one account into another. Read more
§

fn set_balance(who: &AccountId, amount: Self::Balance) -> Self::Balance

Simple infallible function to force an account to have a particular balance, good for use\nin tests and benchmarks but not recommended for production code owing to the lack of\nerror reporting. Read more
","Mutate<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> BeforeAllRuntimeMigrations for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> StorageInfoTrait for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> PartialEq for Pallet<T, I>

§

fn eq(&self, other: &Pallet<T, I>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> IntegrityTest for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Balanced<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type OnDropCredit = DecreaseIssuance<<T as Config>::AccountId, Pallet<T, I>>

The type for managing what happens when an instance of Credit is dropped without being\nused.
§

type OnDropDebt = IncreaseIssuance<<T as Config>::AccountId, Pallet<T, I>>

The type for managing what happens when an instance of Debt is dropped without being used.
§

fn done_deposit(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_withdraw(\n who: &<T as Config>::AccountId,\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_issue(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn done_rescind(\n amount: <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance\n)

§

fn rescind(\n amount: Self::Balance\n) -> Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>

Reduce the total issuance by amount and return the according imbalance. The imbalance will\ntypically be used to reduce an account by the same amount with e.g. [Balanced::settle]. Read more
§

fn issue(\n amount: Self::Balance\n) -> Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>

Increase the total issuance by amount and return the according imbalance. The imbalance\nwill typically be used to increase an account by the same amount with e.g.\n[Balanced::resolve]. Read more
§

fn pair(\n amount: Self::Balance\n) -> Result<(Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>, Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>), DispatchError>

Produce a pair of imbalances that cancel each other out exactly. Read more
§

fn deposit(\n who: &AccountId,\n value: Self::Balance,\n precision: Precision\n) -> Result<Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>, DispatchError>

Mints value into the account of who, creating it as needed. Read more
§

fn withdraw(\n who: &AccountId,\n value: Self::Balance,\n precision: Precision,\n preservation: Preservation,\n force: Fortitude\n) -> Result<Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>, DispatchError>

Removes value balance from who account if possible. Read more
§

fn resolve(\n who: &AccountId,\n credit: Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>\n) -> Result<(), Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>>

The balance of who is increased in order to counter credit. If the whole of credit\ncannot be countered, then nothing is changed and the original credit is returned in an\nErr. Read more
§

fn settle(\n who: &AccountId,\n debt: Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>,\n preservation: Preservation\n) -> Result<Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>, Imbalance<Self::Balance, Self::OnDropDebt, Self::OnDropCredit>>

The balance of who is decreased in order to counter debt. If the whole of debt\ncannot be countered, then nothing is changed and the original debt is returned in an\nErr.
","Balanced<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Currency<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,\n <T as Config<I>>::Balance: MaybeSerializeDeserialize + Debug,

§

fn slash(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> (<Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance, <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance)

Slash a target account who, returning the negative imbalance created and any left over\namount that could not be slashed.

\n

Is a no-op if value to be slashed is zero or the account does not exist.

\n

NOTE: slash() prefers free balance, but assumes that reserve balance can be drawn\nfrom in extreme circumstances. can_slash() should be used prior to slash() to avoid\nhaving to draw from reserved funds, however we err on the side of punishment if things are\ninconsistent or can_slash wasn’t used appropriately.

\n
§

fn deposit_into_existing(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> Result<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::PositiveImbalance, DispatchError>

Deposit some value into the free balance of an existing target account who.

\n

Is a no-op if the value to be deposited is zero.

\n
§

fn deposit_creating(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::PositiveImbalance

Deposit some value into the free balance of who, possibly creating a new account.

\n

This function is a no-op if:

\n
    \n
  • the value to be deposited is zero; or
  • \n
  • the value to be deposited is less than the required ED and the account does not yet\nexist; or
  • \n
  • the deposit would necessitate the account to exist and there are no provider references;\nor
  • \n
  • value is so large it would cause the balance of who to overflow.
  • \n
\n
§

fn withdraw(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance,\n reasons: WithdrawReasons,\n liveness: ExistenceRequirement\n) -> Result<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance, DispatchError>

Withdraw some free balance from an account, respecting existence requirements.

\n

Is a no-op if value to be withdrawn is zero.

\n
§

fn make_free_balance_be(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> SignedImbalance<<Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance, <Pallet<T, I> as Currency<<T as Config>::AccountId>>::PositiveImbalance>

Force the new free balance of a target account who to some new value balance.

\n
§

type Balance = <T as Config<I>>::Balance

The balance of an account.
§

type PositiveImbalance = PositiveImbalance<T, I>

The opaque token type for an imbalance. This is returned by unbalanced operations\nand must be dealt with. It may be dropped but cannot be cloned.
§

type NegativeImbalance = NegativeImbalance<T, I>

The opaque token type for an imbalance. This is returned by unbalanced operations\nand must be dealt with. It may be dropped but cannot be cloned.
§

fn total_balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The combined balance of who.
§

fn can_slash(\n who: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> bool

Same result as slash(who, value) (but without the side-effects) assuming there are no\nbalance changes in the meantime and only the reserved balance is not taken into account.
§

fn total_issuance(\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The total amount of issuance in the system.
§

fn active_issuance(\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The total amount of issuance in the system excluding those which are controlled by the\nsystem.
§

fn deactivate(\n amount: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n)

Reduce the active issuance by some amount.
§

fn reactivate(\n amount: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n)

Increase the active issuance by some amount, up to the outstanding amount reduced.
§

fn minimum_balance(\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The minimum balance any single account may have. This is equivalent to the Balances\nmodule’s ExistentialDeposit.
§

fn burn(\n amount: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::PositiveImbalance

Reduce the total issuance by amount and return the according imbalance. The imbalance will\ntypically be used to reduce an account by the same amount with e.g. settle. Read more
§

fn issue(\n amount: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::NegativeImbalance

Increase the total issuance by amount and return the according imbalance. The imbalance\nwill typically be used to increase an account by the same amount with e.g.\nresolve_into_existing or resolve_creating. Read more
§

fn free_balance(\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance

The ‘free’ balance of a given account. Read more
§

fn ensure_can_withdraw(\n who: &<T as Config>::AccountId,\n amount: <T as Config<I>>::Balance,\n _reasons: WithdrawReasons,\n new_balance: <T as Config<I>>::Balance\n) -> Result<(), DispatchError>

Returns Ok iff the account is able to make a withdrawal of the given amount\nfor the given reason. Basically, it’s just a dry-run of withdraw. Read more
§

fn transfer(\n transactor: &<T as Config>::AccountId,\n dest: &<T as Config>::AccountId,\n value: <Pallet<T, I> as Currency<<T as Config>::AccountId>>::Balance,\n existence_requirement: ExistenceRequirement\n) -> Result<(), DispatchError>

Transfer some liquid free balance to another staker. Read more
§

fn pair(\n amount: Self::Balance\n) -> (Self::PositiveImbalance, Self::NegativeImbalance)

Produce a pair of imbalances that cancel each other out exactly. Read more
§

fn resolve_into_existing(\n who: &AccountId,\n value: Self::NegativeImbalance\n) -> Result<(), Self::NegativeImbalance>

Similar to deposit_creating, only accepts a NegativeImbalance and returns nothing on\nsuccess.
§

fn resolve_creating(who: &AccountId, value: Self::NegativeImbalance)

Similar to deposit_creating, only accepts a NegativeImbalance and returns nothing on\nsuccess.
§

fn settle(\n who: &AccountId,\n value: Self::PositiveImbalance,\n reasons: WithdrawReasons,\n liveness: ExistenceRequirement\n) -> Result<(), Self::PositiveImbalance>

Similar to withdraw, only accepts a PositiveImbalance and returns nothing on success.
","Currency<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Inspect<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type Reason = <T as Config<I>>::RuntimeHoldReason

An identifier for a hold. Used for disambiguating different holds so that\nthey can be individually replaced or removed and funds from one hold don’t accidentally\nbecome unreserved or slashed for another.
§

fn total_balance_on_hold(\n who: &<T as Config>::AccountId\n) -> <T as Config<I>>::Balance

Amount of funds on hold (for all hold reasons) of who.
§

fn reducible_total_balance_on_hold(\n who: &<T as Config>::AccountId,\n force: Fortitude\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Get the maximum amount that the total_balance_on_hold of who can be reduced successfully\nbased on whether we are willing to force the reduction and potentially go below user-level\nrestrictions on the minimum amount of the account. Note: This cannot bring the account into\nan inconsistent state with regards any required existential deposit. Read more
§

fn balance_on_hold(\n reason: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Reason,\n who: &<T as Config>::AccountId\n) -> <T as Config<I>>::Balance

Amount of funds on hold (for the given reason) of who.
§

fn hold_available(\n reason: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Reason,\n who: &<T as Config>::AccountId\n) -> bool

Returns true if it’s possible to place (additional) funds under a hold of a given\nreason. This may fail if the account has exhausted a limited number of concurrent\nholds or if it cannot be made to exist (e.g. there is no provider reference). Read more
§

fn ensure_can_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> Result<(), DispatchError>

Check to see if some amount of funds of who may be placed on hold with the given\nreason. Reasons why this may not be true: Read more
§

fn can_hold(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> bool

Check to see if some amount of funds of who may be placed on hold for the given\nreason. Reasons why this may not be true: Read more
","Inspect<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Debug for Pallet<T, I>

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Eq for Pallet<T, I>

","Eq","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Inspect<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type Id = <T as Config<I>>::FreezeIdentifier

An identifier for a freeze.
§

fn balance_frozen(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId\n) -> <Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Balance

Amount of funds held in reserve by who for the given id.
§

fn can_freeze(\n id: &<Pallet<T, I> as Inspect<<T as Config>::AccountId>>::Id,\n who: &<T as Config>::AccountId\n) -> bool

Returns true if it’s possible to introduce a freeze for the given id onto the\naccount of who. This will be true as long as the implementor supports as many\nconcurrent freeze locks as there are possible values of id.
§

fn balance_freezable(who: &AccountId) -> Self::Balance

The amount of the balance which can become frozen. Defaults to total_balance().
","Inspect<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_poll(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n weight: &mut WeightMeter\n)

Code to execute every now and then at the beginning of the block after inherent application. Read more
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Callable<T> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

type RuntimeCall = Call<T, I>

","Callable","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> WhitelistedStorageKeys for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Balances"],["
§

impl<T, I> Balanced<<T as Config>::AccountId> for Pallet<T, I>where\n T: Config<I>,\n I: 'static,

§

fn slash(\n reason: &Self::Reason,\n who: &AccountId,\n amount: Self::Balance\n) -> (Imbalance<Self::Balance, Self::OnDropCredit, Self::OnDropDebt>, Self::Balance)

Reduce the balance of some funds on hold in an account. Read more
§

fn done_slash(_reason: &Self::Reason, _who: &AccountId, _amount: Self::Balance)

","Balanced<::AccountId>","ink_sandbox::macros::construct_runtime::Balances"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/pallet_contracts/pallet/struct.Pallet.js b/type.impl/pallet_contracts/pallet/struct.Pallet.js index b12d5319db..5fd41f1d89 100644 --- a/type.impl/pallet_contracts/pallet/struct.Pallet.js +++ b/type.impl/pallet_contracts/pallet/struct.Pallet.js @@ -1,4 +1,4 @@ (function() {var type_impls = { "ink_e2e":[], -"ink_sandbox":[["
§

impl<T> Pallet<T>where\n T: Config,\n <<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type: Clone + Eq + PartialEq + Debug + TypeInfo + Encode,

pub fn call_old_weight(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: u64,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n data: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

👎Deprecated: 1D weight is used in this extrinsic, please migrate to call

Deprecated version if [Self::call] for use in an in-storage Call.

\n

pub fn instantiate_with_code_old_weight(\n origin: <T as Config>::RuntimeOrigin,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: u64,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n code: Vec<u8>,\n data: Vec<u8>,\n salt: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

👎Deprecated: 1D weight is used in this extrinsic, please migrate to instantiate_with_code

Deprecated version if [Self::instantiate_with_code] for use in an in-storage Call.

\n

pub fn instantiate_old_weight(\n origin: <T as Config>::RuntimeOrigin,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: u64,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n code_hash: <T as Config>::Hash,\n data: Vec<u8>,\n salt: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

👎Deprecated: 1D weight is used in this extrinsic, please migrate to instantiate

Deprecated version if [Self::instantiate] for use in an in-storage Call.

\n

pub fn upload_code(\n origin: <T as Config>::RuntimeOrigin,\n code: Vec<u8>,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n determinism: Determinism\n) -> Result<(), DispatchError>

Upload new code without instantiating a contract from it.

\n

If the code does not already exist a deposit is reserved from the caller\nand unreserved only when [Self::remove_code] is called. The size of the reserve\ndepends on the size of the supplied code.

\n

If the code already exists in storage it will still return Ok and upgrades\nthe in storage version to the current\nInstructionWeights::version.

\n
    \n
  • determinism: If this is set to any other value but [Determinism::Enforced] then\nthe only way to use this code is to delegate call into it from an offchain execution.\nSet to [Determinism::Enforced] if in doubt.
  • \n
\n
Note
\n

Anyone can instantiate a contract from any uploaded code and thus prevent its removal.\nTo avoid this situation a constructor could employ access control so that it can\nonly be instantiated by permissioned entities. The same is true when uploading\nthrough [Self::instantiate_with_code].

\n

pub fn remove_code(\n origin: <T as Config>::RuntimeOrigin,\n code_hash: <T as Config>::Hash\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Remove the code stored under code_hash and refund the deposit to its owner.

\n

A code can only be removed by its original uploader (its owner) and only if it is\nnot used by any contract.

\n

pub fn set_code(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n code_hash: <T as Config>::Hash\n) -> Result<(), DispatchError>

Privileged function that changes the code of an existing contract.

\n

This takes care of updating refcounts and all other necessary operations. Returns\nan error if either the code_hash or dest do not exist.

\n
Note
\n

This does not change the address of the contract in question. This means\nthat the contract address is no longer derived from its code hash after calling\nthis dispatchable.

\n

pub fn call(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n data: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Makes a call to an account, optionally transferring some balance.

\n
Parameters
\n
    \n
  • \n

    dest: Address of the contract to call.

    \n
  • \n
  • \n

    value: The balance to transfer from the origin to dest.

    \n
  • \n
  • \n

    gas_limit: The gas limit enforced when executing the constructor.

    \n
  • \n
  • \n

    storage_deposit_limit: The maximum amount of balance that can be charged from the\ncaller to pay for the storage consumed.

    \n
  • \n
  • \n

    data: The input data to pass to the contract.

    \n
  • \n
  • \n

    If the account is a smart-contract account, the associated code will be\nexecuted and any value will be transferred.

    \n
  • \n
  • \n

    If the account is a regular account, any value will be transferred.

    \n
  • \n
  • \n

    If no account exists and the call value is not less than existential_deposit,\na regular account will be created and any value will be transferred.

    \n
  • \n
\n

pub fn instantiate_with_code(\n origin: <T as Config>::RuntimeOrigin,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n code: Vec<u8>,\n data: Vec<u8>,\n salt: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Instantiates a new contract from the supplied code optionally transferring\nsome balance.

\n

This dispatchable has the same effect as calling [Self::upload_code] +\n[Self::instantiate]. Bundling them together provides efficiency gains. Please\nalso check the documentation of [Self::upload_code].

\n
Parameters
\n
    \n
  • value: The balance to transfer from the origin to the newly created contract.
  • \n
  • gas_limit: The gas limit enforced when executing the constructor.
  • \n
  • storage_deposit_limit: The maximum amount of balance that can be charged/reserved\nfrom the caller to pay for the storage consumed.
  • \n
  • code: The contract code to deploy in raw bytes.
  • \n
  • data: The input data to pass to the contract constructor.
  • \n
  • salt: Used for the address derivation. See [Pallet::contract_address].
  • \n
\n

Instantiation is executed as follows:

\n
    \n
  • The supplied code is deployed, and a code_hash is created for that code.
  • \n
  • If the code_hash already exists on the chain the underlying code will be shared.
  • \n
  • The destination address is computed based on the sender, code_hash and the salt.
  • \n
  • The smart-contract account is created at the computed address.
  • \n
  • The value is transferred to the new account.
  • \n
  • The deploy function is executed in the context of the newly-created account.
  • \n
\n

pub fn instantiate(\n origin: <T as Config>::RuntimeOrigin,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n code_hash: <T as Config>::Hash,\n data: Vec<u8>,\n salt: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Instantiates a contract from a previously deployed wasm binary.

\n

This function is identical to [Self::instantiate_with_code] but without the\ncode deployment step. Instead, the code_hash of an on-chain deployed wasm binary\nmust be supplied.

\n

pub fn migrate(\n origin: <T as Config>::RuntimeOrigin,\n weight_limit: Weight\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

When a migration is in progress, this dispatchable can be used to run migration steps.\nCalls that contribute to advancing the migration have their fees waived, as it’s helpful\nfor the chain. Note that while the migration is in progress, the pallet will also\nleverage the on_idle hooks to run migration steps.

\n
",0,"ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn bare_call(\n origin: <T as Config>::AccountId,\n dest: <T as Config>::AccountId,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>,\n data: Vec<u8>,\n debug: DebugInfo,\n collect_events: CollectEvents,\n determinism: Determinism\n) -> ContractResult<Result<ExecReturnValue, DispatchError>, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance, EventRecord<<T as Config>::RuntimeEvent, <T as Config>::Hash>>

Perform a call to a specified contract.

\n

This function is similar to [Self::call], but doesn’t perform any address lookups\nand better suitable for calling directly from Rust.

\n
Note
\n

If debug is set to DebugInfo::UnsafeDebug it returns additional human readable debugging\ninformation.

\n

If collect_events is set to CollectEvents::UnsafeCollect it collects all the Events\nemitted in the block so far and the ones emitted during the execution of this contract.

\n

pub fn bare_instantiate(\n origin: <T as Config>::AccountId,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>,\n code: Code<<T as Config>::Hash>,\n data: Vec<u8>,\n salt: Vec<u8>,\n debug: DebugInfo,\n collect_events: CollectEvents\n) -> ContractResult<Result<InstantiateReturnValue<<T as Config>::AccountId>, DispatchError>, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance, EventRecord<<T as Config>::RuntimeEvent, <T as Config>::Hash>>

Instantiate a new contract.

\n

This function is similar to [Self::instantiate], but doesn’t perform any address lookups\nand better suitable for calling directly from Rust.

\n

It returns the execution result, account id and the amount of used weight.

\n
Note
\n

If debug is set to DebugInfo::UnsafeDebug it returns additional human readable debugging\ninformation.

\n

If collect_events is set to CollectEvents::UnsafeCollect it collects all the Events\nemitted in the block so far.

\n

pub fn bare_upload_code(\n origin: <T as Config>::AccountId,\n code: Vec<u8>,\n storage_deposit_limit: Option<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>,\n determinism: Determinism\n) -> Result<CodeUploadReturnValue<<T as Config>::Hash, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>, DispatchError>

Upload new code without instantiating a contract from it.

\n

This function is similar to [Self::upload_code], but doesn’t perform any address lookups\nand better suitable for calling directly from Rust.

\n

pub fn get_storage(\n address: <T as Config>::AccountId,\n key: Vec<u8>\n) -> Result<Option<Vec<u8>>, ContractAccessError>

Query storage of a specified contract under a specified key.

\n

pub fn contract_address(\n deploying_address: &<T as Config>::AccountId,\n code_hash: &<T as Config>::Hash,\n input_data: &[u8],\n salt: &[u8]\n) -> <T as Config>::AccountId

Determine the address of a contract.

\n

This is the address generation function used by contract instantiation. See\n[DefaultAddressGenerator] for the default implementation.

\n

pub fn code_hash(\n account: &<T as Config>::AccountId\n) -> Option<<T as Config>::Hash>

Returns the code hash of the contract specified by account ID.

\n
",0,"ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Clone for Pallet<T>

§

fn clone(&self) -> Pallet<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_idle(\n _block: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
§

fn on_initialize(_n: BlockNumber) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
§

fn on_finalize(_n: BlockNumber)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Callable<T> for Pallet<T>where\n T: Config,\n <<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type: Clone + Eq + PartialEq + Debug + TypeInfo + Encode,

§

type RuntimeCall = Call<T>

","Callable","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,

§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnGenesis for Pallet<T>where\n T: Config,

§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,

§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> IntegrityTest for Pallet<T>where\n T: Config,

§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,

§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> PalletsInfoAccess for Pallet<T>where\n T: Config,

§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,

§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> PartialEq for Pallet<T>

§

fn eq(&self, other: &Pallet<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Debug for Pallet<T>

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Eq for Pallet<T>

","Eq","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,

§

fn index() -> usize

Index of the pallet as configured in the runtime.
§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
§

fn name_hash() -> [u8; 16]

Two128 hash of name.
§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> GetStorageVersion for Pallet<T>where\n T: Config,

§

type CurrentStorageVersion = StorageVersion

This will be filled out by the pallet macro. Read more
§

fn current_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","ink_sandbox::macros::construct_runtime::Contracts"]] +"ink_sandbox":[["
§

impl<T> Pallet<T>where\n T: Config,\n <<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type: Clone + Eq + PartialEq + Debug + TypeInfo + Encode,

pub fn call_old_weight(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: u64,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n data: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

👎Deprecated: 1D weight is used in this extrinsic, please migrate to call

Deprecated version if [Self::call] for use in an in-storage Call.

\n

pub fn instantiate_with_code_old_weight(\n origin: <T as Config>::RuntimeOrigin,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: u64,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n code: Vec<u8>,\n data: Vec<u8>,\n salt: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

👎Deprecated: 1D weight is used in this extrinsic, please migrate to instantiate_with_code

Deprecated version if [Self::instantiate_with_code] for use in an in-storage Call.

\n

pub fn instantiate_old_weight(\n origin: <T as Config>::RuntimeOrigin,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: u64,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n code_hash: <T as Config>::Hash,\n data: Vec<u8>,\n salt: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

👎Deprecated: 1D weight is used in this extrinsic, please migrate to instantiate

Deprecated version if [Self::instantiate] for use in an in-storage Call.

\n

pub fn upload_code(\n origin: <T as Config>::RuntimeOrigin,\n code: Vec<u8>,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n determinism: Determinism\n) -> Result<(), DispatchError>

Upload new code without instantiating a contract from it.

\n

If the code does not already exist a deposit is reserved from the caller\nand unreserved only when [Self::remove_code] is called. The size of the reserve\ndepends on the size of the supplied code.

\n

If the code already exists in storage it will still return Ok and upgrades\nthe in storage version to the current\nInstructionWeights::version.

\n
    \n
  • determinism: If this is set to any other value but [Determinism::Enforced] then\nthe only way to use this code is to delegate call into it from an offchain execution.\nSet to [Determinism::Enforced] if in doubt.
  • \n
\n
Note
\n

Anyone can instantiate a contract from any uploaded code and thus prevent its removal.\nTo avoid this situation a constructor could employ access control so that it can\nonly be instantiated by permissioned entities. The same is true when uploading\nthrough [Self::instantiate_with_code].

\n

Use [Determinism::Relaxed] exclusively for non-deterministic code. If the uploaded\ncode is deterministic, specifying [Determinism::Relaxed] will be disregarded and\nresult in higher gas costs.

\n

pub fn remove_code(\n origin: <T as Config>::RuntimeOrigin,\n code_hash: <T as Config>::Hash\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Remove the code stored under code_hash and refund the deposit to its owner.

\n

A code can only be removed by its original uploader (its owner) and only if it is\nnot used by any contract.

\n

pub fn set_code(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n code_hash: <T as Config>::Hash\n) -> Result<(), DispatchError>

Privileged function that changes the code of an existing contract.

\n

This takes care of updating refcounts and all other necessary operations. Returns\nan error if either the code_hash or dest do not exist.

\n
Note
\n

This does not change the address of the contract in question. This means\nthat the contract address is no longer derived from its code hash after calling\nthis dispatchable.

\n

pub fn call(\n origin: <T as Config>::RuntimeOrigin,\n dest: <<T as Config>::Lookup as StaticLookup>::Source,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n data: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Makes a call to an account, optionally transferring some balance.

\n
Parameters
\n
    \n
  • \n

    dest: Address of the contract to call.

    \n
  • \n
  • \n

    value: The balance to transfer from the origin to dest.

    \n
  • \n
  • \n

    gas_limit: The gas limit enforced when executing the constructor.

    \n
  • \n
  • \n

    storage_deposit_limit: The maximum amount of balance that can be charged from the\ncaller to pay for the storage consumed.

    \n
  • \n
  • \n

    data: The input data to pass to the contract.

    \n
  • \n
  • \n

    If the account is a smart-contract account, the associated code will be\nexecuted and any value will be transferred.

    \n
  • \n
  • \n

    If the account is a regular account, any value will be transferred.

    \n
  • \n
  • \n

    If no account exists and the call value is not less than existential_deposit,\na regular account will be created and any value will be transferred.

    \n
  • \n
\n

pub fn instantiate_with_code(\n origin: <T as Config>::RuntimeOrigin,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n code: Vec<u8>,\n data: Vec<u8>,\n salt: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Instantiates a new contract from the supplied code optionally transferring\nsome balance.

\n

This dispatchable has the same effect as calling [Self::upload_code] +\n[Self::instantiate]. Bundling them together provides efficiency gains. Please\nalso check the documentation of [Self::upload_code].

\n
Parameters
\n
    \n
  • value: The balance to transfer from the origin to the newly created contract.
  • \n
  • gas_limit: The gas limit enforced when executing the constructor.
  • \n
  • storage_deposit_limit: The maximum amount of balance that can be charged/reserved\nfrom the caller to pay for the storage consumed.
  • \n
  • code: The contract code to deploy in raw bytes.
  • \n
  • data: The input data to pass to the contract constructor.
  • \n
  • salt: Used for the address derivation. See [Pallet::contract_address].
  • \n
\n

Instantiation is executed as follows:

\n
    \n
  • The supplied code is deployed, and a code_hash is created for that code.
  • \n
  • If the code_hash already exists on the chain the underlying code will be shared.
  • \n
  • The destination address is computed based on the sender, code_hash and the salt.
  • \n
  • The smart-contract account is created at the computed address.
  • \n
  • The value is transferred to the new account.
  • \n
  • The deploy function is executed in the context of the newly-created account.
  • \n
\n

pub fn instantiate(\n origin: <T as Config>::RuntimeOrigin,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type>,\n code_hash: <T as Config>::Hash,\n data: Vec<u8>,\n salt: Vec<u8>\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

Instantiates a contract from a previously deployed wasm binary.

\n

This function is identical to [Self::instantiate_with_code] but without the\ncode deployment step. Instead, the code_hash of an on-chain deployed wasm binary\nmust be supplied.

\n

pub fn migrate(\n origin: <T as Config>::RuntimeOrigin,\n weight_limit: Weight\n) -> Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>

When a migration is in progress, this dispatchable can be used to run migration steps.\nCalls that contribute to advancing the migration have their fees waived, as it’s helpful\nfor the chain. Note that while the migration is in progress, the pallet will also\nleverage the on_idle hooks to run migration steps.

\n
",0,"ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn bare_call(\n origin: <T as Config>::AccountId,\n dest: <T as Config>::AccountId,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>,\n data: Vec<u8>,\n debug: DebugInfo,\n collect_events: CollectEvents,\n determinism: Determinism\n) -> ContractResult<Result<ExecReturnValue, DispatchError>, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance, EventRecord<<T as Config>::RuntimeEvent, <T as Config>::Hash>>

Perform a call to a specified contract.

\n

This function is similar to [Self::call], but doesn’t perform any address lookups\nand better suitable for calling directly from Rust.

\n
Note
\n

If debug is set to DebugInfo::UnsafeDebug it returns additional human readable debugging\ninformation.

\n

If collect_events is set to CollectEvents::UnsafeCollect it collects all the Events\nemitted in the block so far and the ones emitted during the execution of this contract.

\n

pub fn bare_instantiate(\n origin: <T as Config>::AccountId,\n value: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance,\n gas_limit: Weight,\n storage_deposit_limit: Option<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>,\n code: Code<<T as Config>::Hash>,\n data: Vec<u8>,\n salt: Vec<u8>,\n debug: DebugInfo,\n collect_events: CollectEvents\n) -> ContractResult<Result<InstantiateReturnValue<<T as Config>::AccountId>, DispatchError>, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance, EventRecord<<T as Config>::RuntimeEvent, <T as Config>::Hash>>

Instantiate a new contract.

\n

This function is similar to [Self::instantiate], but doesn’t perform any address lookups\nand better suitable for calling directly from Rust.

\n

It returns the execution result, account id and the amount of used weight.

\n
Note
\n

If debug is set to DebugInfo::UnsafeDebug it returns additional human readable debugging\ninformation.

\n

If collect_events is set to CollectEvents::UnsafeCollect it collects all the Events\nemitted in the block so far.

\n

pub fn bare_upload_code(\n origin: <T as Config>::AccountId,\n code: Vec<u8>,\n storage_deposit_limit: Option<<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>,\n determinism: Determinism\n) -> Result<CodeUploadReturnValue<<T as Config>::Hash, <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance>, DispatchError>

Upload new code without instantiating a contract from it.

\n

This function is similar to [Self::upload_code], but doesn’t perform any address lookups\nand better suitable for calling directly from Rust.

\n

pub fn get_storage(\n address: <T as Config>::AccountId,\n key: Vec<u8>\n) -> Result<Option<Vec<u8>>, ContractAccessError>

Query storage of a specified contract under a specified key.

\n

pub fn contract_address(\n deploying_address: &<T as Config>::AccountId,\n code_hash: &<T as Config>::Hash,\n input_data: &[u8],\n salt: &[u8]\n) -> <T as Config>::AccountId

Determine the address of a contract.

\n

This is the address generation function used by contract instantiation. See\n[DefaultAddressGenerator] for the default implementation.

\n

pub fn code_hash(\n account: &<T as Config>::AccountId\n) -> Option<<T as Config>::Hash>

Returns the code hash of the contract specified by account ID.

\n
",0,"ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Clone for Pallet<T>

§

fn clone(&self) -> Pallet<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> GetStorageVersion for Pallet<T>where\n T: Config,

§

type InCodeStorageVersion = StorageVersion

This type is generated by the pallet macro. Read more
§

fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion

Returns the in-code storage version as specified in the\nstorage_version attribute, or\n[NoStorageVersionSet] if the attribute is missing.
§

fn on_chain_storage_version() -> StorageVersion

Returns the storage version of the pallet as last set in the actual on-chain storage.
§

fn current_storage_version() -> Self::InCodeStorageVersion

👎Deprecated: This method has been renamed to in_code_storage_version and will be removed after March 2024.
DEPRECATED: Use [Self::current_storage_version] instead. Read more
","GetStorageVersion","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> PalletsInfoAccess for Pallet<T>where\n T: Config,

§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_idle(\n _block: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
§

fn on_initialize(_n: BlockNumber) -> Weight

Block initialization hook. This is called at the very beginning of block execution. Read more
§

fn on_finalize(_n: BlockNumber)

Block finalization hook. This is called at the very end of block execution. Read more
§

fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)

A hook to run logic after inherent application. Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive pallet. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Callable<T> for Pallet<T>where\n T: Config,\n <<<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance as HasCompact>::Type: Clone + Eq + PartialEq + Debug + TypeInfo + Encode,

§

type RuntimeCall = Call<T>

","Callable","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,

§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,

§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_poll(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n weight: &mut WeightMeter\n)

Code to execute every now and then at the beginning of the block after inherent application. Read more
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnGenesis for Pallet<T>where\n T: Config,

§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,

§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> PartialEq for Pallet<T>

§

fn eq(&self, other: &Pallet<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,

§

fn index() -> usize

Index of the pallet as configured in the runtime.
§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
§

fn name_hash() -> [u8; 16]

Two128 hash of name.
§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Debug for Pallet<T>

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> Eq for Pallet<T>

","Eq","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,

§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","ink_sandbox::macros::construct_runtime::Contracts"],["
§

impl<T> IntegrityTest for Pallet<T>where\n T: Config,

§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","ink_sandbox::macros::construct_runtime::Contracts"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/pallet_contracts_mock_network/parachain/struct.RuntimeGenesisConfig.js b/type.impl/pallet_contracts_mock_network/parachain/struct.RuntimeGenesisConfig.js deleted file mode 100644 index e8691a459a..0000000000 --- a/type.impl/pallet_contracts_mock_network/parachain/struct.RuntimeGenesisConfig.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var type_impls = { -"ink_e2e":[] -};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/pallet_contracts_mock_network/relay_chain/struct.RuntimeGenesisConfig.js b/type.impl/pallet_contracts_mock_network/relay_chain/struct.RuntimeGenesisConfig.js deleted file mode 100644 index e8691a459a..0000000000 --- a/type.impl/pallet_contracts_mock_network/relay_chain/struct.RuntimeGenesisConfig.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var type_impls = { -"ink_e2e":[] -};if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/pallet_timestamp/pallet/struct.Pallet.js b/type.impl/pallet_timestamp/pallet/struct.Pallet.js index e546412783..311479a264 100644 --- a/type.impl/pallet_timestamp/pallet/struct.Pallet.js +++ b/type.impl/pallet_timestamp/pallet/struct.Pallet.js @@ -1,4 +1,4 @@ (function() {var type_impls = { "ink_e2e":[], -"ink_sandbox":[["
§

impl<T> Pallet<T>where\n T: Config,

pub fn set(\n origin: <T as Config>::RuntimeOrigin,\n now: <T as Config>::Moment\n) -> Result<(), DispatchError>

Set the current time.

\n

This call should be invoked exactly once per block. It will panic at the finalization\nphase, if this call hasn’t been invoked by that time.

\n

The timestamp should be greater than the previous one by the amount specified by\n[Config::MinimumPeriod].

\n

The dispatch origin for this call must be None.

\n

This dispatch class is Mandatory to ensure it gets executed in the block. Be aware\nthat changing the complexity of this call could result exhausting the resources in a\nblock to execute any other calls.

\n
Complexity
\n
    \n
  • O(1) (Note that implementations of OnTimestampSet must also be O(1))
  • \n
  • 1 storage read and 1 storage mutation (codec O(1) because of DidUpdate::take in\non_finalize)
  • \n
  • 1 event handler on_timestamp_set. Must be O(1).
  • \n
\n
",0,"ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn now() -> <T as Config>::Moment

An auto-generated getter for [Now].

\n
",0,"ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn get() -> <T as Config>::Moment

Get the current time for the current block.

\n

NOTE: if this function is called prior to setting the timestamp,\nit will return the timestamp of the previous block.

\n

pub fn set_timestamp(now: <T as Config>::Moment)

Set the timestamp to something in particular. Only used for tests.

\n
",0,"ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnGenesis for Pallet<T>where\n T: Config,

§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Clone for Pallet<T>

§

fn clone(&self) -> Pallet<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Time for Pallet<T>where\n T: Config,

§

type Moment = <T as Config>::Moment

A type that represents a unit of time.

\n
§

fn now() -> <Pallet<T> as Time>::Moment

","Time","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> ProvideInherent for Pallet<T>where\n T: Config,

To check the inherent is valid, we simply take the max value between the current timestamp\nand the current timestamp plus the [Config::MinimumPeriod].\nWe also check that the timestamp has not already been set in this block.

\n
Errors:
\n
    \n
  • [InherentError::TooFarInFuture]: If the timestamp is larger than the current timestamp +\nminimum drift period.
  • \n
  • [InherentError::TooEarly]: If the timestamp is less than the current + minimum period.
  • \n
\n
§

type Call = Call<T>

The call type of the pallet.
§

type Error = InherentError

The error returned by check_inherent.
§

const INHERENT_IDENTIFIER: [u8; 8] = INHERENT_IDENTIFIER

The inherent identifier used by this inherent.
§

fn create_inherent(\n data: &InherentData\n) -> Option<<Pallet<T> as ProvideInherent>::Call>

Create an inherent out of the given InherentData. Read more
§

fn check_inherent(\n call: &<Pallet<T> as ProvideInherent>::Call,\n data: &InherentData\n) -> Result<(), <Pallet<T> as ProvideInherent>::Error>

Check whether the given inherent is valid. Checking the inherent is optional and can be\nomitted by using the default implementation. Read more
§

fn is_inherent(call: &<Pallet<T> as ProvideInherent>::Call) -> bool

Return whether the call is an inherent call. Read more
§

fn is_inherent_required(\n _: &InherentData\n) -> Result<Option<Self::Error>, Self::Error>

Determines whether this inherent is required in this block. Read more
","ProvideInherent","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> PalletsInfoAccess for Pallet<T>where\n T: Config,

§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> PartialEq for Pallet<T>

§

fn eq(&self, other: &Pallet<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,

§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> IntegrityTest for Pallet<T>where\n T: Config,

§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,

§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,

§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,

§

fn index() -> usize

Index of the pallet as configured in the runtime.
§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
§

fn name_hash() -> [u8; 16]

Two128 hash of name.
§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Debug for Pallet<T>

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Eq for Pallet<T>

","Eq","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> GetStorageVersion for Pallet<T>where\n T: Config,

§

type CurrentStorageVersion = NoStorageVersionSet

This will be filled out by the pallet macro. Read more
§

fn current_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::CurrentStorageVersion

Returns the current storage version as supported by the pallet.
§

fn on_chain_storage_version() -> StorageVersion

Returns the on-chain storage version of the pallet as stored in the storage.
","GetStorageVersion","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> UnixTime for Pallet<T>where\n T: Config,

Before the timestamp inherent is applied, it returns the time of previous block.

\n

On genesis the time returned is not valid.

\n
§

fn now() -> Duration

Return duration since SystemTime::UNIX_EPOCH.
","UnixTime","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Callable<T> for Pallet<T>where\n T: Config,

§

type RuntimeCall = Call<T>

","Callable","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_initialize(\n _n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

A dummy on_initialize to return the amount of weight that on_finalize requires to\nexecute.

\n
§

fn on_finalize(\n _n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

At the end of block execution, the on_finalize hook checks that the timestamp was\nupdated. Upon success, it removes the boolean value from storage. If the value resolves\nto false, the pallet will panic.

\n
Complexity
\n
    \n
  • O(1)
  • \n
\n
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by FRAME. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main wasm runtime. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,

§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","ink_sandbox::macros::construct_runtime::Timestamp"]] +"ink_sandbox":[["
§

impl<T> Pallet<T>where\n T: Config,

pub fn set(\n origin: <T as Config>::RuntimeOrigin,\n now: <T as Config>::Moment\n) -> Result<(), DispatchError>

Set the current time.

\n

This call should be invoked exactly once per block. It will panic at the finalization\nphase, if this call hasn’t been invoked by that time.

\n

The timestamp should be greater than the previous one by the amount specified by\n[Config::MinimumPeriod].

\n

The dispatch origin for this call must be None.

\n

This dispatch class is Mandatory to ensure it gets executed in the block. Be aware\nthat changing the complexity of this call could result exhausting the resources in a\nblock to execute any other calls.

\n
Complexity
\n
    \n
  • O(1) (Note that implementations of OnTimestampSet must also be O(1))
  • \n
  • 1 storage read and 1 storage mutation (codec O(1) because of DidUpdate::take in\non_finalize)
  • \n
  • 1 event handler on_timestamp_set. Must be O(1).
  • \n
\n
",0,"ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn now() -> <T as Config>::Moment

An auto-generated getter for [Now].

\n
",0,"ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Pallet<T>where\n T: Config,

pub fn get() -> <T as Config>::Moment

Get the current time for the current block.

\n

NOTE: if this function is called prior to setting the timestamp,\nit will return the timestamp of the previous block.

\n

pub fn set_timestamp(now: <T as Config>::Moment)

Set the timestamp to something in particular. Only used for tests.

\n
",0,"ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OffchainWorker<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn offchain_worker(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

This function is being called after every block import (when fully synced). Read more
","OffchainWorker<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> PalletsInfoAccess for Pallet<T>where\n T: Config,

§

fn count() -> usize

The number of pallets’ information that this type represents. Read more
§

fn infos() -> Vec<PalletInfoData>

All of the pallets’ information that this type represents.
","PalletsInfoAccess","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Clone for Pallet<T>

§

fn clone(&self) -> Pallet<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> ProvideInherent for Pallet<T>where\n T: Config,

To check the inherent is valid, we simply take the max value between the current timestamp\nand the current timestamp plus the [Config::MinimumPeriod].\nWe also check that the timestamp has not already been set in this block.

\n
Errors:
\n
    \n
  • [InherentError::TooFarInFuture]: If the timestamp is larger than the current timestamp +\nminimum drift period.
  • \n
  • [InherentError::TooEarly]: If the timestamp is less than the current + minimum period.
  • \n
\n
§

type Call = Call<T>

The call type of the pallet.
§

type Error = InherentError

The error returned by check_inherent.
§

const INHERENT_IDENTIFIER: [u8; 8] = INHERENT_IDENTIFIER

The inherent identifier used by this inherent.
§

fn create_inherent(\n data: &InherentData\n) -> Option<<Pallet<T> as ProvideInherent>::Call>

Create an inherent out of the given InherentData. Read more
§

fn check_inherent(\n call: &<Pallet<T> as ProvideInherent>::Call,\n data: &InherentData\n) -> Result<(), <Pallet<T> as ProvideInherent>::Error>

Check whether the given inherent is valid. Checking the inherent is optional and can be\nomitted by using the default implementation. Read more
§

fn is_inherent(call: &<Pallet<T> as ProvideInherent>::Call) -> bool

Return whether the call is an inherent call. Read more
§

fn is_inherent_required(\n _: &InherentData\n) -> Result<Option<Self::Error>, Self::Error>

Determines whether this inherent is required in this block. Read more
","ProvideInherent","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> StorageInfoTrait for Pallet<T>where\n T: Config,

§

fn storage_info() -> Vec<StorageInfo>

","StorageInfoTrait","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> BeforeAllRuntimeMigrations for Pallet<T>where\n T: Config,

§

fn before_all_runtime_migrations() -> Weight

Something that should happen before runtime migrations are executed.
","BeforeAllRuntimeMigrations","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> PartialEq for Pallet<T>

§

fn eq(&self, other: &Pallet<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> IntegrityTest for Pallet<T>where\n T: Config,

§

fn integrity_test()

See [Hooks::integrity_test].
","IntegrityTest","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Time for Pallet<T>where\n T: Config,

§

type Moment = <T as Config>::Moment

A type that represents a unit of time.

\n
§

fn now() -> <Pallet<T> as Time>::Moment

","Time","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnIdle<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_idle(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n remaining_weight: Weight\n) -> Weight

See [Hooks::on_idle].
","OnIdle<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnGenesis for Pallet<T>where\n T: Config,

§

fn on_genesis()

Something that should happen at genesis.
","OnGenesis","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Debug for Pallet<T>

§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Eq for Pallet<T>

","Eq","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Hooks<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_initialize(\n _n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

A dummy on_initialize to return the amount of weight that on_finalize requires to\nexecute.

\n
§

fn on_finalize(\n _n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

At the end of block execution, the on_finalize hook checks that the timestamp was\nupdated. Upon success, it removes the boolean value from storage. If the value resolves\nto false, the pallet will panic.

\n
Complexity
\n
    \n
  • O(1)
  • \n
\n
§

fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight

Hook to consume a block’s idle time. This will run when the block is being finalized (before\n[Hooks::on_finalize]). Read more
§

fn on_poll(_n: BlockNumber, _weight: &mut WeightMeter)

A hook to run logic after inherent application. Read more
§

fn on_runtime_upgrade() -> Weight

Hook executed when a code change (aka. a “runtime upgrade”) is detected by the FRAME\nExecutive pallet. Read more
§

fn offchain_worker(_n: BlockNumber)

Implementing this function on a pallet allows you to perform long-running tasks that are\ndispatched as separate threads, and entirely independent of the main blockchain execution. Read more
§

fn integrity_test()

Check the integrity of this pallet’s configuration. Read more
","Hooks<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnRuntimeUpgrade for Pallet<T>where\n T: Config,

§

fn on_runtime_upgrade() -> Weight

See [Hooks::on_runtime_upgrade].
","OnRuntimeUpgrade","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnPoll<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_poll(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number,\n weight: &mut WeightMeter\n)

Code to execute every now and then at the beginning of the block after inherent application. Read more
","OnPoll<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnInitialize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_initialize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n) -> Weight

See [Hooks::on_initialize].
","OnInitialize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> Callable<T> for Pallet<T>where\n T: Config,

§

type RuntimeCall = Call<T>

","Callable","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> PalletInfoAccess for Pallet<T>where\n T: Config,

§

fn index() -> usize

Index of the pallet as configured in the runtime.
§

fn name() -> &'static str

Name of the pallet as configured in the runtime.
§

fn name_hash() -> [u8; 16]

Two128 hash of name.
§

fn module_name() -> &'static str

Name of the Rust module containing the pallet.
§

fn crate_version() -> CrateVersion

Version of the crate containing the pallet.
","PalletInfoAccess","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> WhitelistedStorageKeys for Pallet<T>where\n T: Config,

§

fn whitelisted_storage_keys() -> Vec<TrackedStorageKey>

Returns a Vec<TrackedStorageKey> indicating the storage keys that\nshould be whitelisted during benchmarking. This means that those keys\nwill be excluded from the benchmarking performance calculation.
","WhitelistedStorageKeys","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> GetStorageVersion for Pallet<T>where\n T: Config,

§

type InCodeStorageVersion = NoStorageVersionSet

This type is generated by the pallet macro. Read more
§

fn in_code_storage_version(\n) -> <Pallet<T> as GetStorageVersion>::InCodeStorageVersion

Returns the in-code storage version as specified in the\nstorage_version attribute, or\n[NoStorageVersionSet] if the attribute is missing.
§

fn on_chain_storage_version() -> StorageVersion

Returns the storage version of the pallet as last set in the actual on-chain storage.
§

fn current_storage_version() -> Self::InCodeStorageVersion

👎Deprecated: This method has been renamed to in_code_storage_version and will be removed after March 2024.
DEPRECATED: Use [Self::current_storage_version] instead. Read more
","GetStorageVersion","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> OnFinalize<<<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number> for Pallet<T>where\n T: Config,

§

fn on_finalize(\n n: <<<T as Config>::Block as HeaderProvider>::HeaderT as Header>::Number\n)

See [Hooks::on_finalize].
","OnFinalize<<<::Block as HeaderProvider>::HeaderT as Header>::Number>","ink_sandbox::macros::construct_runtime::Timestamp"],["
§

impl<T> UnixTime for Pallet<T>where\n T: Config,

Before the timestamp inherent is applied, it returns the time of previous block.

\n

On genesis the time returned is not valid.

\n
§

fn now() -> Duration

Return duration since SystemTime::UNIX_EPOCH.
","UnixTime","ink_sandbox::macros::construct_runtime::Timestamp"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file diff --git a/type.impl/scale_info/ty/path/struct.Path.js b/type.impl/scale_info/ty/path/struct.Path.js index 553761f93b..6d5aa5e87a 100644 --- a/type.impl/scale_info/ty/path/struct.Path.js +++ b/type.impl/scale_info/ty/path/struct.Path.js @@ -1,3 +1,3 @@ (function() {var type_impls = { -"ink_metadata":[["
§

impl Path

pub fn new(ident: &'static str, module_path: &'static str) -> Path

Create a new Path

\n
Panics
\n
    \n
  • If the type identifier or module path contain invalid Rust identifiers
  • \n
\n

pub fn new_with_replace(\n ident: &'static str,\n module_path: &'static str,\n segment_replace: &[(&'static str, &'static str)]\n) -> Path

Create a new Path

\n

The segment_replace is a list of (search, replace) items. Every\nsearch item that appears in the module_path is replaced by the\nreplace item. This can be used for example to replace the crate name\nor even the name of the type in the final [Path].

\n
Panics
\n
    \n
  • If the type identifier, module path or replace contain invalid Rust identifiers
  • \n
\n

pub fn from_segments<I>(segments: I) -> Result<Path, PathError>where\n I: IntoIterator<Item = <MetaForm as Form>::String>,

Create a Path from the given segments

\n
Errors
\n
    \n
  • If no segments are supplied
  • \n
  • If any of the segments are invalid Rust identifiers
  • \n
\n
",0,"ink_metadata::specs::DisplayName"],["
§

impl<T> Path<T>where\n T: Form,

pub fn from_segments_unchecked<I>(segments: I) -> Path<T>where\n I: IntoIterator<Item = <T as Form>::String>,

Create a Path from the given segments.

\n

Does not check that the segments are valid Rust identifiers.

\n

pub fn segments(&self) -> &[<T as Form>::String]

👎Deprecated since 2.5.0: Prefer to access the fields directly; this getter will be removed in the next major version

Returns the segments of the Path

\n

pub fn is_empty(&self) -> bool

Returns true if the path is empty

\n

pub fn ident(&self) -> Option<<T as Form>::String>

Get the ident segment of the Path

\n

pub fn namespace(&self) -> &[<T as Form>::String]

Get the namespace segments of the Path

\n
",0,"ink_metadata::specs::DisplayName"],["
§

impl<T> Debug for Path<T>where\n T: Debug + Form,\n <T as Form>::String: Debug,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_metadata::specs::DisplayName"],["
§

impl<T> StructuralEq for Path<T>where\n T: Form,

","StructuralEq","ink_metadata::specs::DisplayName"],["
§

impl IntoPortable for Path

§

type Output = Path<PortableForm>

The portable version of Self.
§

fn into_portable(\n self,\n _registry: &mut Registry\n) -> <Path as IntoPortable>::Output

Convert self to the portable form by using the registry for caching.
","IntoPortable","ink_metadata::specs::DisplayName"],["
§

impl<T> Clone for Path<T>where\n T: Clone + Form,\n <T as Form>::String: Clone,

§

fn clone(&self) -> Path<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_metadata::specs::DisplayName"],["
§

impl<T> Default for Path<T>where\n T: Form,

§

fn default() -> Path<T>

Returns the “default value” for a type. Read more
","Default","ink_metadata::specs::DisplayName"],["
§

impl<T> Eq for Path<T>where\n T: Eq + Form,\n <T as Form>::String: Eq,

","Eq","ink_metadata::specs::DisplayName"],["
§

impl<T> PartialOrd for Path<T>where\n T: PartialOrd + Form,\n <T as Form>::String: PartialOrd,

§

fn partial_cmp(&self, other: &Path<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","ink_metadata::specs::DisplayName"],["
§

impl<T> Encode for Path<T>where\n T: Form,\n Vec<<T as Form>::String>: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<__CodecOutputEdqy>(\n &self,\n __codec_dest_edqy: &mut __CodecOutputEdqy\n)where\n __CodecOutputEdqy: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>(\n &self,\n f: __CodecUsingEncodedCallback\n) -> __CodecOutputReturnwhere\n __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_metadata::specs::DisplayName"],["
§

impl<T> Serialize for Path<T>where\n T: Form,\n <T as Form>::Type: Serialize,\n <T as Form>::String: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink_metadata::specs::DisplayName"],["
§

impl<T> StructuralPartialEq for Path<T>where\n T: Form,

","StructuralPartialEq","ink_metadata::specs::DisplayName"],["
§

impl<T> Ord for Path<T>where\n T: Ord + Form,\n <T as Form>::String: Ord,

§

fn cmp(&self, other: &Path<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","ink_metadata::specs::DisplayName"],["
§

impl Display for Path<PortableForm>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","ink_metadata::specs::DisplayName"],["
§

impl<T> PartialEq for Path<T>where\n T: PartialEq + Form,\n <T as Form>::String: PartialEq,

§

fn eq(&self, other: &Path<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_metadata::specs::DisplayName"],["
§

impl<T> JsonSchema for Path<T>where\n T: Form + JsonSchema,

§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
","JsonSchema","ink_metadata::specs::DisplayName"],["
§

impl<T> EncodeLike for Path<T>where\n T: Form,\n Vec<<T as Form>::String>: Encode,

","EncodeLike","ink_metadata::specs::DisplayName"],["
§

impl<T> Decode for Path<T>where\n T: Form,\n Vec<<T as Form>::String>: Decode,

§

fn decode<__CodecInputEdqy>(\n __codec_input_edqy: &mut __CodecInputEdqy\n) -> Result<Path<T>, Error>where\n __CodecInputEdqy: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink_metadata::specs::DisplayName"],["
§

impl<'de, T> Deserialize<'de> for Path<T>where\n T: Form,\n <T as Form>::Type: DeserializeOwned,\n <T as Form>::String: DeserializeOwned,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<Path<T>, <__D as Deserializer<'de>>::Error>where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","ink_metadata::specs::DisplayName"]] +"ink_metadata":[["
§

impl Path

pub fn new(ident: &'static str, module_path: &'static str) -> Path

Create a new Path

\n
Panics
\n
    \n
  • If the type identifier or module path contain invalid Rust identifiers
  • \n
\n

pub fn new_with_replace(\n ident: &'static str,\n module_path: &'static str,\n segment_replace: &[(&'static str, &'static str)]\n) -> Path

Create a new Path

\n

The segment_replace is a list of (search, replace) items. Every\nsearch item that appears in the module_path is replaced by the\nreplace item. This can be used for example to replace the crate name\nor even the name of the type in the final [Path].

\n
Panics
\n
    \n
  • If the type identifier, module path or replace contain invalid Rust identifiers
  • \n
\n

pub fn from_segments<I>(segments: I) -> Result<Path, PathError>where\n I: IntoIterator<Item = <MetaForm as Form>::String>,

Create a Path from the given segments

\n
Errors
\n
    \n
  • If no segments are supplied
  • \n
  • If any of the segments are invalid Rust identifiers
  • \n
\n
",0,"ink_metadata::specs::DisplayName"],["
§

impl<T> Path<T>where\n T: Form,

pub fn from_segments_unchecked<I>(segments: I) -> Path<T>where\n I: IntoIterator<Item = <T as Form>::String>,

Create a Path from the given segments.

\n

Does not check that the segments are valid Rust identifiers.

\n

pub fn segments(&self) -> &[<T as Form>::String]

👎Deprecated since 2.5.0: Prefer to access the fields directly; this getter will be removed in the next major version

Returns the segments of the Path

\n

pub fn is_empty(&self) -> bool

Returns true if the path is empty

\n

pub fn ident(&self) -> Option<<T as Form>::String>

Get the ident segment of the Path

\n

pub fn namespace(&self) -> &[<T as Form>::String]

Get the namespace segments of the Path

\n
",0,"ink_metadata::specs::DisplayName"],["
§

impl<T> Debug for Path<T>where\n T: Debug + Form,\n <T as Form>::String: Debug,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","ink_metadata::specs::DisplayName"],["
§

impl<T> StructuralEq for Path<T>where\n T: Form,

","StructuralEq","ink_metadata::specs::DisplayName"],["
§

impl<T> Clone for Path<T>where\n T: Clone + Form,\n <T as Form>::String: Clone,

§

fn clone(&self) -> Path<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
","Clone","ink_metadata::specs::DisplayName"],["
§

impl<T> Default for Path<T>where\n T: Form,

§

fn default() -> Path<T>

Returns the “default value” for a type. Read more
","Default","ink_metadata::specs::DisplayName"],["
§

impl<T> Eq for Path<T>where\n T: Eq + Form,\n <T as Form>::String: Eq,

","Eq","ink_metadata::specs::DisplayName"],["
§

impl<T> PartialOrd for Path<T>where\n T: PartialOrd + Form,\n <T as Form>::String: PartialOrd,

§

fn partial_cmp(&self, other: &Path<T>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <=\noperator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >=\noperator. Read more
","PartialOrd","ink_metadata::specs::DisplayName"],["
§

impl<T> Encode for Path<T>where\n T: Form,\n Vec<<T as Form>::String>: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<__CodecOutputEdqy>(\n &self,\n __codec_dest_edqy: &mut __CodecOutputEdqy\n)where\n __CodecOutputEdqy: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8>

Convert self to an owned vector.
§

fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback>(\n &self,\n f: __CodecUsingEncodedCallback\n) -> __CodecOutputReturnwhere\n __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
","Encode","ink_metadata::specs::DisplayName"],["
§

impl<T> Serialize for Path<T>where\n T: Form,\n <T as Form>::Type: Serialize,\n <T as Form>::String: Serialize,

§

fn serialize<__S>(\n &self,\n __serializer: __S\n) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where\n __S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","ink_metadata::specs::DisplayName"],["
§

impl<T> StructuralPartialEq for Path<T>where\n T: Form,

","StructuralPartialEq","ink_metadata::specs::DisplayName"],["
§

impl IntoPortable for Path

§

type Output = Path<PortableForm>

The portable version of Self.
§

fn into_portable(\n self,\n _registry: &mut Registry\n) -> <Path as IntoPortable>::Output

Convert self to the portable form by using the registry for caching.
","IntoPortable","ink_metadata::specs::DisplayName"],["
§

impl<T> PartialEq for Path<T>where\n T: PartialEq + Form,\n <T as Form>::String: PartialEq,

§

fn eq(&self, other: &Path<T>) -> bool

This method tests for self and other values to be equal, and is used\nby ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
","PartialEq","ink_metadata::specs::DisplayName"],["
§

impl<T> Ord for Path<T>where\n T: Ord + Form,\n <T as Form>::String: Ord,

§

fn cmp(&self, other: &Path<T>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","ink_metadata::specs::DisplayName"],["
§

impl Display for Path<PortableForm>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Display","ink_metadata::specs::DisplayName"],["
§

impl<T> JsonSchema for Path<T>where\n T: Form + JsonSchema,

§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more
§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
","JsonSchema","ink_metadata::specs::DisplayName"],["
§

impl<T> EncodeLike for Path<T>where\n T: Form,\n Vec<<T as Form>::String>: Encode,

","EncodeLike","ink_metadata::specs::DisplayName"],["
§

impl<T> Decode for Path<T>where\n T: Form,\n Vec<<T as Form>::String>: Decode,

§

fn decode<__CodecInputEdqy>(\n __codec_input_edqy: &mut __CodecInputEdqy\n) -> Result<Path<T>, Error>where\n __CodecInputEdqy: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>(\n input: &mut I,\n dst: &mut MaybeUninit<Self>\n) -> Result<DecodeFinished, Error>where\n I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where\n I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
","Decode","ink_metadata::specs::DisplayName"],["
§

impl<'de, T> Deserialize<'de> for Path<T>where\n T: Form,\n <T as Form>::Type: DeserializeOwned,\n <T as Form>::String: DeserializeOwned,

§

fn deserialize<__D>(\n __deserializer: __D\n) -> Result<Path<T>, <__D as Deserializer<'de>>::Error>where\n __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","ink_metadata::specs::DisplayName"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file