Trait gclient::ext::sp_core::sp_std::default::Default

1.0.0 · source ·
pub trait Default: Sized {
    // Required method
    fn default() -> Self;
}
Expand description

A trait for giving a type a useful default value.

Sometimes, you want to fall back to some kind of default value, and don’t particularly care what it is. This comes up often with structs that define a set of options:

struct SomeOptions {
    foo: i32,
    bar: f32,
}

How can we define some default values? You can use Default:

#[derive(Default)]
struct SomeOptions {
    foo: i32,
    bar: f32,
}

fn main() {
    let options: SomeOptions = Default::default();
}

Now, you get all of the default values. Rust implements Default for various primitives types.

If you want to override a particular option, but still retain the other defaults:

fn main() {
    let options = SomeOptions { foo: 42, ..Default::default() };
}

§Derivable

This trait can be used with #[derive] if all of the type’s fields implement Default. When derived, it will use the default value for each field’s type.

§enums

When using #[derive(Default)] on an enum, you need to choose which unit variant will be default. You do this by placing the #[default] attribute on the variant.

#[derive(Default)]
enum Kind {
    #[default]
    A,
    B,
    C,
}

You cannot use the #[default] attribute on non-unit or non-exhaustive variants.

The #[default] attribute was stabilized in Rust 1.62.0.

§How can I implement Default?

Provide an implementation for the default() method that returns the value of your type that should be the default:

enum Kind {
    A,
    B,
    C,
}

impl Default for Kind {
    fn default() -> Self { Kind::A }
}

§Examples

#[derive(Default)]
struct SomeOptions {
    foo: i32,
    bar: f32,
}

Required Methods§

1.0.0 · source

fn default() -> Self

Returns the “default value” for a type.

Default values are often some kind of initial value, identity value, or anything else that may make sense as a default.

§Examples

Using built-in default values:

let i: i8 = Default::default();
let (x, y): (Option<String>, f64) = Default::default();
let (a, b, (c, d)): (i32, u32, (bool, bool)) = Default::default();

Making your own:

enum Kind {
    A,
    B,
    C,
}

impl Default for Kind {
    fn default() -> Self { Kind::A }
}

Object Safety§

This trait is not object safe.

Implementors§

1.0.0 · source§

impl Default for &str

1.10.0 · source§

impl Default for &CStr

1.9.0 · source§

impl Default for &OsStr

1.28.0 · source§

impl Default for &mut str

source§

impl Default for DispatchKind

source§

impl Default for ErrorReplyReason

source§

impl Default for ReplyCode

source§

impl Default for SignalCode

source§

impl Default for SimpleExecutionError

source§

impl Default for SimpleProgramCreationError

source§

impl Default for SuccessReplyReason

§

impl Default for ExtrinsicInclusionMode

§

impl Default for RuntimeString

§

impl Default for StateVersion

1.0.0 · source§

impl Default for AsciiChar

source§

impl Default for Value

The default value is Value::Null.

This is useful for handling omitted Value fields when deserializing.

§Examples

use serde_json::Value;

#[derive(Deserialize)]
struct Settings {
    level: i32,
    #[serde(default)]
    extras: Value,
}

let data = r#" { "level": 42 } "#;
let s: Settings = serde_json::from_str(data)?;

assert_eq!(s.level, 42);
assert_eq!(s.extras, Value::Null);
1.0.0 · source§

impl Default for bool

1.0.0 · source§

impl Default for char

1.0.0 · source§

impl Default for f16

1.0.0 · source§

impl Default for f32

1.0.0 · source§

impl Default for f64

1.0.0 · source§

impl Default for f128

1.0.0 · source§

impl Default for i8

1.0.0 · source§

impl Default for i16

1.0.0 · source§

impl Default for i32

1.0.0 · source§

impl Default for i64

1.0.0 · source§

impl Default for i128

1.0.0 · source§

impl Default for isize

1.0.0 · source§

impl Default for u8

1.0.0 · source§

impl Default for u16

1.0.0 · source§

impl Default for u32

1.0.0 · source§

impl Default for u64

1.0.0 · source§

impl Default for u128

1.0.0 · source§

impl Default for ()

1.0.0 · source§

impl Default for usize

source§

impl Default for RuntimeBufferSizeError

source§

impl Default for TryNewCodeConfig

source§

impl Default for BlocksAmount

source§

impl Default for BytesAmount

source§

impl Default for CallsAmount

source§

impl Default for ExtCosts

source§

impl Default for InstantiationCosts

source§

impl Default for LazyPagesCosts

source§

impl Default for ProcessCosts

source§

impl Default for RentCosts

source§

impl Default for SyscallCosts

source§

impl Default for GasInfo

source§

impl Default for CustomConstantCostRules

source§

impl Default for DbWeights

source§

impl Default for InstantiationWeights

source§

impl Default for InstructionWeights

source§

impl Default for Limits

source§

impl Default for MemoryWeights

source§

impl Default for RentWeights

source§

impl Default for Schedule

source§

impl Default for SyscallWeights

source§

impl Default for TaskWeights

source§

impl Default for IntoPageBufError

source§

impl Default for Message

source§

impl Default for ReplyDetails

source§

impl Default for SignalDetails

source§

impl Default for ContextOutcome

source§

impl Default for ContextSettings

source§

impl Default for ContextStore

source§

impl Default for HandleMessage

source§

impl Default for HandlePacket

source§

impl Default for IncomingDispatch

source§

impl Default for IncomingMessage

source§

impl Default for InitMessage

source§

impl Default for InitPacket

source§

impl Default for ReplyMessage

source§

impl Default for ReplyPacket

source§

impl Default for SignalMessage

source§

impl Default for StoredMessage

source§

impl Default for PayloadSizeError

source§

impl Default for UserMessage

source§

impl Default for UserStoredMessage

source§

impl Default for MemoryInfix

source§

impl Default for ReservationNonce

source§

impl Default for ApiBuilder

source§

impl Default for gsdk::backtrace::Backtrace

§

impl Default for gclient::ext::sp_runtime::biguint::BigUint

§

impl Default for Time

§

impl Default for gclient::ext::sp_runtime::offchain::Duration

§

impl Default for OpaqueNetworkState

§

impl Default for Timestamp

1.3.0 · source§

impl Default for gclient::ext::sp_runtime::scale_info::prelude::time::Duration

§

impl Default for PortableRegistryBuilder

§

impl Default for gclient::ext::sp_runtime::scale_info::Registry

§

impl Default for AnySignature

§

impl Default for CryptoTypeId

§

impl Default for gclient::ext::sp_runtime::Digest

§

impl Default for FixedI64

§

impl Default for FixedI128

§

impl Default for FixedU64

§

impl Default for FixedU128

§

impl Default for KeyTypeId

§

impl Default for OpaqueExtrinsic

§

impl Default for PerU16

§

impl Default for Perbill

§

impl Default for Percent

§

impl Default for Permill

§

impl Default for Perquintill

§

impl Default for Rational128

§

impl Default for Storage

§

impl Default for H256

§

impl Default for UintAuthorityId

§

impl Default for ValidTransaction

§

impl Default for ValidTransactionBuilder

1.10.0 · source§

impl Default for CString

1.80.0 · source§

impl Default for Rc<str>

1.80.0 · source§

impl Default for Rc<CStr>

1.0.0 · source§

impl Default for String

§

impl Default for InMemOffchainStorage

§

impl Default for OffchainState

§

impl Default for PendingRequest

§

impl Default for PoolState

§

impl Default for TestOffchainExt

§

impl Default for TestPersistentOffchainDB

§

impl Default for TestTransactionPoolExt

source§

impl Default for IgnoredAny

§

impl Default for StorageData

§

impl Default for H160

§

impl Default for H512

§

impl Default for OpaquePeerId

§

impl Default for U256

§

impl Default for U512

§

impl Default for TaskExecutor

source§

impl Default for gclient::ext::sp_core::sp_std::alloc::Global

1.28.0 · source§

impl Default for System

1.13.0 · source§

impl Default for DefaultHasher

1.7.0 · source§

impl Default for gclient::ext::sp_core::sp_std::hash::RandomState

1.0.0 · source§

impl Default for SipHasher

1.33.0 · source§

impl Default for PhantomPinned

1.0.0 · source§

impl Default for RangeFull

1.17.0 · source§

impl Default for gclient::ext::sp_core::sp_std::prelude::Box<str>

1.17.0 · source§

impl Default for gclient::ext::sp_core::sp_std::prelude::Box<CStr>

1.17.0 · source§

impl Default for gclient::ext::sp_core::sp_std::prelude::Box<OsStr>

source§

impl Default for gclient::ext::sp_core::sp_std::prelude::Box<RawValue>

§

impl Default for Writer

1.0.0 · source§

impl Default for AtomicBool

1.34.0 · source§

impl Default for AtomicI8

1.34.0 · source§

impl Default for AtomicI16

1.34.0 · source§

impl Default for AtomicI32

1.34.0 · source§

impl Default for AtomicI64

1.0.0 · source§

impl Default for AtomicIsize

1.34.0 · source§

impl Default for AtomicU8

1.34.0 · source§

impl Default for AtomicU16

1.34.0 · source§

impl Default for AtomicU32

1.34.0 · source§

impl Default for AtomicU64

1.0.0 · source§

impl Default for AtomicUsize

1.80.0 · source§

impl Default for Arc<str>

1.80.0 · source§

impl Default for Arc<CStr>

1.10.0 · source§

impl Default for gclient::ext::sp_core::sp_std::sync::Condvar

1.0.0 · source§

impl Default for core::fmt::Error

source§

impl Default for Alignment

Returns Alignment::MIN, which is valid for any type.

1.9.0 · source§

impl Default for OsString

1.75.0 · source§

impl Default for FileTimes

1.0.0 · source§

impl Default for std::io::util::Empty

1.0.0 · source§

impl Default for Sink

1.17.0 · source§

impl Default for PathBuf

1.75.0 · source§

impl Default for ExitCode

The default value is ExitCode::SUCCESS

1.73.0 · source§

impl Default for ExitStatus

The default value is one which indicates successful completion.

source§

impl Default for Adler32

source§

impl Default for anyhow::Chain<'_>

source§

impl Default for DefaultOptions

source§

impl Default for http::extensions::Extensions

source§

impl Default for http::method::Method

source§

impl Default for http::request::Builder

source§

impl Default for http::response::Builder

source§

impl Default for http::status::StatusCode

source§

impl Default for http::uri::builder::Builder

source§

impl Default for http::uri::Parts

source§

impl Default for http::uri::Uri

Returns a Uri representing /

source§

impl Default for http::version::Version

source§

impl Default for itoa::Buffer

source§

impl Default for BigInt

source§

impl Default for num_bigint::biguint::BigUint

source§

impl Default for num_format::buffer::Buffer

source§

impl Default for CustomFormat

source§

impl Default for ryu::buffer::Buffer

source§

impl Default for Map<String, Value>

source§

impl Default for B0

source§

impl Default for B1

source§

impl Default for Z0

source§

impl Default for Equal

source§

impl Default for Greater

source§

impl Default for Less

source§

impl Default for UTerm

source§

impl Default for ThreadRng

source§

impl Default for OsRng

§

impl Default for AHasher

Provides a default Hasher with fixed keys. This is typically used in conjunction with BuildHasherDefault to create [AHasher]s in order to hash the keys of the map.

Generally it is preferable to use [RandomState] instead, so that different hashmaps will have different keys. However if fixed keys are desirable this may be used instead.

§Example

use std::hash::BuildHasherDefault;
use ahash::{AHasher, RandomState};
use std::collections::HashMap;

let mut map: HashMap<i32, i32, BuildHasherDefault<AHasher>> = HashMap::default();
map.insert(12, 34);
§

impl Default for AHasher

Provides a default Hasher with fixed keys. This is typically used in conjunction with BuildHasherDefault to create [AHasher]s in order to hash the keys of the map.

Generally it is preferable to use [RandomState] instead, so that different hashmaps will have different keys. However if fixed keys are desireable this may be used instead.

§Example

use std::hash::BuildHasherDefault;
use ahash::{AHasher, RandomState};
use std::collections::HashMap;

let mut map: HashMap<i32, i32, BuildHasherDefault<AHasher>> = HashMap::default();
map.insert(12, 34);
§

impl Default for Abbreviations

§

impl Default for Abbreviations

§

impl Default for AbbreviationsCache

§

impl Default for AbbreviationsCache

§

impl Default for Acceptor

§

impl Default for Acceptor

§

impl Default for ActorId

§

impl Default for AddressMapSection

§

impl Default for Affine

§

impl Default for AffineStorage

§

impl Default for AhoCorasickBuilder

§

impl Default for AlignedType

§

impl Default for AllocationStats

§

impl Default for AnyDelimiterCodec

§

impl Default for ArrayParams

§

impl Default for ArrayParams

§

impl Default for AtomicWaker

§

impl Default for AtomicWaker

§

impl Default for Augmentation

§

impl Default for Augmentation

§

impl Default for Backtrace

§

impl Default for BaseAddresses

§

impl Default for BaseAddresses

§

impl Default for BasicExternalities

§

impl Default for BatchResponseBuilder

§

impl Default for BigEndian

§

impl Default for BigEndian

§

impl Default for BigEndian

§

impl Default for BigEndian

§

impl Default for BigEndian

§

impl Default for Bits

§

impl Default for BlockNumberWithHash

§

impl Default for Body

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder

§

impl Default for Builder<Identity, Identity>

§

impl Default for ByteClasses

§

impl Default for Bytes

§

impl Default for BytesCodec

§

impl Default for BytesMut

§

impl Default for CancellationToken

§

impl Default for Case

§

impl Default for CertificateChain

§

impl Default for ChargeTransactionPaymentParams

§

impl Default for CheckNonceParams

§

impl Default for ClassBytesRange

§

impl Default for ClassBytesRange

§

impl Default for ClassUnicodeRange

§

impl Default for ClassUnicodeRange

§

impl Default for ClientBuilder

§

impl Default for ClientBuilder

§

impl Default for CodeId

§

impl Default for CodeSection

§

impl Default for CodeSection

§

impl Default for Codec

§

impl Default for Codec

§

impl Default for Color

§

impl Default for ColorChoice

The default is Auto.

§

impl Default for ColorSpec

§

impl Default for ColoredString

§

impl Default for Compact

§

impl Default for CompressedEdwardsY

§

impl Default for CompressedRistretto

§

impl Default for CompressionCache

§

impl Default for CompressorOxide

§

impl Default for Condvar

§

impl Default for Config

§

impl Default for Config

§

impl Default for Config

§

impl Default for Config

§

impl Default for Config

§

impl Default for Config

§

impl Default for Config

§

impl Default for Config

§

impl Default for Config

The defaults are that of https://url.spec.whatwg.org/#idna

§

impl Default for Config

§

impl Default for ConnectionId

§

impl Default for ConnectorBuilder<WantsTlsConfig>

§

impl Default for Const

§

impl Default for ConstantCostRules

§

impl Default for Context

§

impl Default for Context

§

impl Default for CustomSection

§

impl Default for CustomSection

§

impl Default for CvQualifiers

§

impl Default for DataSection

§

impl Default for DataSection

§

impl Default for DataSegmentBuilder

§

impl Default for DataSegmentBuilder

§

impl Default for Day

Creates a modifier that indicates the value is padded with zeroes.

§

impl Default for DebugInfoOffsets

§

impl Default for DecompressorOxide

§

impl Default for DefaultFields

§

impl Default for DefaultServerNameResolver

§

impl Default for DefaultToHost

§

impl Default for DefaultToUnknown

§

impl Default for DeframerVecBuffer

§

impl Default for DemangleOptions

§

impl Default for Digest

§

impl Default for Directive

§

impl Default for Dispatch

§

impl Default for Duration

§

impl Default for Dwarf

§

impl Default for DwarfFileType

§

impl Default for DwarfFileType

§

impl Default for Eager

§

impl Default for EdwardsPoint

§

impl Default for ElementSection

§

impl Default for ElementSection

§

impl Default for Encoding

§

impl Default for End

Creates a modifier used to represent the end of input.

§

impl Default for Endianness

§

impl Default for Endianness

§

impl Default for Engine

§

impl Default for EnvFilter

§

impl Default for Era

§

impl Default for Error

§

impl Default for ErrorBytes

§

impl Default for ErrorWithGas

§

impl Default for ErrorWithHandle

§

impl Default for ErrorWithHash

§

impl Default for ErrorWithReplyCode

§

impl Default for ErrorWithSignalCode

§

impl Default for ErrorWithTwoHashes

§

impl Default for Errors

§

impl Default for EventFlags

§

impl Default for EventFlags

§

impl Default for ExportBuilder

§

impl Default for ExportBuilder

§

impl Default for ExportSection

§

impl Default for ExportSection

§

impl Default for Expression

§

impl Default for Extensions

§

impl Default for Extensions

§

impl Default for ExtractKind

§

impl Default for Extractor

§

impl Default for Field

§

impl Default for FieldStorage

§

impl Default for FileInfo

§

impl Default for FilePos

§

impl Default for FinderBuilder

§

impl Default for FnvHasher

§

impl Default for Format

§

impl Default for FormatterOptions

§

impl Default for FrameTable

§

impl Default for Full

§

impl Default for FuncValidatorAllocations

§

impl Default for FuncValidatorAllocations

§

impl Default for FunctionBuilder

§

impl Default for FunctionBuilder

§

impl Default for FunctionDefinition

§

impl Default for FunctionDefinition

§

impl Default for FunctionNameSubsection

§

impl Default for FunctionNameSubsection

§

impl Default for FunctionSection

§

impl Default for FunctionSection

§

impl Default for FunctionType

§

impl Default for FunctionType

§

impl Default for FxBuildHasher

§

impl Default for FxHasher

§

impl Default for FxHasher

§

impl Default for GeneralPurposeConfig

§

impl Default for GeneralPurposeConfig

§

impl Default for Global

§

impl Default for GlobalBuilder

§

impl Default for GlobalBuilder

§

impl Default for GlobalSection

§

impl Default for GlobalSection

§

impl Default for GroupInfo

§

impl Default for H128

§

impl Default for H384

§

impl Default for H768

§

impl Default for Hash64

§

impl Default for Hash128

§

impl Default for Hash256StdHasher

§

impl Default for HashEngine

§

impl Default for HashEngine

§

impl Default for HashEngine

§

impl Default for HashEngine

§

impl Default for HashEngine

§

impl Default for HashEngine

§

impl Default for HashWithValue

§

impl Default for Hour

Creates a modifier that indicates the value is padded with zeroes and has the 24-hour representation.

§

impl Default for HpkeAead

§

impl Default for HpkeKdf

§

impl Default for HpkeSymmetricCipherSuite

§

impl Default for HttpClientBuilder

§

impl Default for HttpTransportClientBuilder<Identity>

§

impl Default for Identity

§

impl Default for Identity

§

impl Default for Idna

§

impl Default for ImageSectionHeader

§

impl Default for ImportBuilder

§

impl Default for ImportBuilder

§

impl Default for ImportSection

§

impl Default for ImportSection

§

impl Default for InflateState

§

impl Default for InstanceAllocationStrategy

§

impl Default for InvalidBufferSize

§

impl Default for InvalidKeyLength

§

impl Default for InvalidOutputSize

§

impl Default for InvalidOutputSize

§

impl Default for Iv

§

impl Default for Iv

§

impl Default for Jacobian

§

impl Default for Keccak224Core

§

impl Default for Keccak256Core

§

impl Default for Keccak256FullCore

§

impl Default for Keccak384Core

§

impl Default for Keccak512Core

§

impl Default for Language

§

impl Default for Lazy

§

impl Default for LazyStateID

§

impl Default for LengthDelimitedCodec

§

impl Default for LineEncoding

§

impl Default for LineEncoding

§

impl Default for LineEnding

§

impl Default for LineStringTable

§

impl Default for LinesCodec

§

impl Default for LittleEndian

§

impl Default for LittleEndian

§

impl Default for LittleEndian

§

impl Default for LittleEndian

§

impl Default for LittleEndian

§

impl Default for LocalNameSubsection

§

impl Default for LocalNameSubsection

§

impl Default for LocalNodeCacheLimiter

§

impl Default for LocalPool

§

impl Default for LocalSet

§

impl Default for LocalValueCacheLimiter

§

impl Default for LocationListTable

§

impl Default for Log

§

impl Default for LogTracer

§

impl Default for LookMatcher

§

impl Default for LookSet

§

impl Default for LookSet

§

impl Default for Lsb0

§

impl Default for MacError

§

impl Default for MacError

§

impl Default for MatchKind

§

impl Default for MatchKind

§

impl Default for MatchKind

The default match kind is MatchKind::Standard.

§

impl Default for MemfdOptions

§

impl Default for MemoryBuilder

§

impl Default for MemoryBuilder

§

impl Default for MemoryInitialization

§

impl Default for MemoryKeystore

§

impl Default for MemorySection

§

impl Default for MemorySection

§

impl Default for MessageDeframer

§

impl Default for MessageFragmenter

§

impl Default for MessageId

§

impl Default for Method

§

impl Default for Methods

§

impl Default for Midstate

§

impl Default for Minute

Creates a modifier that indicates the value is padded with zeroes.

§

impl Default for MissedTickBehavior

§

impl Default for Module

§

impl Default for Module

§

impl Default for Module

§

impl Default for ModuleBuilder

§

impl Default for ModuleBuilder

§

impl Default for ModuleContext

§

impl Default for ModuleContextBuilder

§

impl Default for ModuleTypes

§

impl Default for ModuleTypesBuilder

§

impl Default for ModuleVersionStrategy

§

impl Default for MontgomeryPoint

§

impl Default for Month

Creates an instance of this type that indicates the value uses the Numerical representation, is padded with zeroes, and is case-sensitive when parsing.

§

impl Default for MonthRepr

Creates a modifier that indicates the value uses the Numerical representation.

§

impl Default for Msb0

§

impl Default for Mut

§

impl Default for NibbleVec

§

impl Default for NoSubscriber

§

impl Default for Notify

§

impl Default for NullProfilerAgent

§

impl Default for NullPtrError

§

impl Default for ObjectParams

§

impl Default for ObjectParams

§

impl Default for OffchainOverlayedChanges

§

impl Default for OffsetHour

Creates a modifier that indicates the value only uses a sign for negative values and is padded with zeroes.

§

impl Default for OffsetMinute

Creates a modifier that indicates the value is padded with zeroes.

§

impl Default for OffsetSecond

Creates a modifier that indicates the value is padded with zeroes.

§

impl Default for OnDemandInstanceAllocator

§

impl Default for Once

§

impl Default for OnceBool

§

impl Default for OnceNonZeroUsize

§

impl Default for OpenOptions

§

impl Default for Ordinal

Creates a modifier that indicates the value is padded with zeroes.

§

impl Default for Padding

Creates a modifier that indicates the value is padded with zeroes.

§

impl Default for Params

§

impl Default for Params

§

impl Default for Params

§

impl Default for ParamsString

§

impl Default for ParseOptions

§

impl Default for Parser

§

impl Default for Parser

§

impl Default for ParserBuilder

§

impl Default for ParserBuilder

§

impl Default for ParserBuilder

§

impl Default for ParserBuilder

§

impl Default for ParserConfig

§

impl Default for Parts

§

impl Default for PatternID

§

impl Default for PatternID

§

impl Default for Period

Creates a modifier that indicates the value uses the upper-case representation and is case-sensitive when parsing.

§

impl Default for PingConfig

§

impl Default for PingConfig

§

impl Default for PingConfig

§

impl Default for Pointer

§

impl Default for Pointer

§

impl Default for PollNext

§

impl Default for PrefilterConfig

§

impl Default for Pretty

§

impl Default for PrettyFields

§

impl Default for ProgramMemoryDump

§

impl Default for PublicKey

§

impl Default for RandomHashBuilder64

§

impl Default for RandomHashBuilder128

§

impl Default for RandomState

Creates an instance of RandomState using keys obtained from the random number generator. Each instance created in this way will have a unique set of keys. (But the resulting instance can be used to create many hashers each or which will have the same keys.)

This is the same as [RandomState::new()]

NOTE: For safety this trait impl is only available available if either of the flags runtime-rng (on by default) or compile-time-rng are enabled. This is to prevent weakly keyed maps from being accidentally created. Instead one of constructors for [RandomState] must be used.

§

impl Default for RandomState

§

impl Default for RandomState

§

impl Default for RandomXxHashBuilder32

§

impl Default for RandomXxHashBuilder64

§

impl Default for RangeListTable

§

impl Default for RationalInfinite

§

impl Default for ReadBinaryOptions

§

impl Default for ReadFlags

§

impl Default for RecoverableSignature

§

impl Default for RegexBuilder

§

impl Default for RegexSet

§

impl Default for RegexSet

§

impl Default for Registry

§

impl Default for Relocation

§

impl Default for ReservationId

§

impl Default for ResolveFlags

§

impl Default for ResolveFlags

§

impl Default for Resumption

§

impl Default for Resumption

§

impl Default for RistrettoBoth

§

impl Default for RistrettoPoint

§

impl Default for RpcParams

§

impl Default for RpcServiceBuilder<Identity>

§

impl Default for RunTimeEndian

§

impl Default for RunTimeEndian

§

impl Default for RuntimeDbWeight

§

impl Default for Scalar

§

impl Default for Scalar

§

impl Default for Second

Creates a modifier that indicates the value is padded with zeroes.

§

impl Default for Secp256k1<All>

§

impl Default for SecretKey

§

impl Default for SectionBaseAddresses

§

impl Default for SectionBaseAddresses

§

impl Default for SectionIndex

§

impl Default for ServerConfig

§

impl Default for ServerConnectionData

§

impl Default for ServerConnectionData

§

impl Default for ServiceBuilder<Identity>

§

impl Default for Sha1

§

impl Default for Sha1Core

§

impl Default for Sha3_224Core

§

impl Default for Sha3_256Core

§

impl Default for Sha3_384Core

§

impl Default for Sha3_512Core

§

impl Default for Sha224

§

impl Default for Sha256

§

impl Default for Sha384

§

impl Default for Sha512

§

impl Default for Sha512Trunc224

§

impl Default for Sha512Trunc256

§

impl Default for Shake128Core

§

impl Default for Shake256Core

§

impl Default for ShouldColorize

§

impl Default for SignatureBuilder

§

impl Default for SignatureBuilder

§

impl Default for SignaturesBuilder

§

impl Default for SignaturesBuilder

§

impl Default for SizeHint

§

impl Default for SmallIndex

§

impl Default for SpinWait

§

impl Default for StackRecycler

§

impl Default for StartKind

§

impl Default for State

§

impl Default for State

§

impl Default for StateID

§

impl Default for StateID

§

impl Default for StateMachineStats

§

impl Default for StatusCode

§

impl Default for StoreData

§

impl Default for StoreLimits

§

impl Default for StringTable

§

impl Default for Style

§

impl Default for Subscriber

§

impl Default for SubscriberBuilder

§

impl Default for Subsecond

Creates a modifier that indicates the stringified value contains one or more digits.

§

impl Default for SubsecondDigits

Creates a modifier that indicates the stringified value contains one or more digits.

§

impl Default for SymbolIndex

§

impl Default for SystemTime

§

impl Default for Table

§

impl Default for TableBuilder

§

impl Default for TableBuilder

§

impl Default for TableDefinition

§

impl Default for TableDefinition

§

impl Default for TableInitialization

§

impl Default for TableSection

§

impl Default for TableSection

§

impl Default for Target

§

impl Default for Targets

§

impl Default for TestWriter

§

impl Default for ThreadPoolBuilder

§

impl Default for TimestampPrecision

The default timestamp precision is seconds.

§

impl Default for TokioExecutor

§

impl Default for TokioTimer

§

impl Default for TranslatorBuilder

§

impl Default for TranslatorBuilder

§

impl Default for TrapEncodingBuilder

§

impl Default for TrieFactory

§

impl Default for TrieSpec

§

impl Default for TrieStream

§

impl Default for Tunables

§

impl Default for TwoHashes

§

impl Default for TwoHashesWithValue

§

impl Default for TwoPointZero

§

impl Default for TwoPointZero

§

impl Default for TypeSection

§

impl Default for TypeSection

§

impl Default for U128

§

impl Default for UnitTable

§

impl Default for UnixTimestamp

Creates a modifier that indicates the value represents the number of seconds since the Unix epoch. The sign is not mandatory.

§

impl Default for UnixTimestampPrecision

Creates a modifier that indicates the value represents the number of seconds since the Unix epoch.

§

impl Default for Unlimited

§

impl Default for UnlimitedCompact

§

impl Default for UnparkResult

§

impl Default for UntypedValue

§

impl Default for Uptime

§

impl Default for Uri

Returns a Uri representing /

§

impl Default for UsageUnit

§

impl Default for UseDalekExt

§

impl Default for VMRuntimeLimits

§

impl Default for VMSharedSignatureIndex

§

impl Default for VRFPreOut

§

impl Default for Validator

§

impl Default for Validator

§

impl Default for VerificationKey

§

impl Default for Verifier

§

impl Default for Verifier

§

impl Default for VerifyingKey

§

impl Default for Version

§

impl Default for Version

§

impl Default for Version

§

impl Default for VersionIndex

§

impl Default for VersionIndex

§

impl Default for WasmEntryAttributes

§

impl Default for WasmFeatures

§

impl Default for WasmFeatures

§

impl Default for WasmFileInfo

§

impl Default for WasmFunctionInfo

§

impl Default for WasmLevel

§

impl Default for WasmMetadata

§

impl Default for WatchFlags

§

impl Default for WatchFlags

§

impl Default for WeekNumber

Creates a modifier that indicates that the value is padded with zeroes and uses the Iso representation.

§

impl Default for WeekNumberRepr

Creates a modifier that indicates that the value uses the Iso representation.

§

impl Default for Weekday

Creates a modifier that indicates the value uses the Long representation and is case-sensitive when parsing. If the representation is changed to a numerical one, the instance defaults to one-based indexing.

§

impl Default for WeekdayRepr

Creates a modifier that indicates the value uses the Long representation.

§

impl Default for Weight

§

impl Default for WhichCaptures

§

impl Default for WhichConfig

§

impl Default for WhitelistedHosts

§

impl Default for WriteStyle

§

impl Default for WsClientBuilder

§

impl Default for WsTransportClientBuilder

§

impl Default for WsTransportClientBuilder

§

impl Default for XxHash32

§

impl Default for XxHash64

§

impl Default for Year

Creates a modifier that indicates the value uses the Full representation, is padded with zeroes, uses the Gregorian calendar as its base, and only includes the year’s sign if necessary.

§

impl Default for YearRepr

Creates a modifier that indicates the value uses the Full representation.

§

impl Default for vec128_storage

§

impl Default for vec256_storage

§

impl Default for vec512_storage

source§

impl<'a> Default for MetadataBuilder<'a>

source§

impl<'a> Default for RecordBuilder<'a>

source§

impl<'a> Default for PrettyFormatter<'a>

§

impl<'a> Default for BatchRequestBuilder<'a>

§

impl<'a> Default for BatchRequestBuilder<'a>

§

impl<'a> Default for DebugInfoData<'a>

§

impl<'a> Default for Env<'a>

§

impl<'a> Default for Imports<'a>

§

impl<'a> Default for ImportsBuilder<'a>

§

impl<'a> Default for IterArgs<'a>

§

impl<'a> Default for NameSection<'a>

§

impl<'a, H, I> Default for KeysIter<'a, H, I>
where H: Hasher, I: StorageIterator<H> + Default,

§

impl<'a, H, I> Default for PairsIter<'a, H, I>
where H: Hasher, I: StorageIterator<H> + Default,

1.70.0 · source§

impl<'a, K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::Iter<'a, K, V>
where K: 'a, V: 'a,

1.70.0 · source§

impl<'a, K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::IterMut<'a, K, V>
where K: 'a, V: 'a,

§

impl<'a, K, V> Default for Iter<'a, K, V>

§

impl<'a, K, V> Default for IterMut<'a, K, V>

§

impl<'a, K, V> Default for Keys<'a, K, V>

§

impl<'a, K, V> Default for Values<'a, K, V>

§

impl<'a, K, V> Default for ValuesMut<'a, K, V>

§

impl<'a, M, T, O> Default for BitDomain<'a, M, T, O>
where M: Mutability, T: 'a + BitStore, O: BitOrder, Address<M, BitSlice<T, O>>: Referential<'a>, Address<M, BitSlice<<T as BitStore>::Unalias, O>>: Referential<'a>, <Address<M, BitSlice<T, O>> as Referential<'a>>::Ref: Default, <Address<M, BitSlice<<T as BitStore>::Unalias, O>> as Referential<'a>>::Ref: Default,

§

impl<'a, M, T, O> Default for Domain<'a, M, T, O>
where M: Mutability, T: 'a + BitStore, O: BitOrder, Address<M, T>: Referential<'a>, Address<M, [<T as BitStore>::Unalias]>: SliceReferential<'a>, <Address<M, [<T as BitStore>::Unalias]> as Referential<'a>>::Ref: Default,

§

impl<'a, T> Default for Iter<'a, T>

§

impl<'a, T> Default for IterHash<'a, T>

§

impl<'a, T> Default for IterHashMut<'a, T>

§

impl<'a, T> Default for IterMut<'a, T>

§

impl<'a, T> Default for OnceRef<'a, T>

§

impl<'a, T, U> Default for Cow<'a, T, U>
where T: Beef + ?Sized, U: Capacity, &'a T: Default,

§

impl<'data> Default for Bytes<'data>

§

impl<'data> Default for Bytes<'data>

§

impl<'data> Default for ModuleTranslation<'data>

§

impl<'data> Default for ObjectMap<'data>

§

impl<'data> Default for ObjectMap<'data>

§

impl<'data> Default for ObjectMapEntry<'data>

§

impl<'data> Default for ObjectMapEntry<'data>

§

impl<'data> Default for RelocationBlockIterator<'data>

§

impl<'data> Default for SectionTable<'data>

§

impl<'data> Default for Version<'data>

§

impl<'data> Default for Version<'data>

§

impl<'data, E> Default for LoadCommandIterator<'data, E>
where E: Default + Endian,

§

impl<'data, Elf> Default for VersionTable<'data, Elf>
where Elf: FileHeader,

§

impl<'data, Elf> Default for VersionTable<'data, Elf>
where Elf: FileHeader,

§

impl<'data, Elf, R> Default for SectionTable<'data, Elf, R>
where Elf: Default + FileHeader, R: Default + ReadRef<'data>, <Elf as FileHeader>::SectionHeader: Default,

§

impl<'data, Elf, R> Default for SectionTable<'data, Elf, R>
where Elf: Default + FileHeader, R: Default + ReadRef<'data>, <Elf as FileHeader>::SectionHeader: Default,

§

impl<'data, Elf, R> Default for SymbolTable<'data, Elf, R>
where Elf: FileHeader, R: ReadRef<'data>,

§

impl<'data, Elf, R> Default for SymbolTable<'data, Elf, R>
where Elf: FileHeader, R: ReadRef<'data>,

§

impl<'data, Mach, R> Default for SymbolTable<'data, Mach, R>
where Mach: MachHeader, R: ReadRef<'data>,

§

impl<'data, R> Default for StringTable<'data, R>
where R: ReadRef<'data>,

§

impl<'data, R> Default for StringTable<'data, R>
where R: ReadRef<'data>,

§

impl<'data, R, Coff> Default for SymbolTable<'data, R, Coff>
where R: ReadRef<'data>, Coff: CoffHeader,

§

impl<'data, Xcoff> Default for SectionTable<'data, Xcoff>
where Xcoff: FileHeader,

§

impl<'data, Xcoff, R> Default for SymbolTable<'data, Xcoff, R>
where Xcoff: FileHeader, R: ReadRef<'data>,

§

impl<'input, Endian> Default for EndianSlice<'input, Endian>
where Endian: Default + Endianity,

§

impl<'input, Endian> Default for EndianSlice<'input, Endian>
where Endian: Default + Endianity,

§

impl<'s, T> Default for SliceVec<'s, T>

§

impl<A> Default for ArrayVec<A>
where A: Array,

§

impl<A> Default for Box<str, A>
where A: Allocator + Default,

§

impl<A> Default for SmallVec<A>
where A: Array,

§

impl<A> Default for TinyVec<A>
where A: Array,

1.70.0 · source§

impl<A, B> Default for gclient::ext::sp_core::sp_std::iter::Chain<A, B>
where A: Default, B: Default,

§

impl<A, O> Default for BitArray<A, O>
where A: BitViewSized, O: BitOrder,

1.11.0 · source§

impl<B> Default for gclient::ext::sp_core::bounded::alloc::borrow::Cow<'_, B>
where B: ToOwned + ?Sized, <B as ToOwned>::Owned: Default,

§

impl<B> Default for BlockAndTime<B>

§

impl<B> Default for BlockAndTimeDeadline<B>

§

impl<B> Default for Collected<B>

§

impl<BlockSize> Default for BlockBuffer<BlockSize>
where BlockSize: Default + ArrayLength<u8>,

§

impl<BlockSize, Kind> Default for BlockBuffer<BlockSize, Kind>
where BlockSize: ArrayLength<u8> + IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>, <BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero, Kind: BufferKind,

§

impl<D> Default for Empty<D>

§

impl<D> Default for Full<D>
where D: Buf,

§

impl<D, E> Default for BoxBody<D, E>
where D: Buf + 'static,

§

impl<D, E> Default for UnsyncBoxBody<D, E>
where D: Buf + 'static,

§

impl<E> Default for CompressionHeader32<E>
where E: Default + Endian,

§

impl<E> Default for CompressionHeader32<E>
where E: Default + Endian,

§

impl<E> Default for CompressionHeader64<E>
where E: Default + Endian,

§

impl<E> Default for CompressionHeader64<E>
where E: Default + Endian,

§

impl<E> Default for FormattedFields<E>
where E: Default + ?Sized,

§

impl<E> Default for I16<E>
where E: Default + Endian,

§

impl<E> Default for I16Bytes<E>
where E: Default + Endian,

§

impl<E> Default for I16Bytes<E>
where E: Default + Endian,

§

impl<E> Default for I32<E>
where E: Default + Endian,

§

impl<E> Default for I32Bytes<E>
where E: Default + Endian,

§

impl<E> Default for I32Bytes<E>
where E: Default + Endian,

§

impl<E> Default for I64<E>
where E: Default + Endian,

§

impl<E> Default for I64Bytes<E>
where E: Default + Endian,

§

impl<E> Default for I64Bytes<E>
where E: Default + Endian,

§

impl<E> Default for Sym32<E>
where E: Default + Endian,

§

impl<E> Default for Sym32<E>
where E: Default + Endian,

§

impl<E> Default for Sym64<E>
where E: Default + Endian,

§

impl<E> Default for Sym64<E>
where E: Default + Endian,

§

impl<E> Default for U16<E>
where E: Default + Endian,

§

impl<E> Default for U16Bytes<E>
where E: Default + Endian,

§

impl<E> Default for U16Bytes<E>
where E: Default + Endian,

§

impl<E> Default for U32<E>
where E: Default + Endian,

§

impl<E> Default for U32Bytes<E>
where E: Default + Endian,

§

impl<E> Default for U32Bytes<E>
where E: Default + Endian,

§

impl<E> Default for U64<E>
where E: Default + Endian,

§

impl<E> Default for U64Bytes<E>
where E: Default + Endian,

§

impl<E> Default for U64Bytes<E>
where E: Default + Endian,

§

impl<F> Default for Variants<F>
where F: Default + Form,

§

impl<F> Default for OptionFuture<F>

§

impl<F> Default for UtcTime<F>
where F: Formattable + Default,

§

impl<F, N, T> Default for FieldBuilder<F, N, T>
where F: Form,

§

impl<F, S> Default for TypeBuilder<F, S>
where F: Form,

§

impl<F, T> Default for FieldsBuilder<F, T>
where F: Form,

§

impl<Fut> Default for FuturesOrdered<Fut>
where Fut: Future,

§

impl<Fut> Default for FuturesUnordered<Fut>

1.7.0 · source§

impl<H> Default for BuildHasherDefault<H>

§

impl<H> Default for NodeCodec<H>
where H: Default,

§

impl<H> Default for OverlayedChanges<H>
where H: Hasher,

§

impl<H> Default for Recorder<H>
where H: Hasher,

§

impl<H> Default for StorageChanges<H>
where H: Hasher,

§

impl<H> Default for TestExternalities<H>
where H: Hasher, <H as Hasher>::Out: Ord + 'static + Codec,

§

impl<H> Default for TrieBackend<MemoryDB<H, PrefixedKey<H>, Vec<u8>>, H>
where H: Hasher, <H as Hasher>::Out: Codec + Ord,

§

impl<H, KF, T> Default for MemoryDB<H, KF, T>
where H: Hasher, T: for<'a> From<&'a [u8]>, KF: KeyFunction<H>,

1.70.0 · source§

impl<I> Default for Cloned<I>
where I: Default,

1.70.0 · source§

impl<I> Default for Copied<I>
where I: Default,

1.70.0 · source§

impl<I> Default for Enumerate<I>
where I: Default,

1.70.0 · source§

impl<I> Default for Flatten<I>
where I: Default + Iterator, <I as Iterator>::Item: IntoIterator,

1.70.0 · source§

impl<I> Default for Fuse<I>
where I: Default,

1.70.0 · source§

impl<I> Default for Rev<I>
where I: Default,

1.0.0 · source§

impl<Idx> Default for gclient::ext::sp_core::sp_std::ops::Range<Idx>
where Idx: Default,

source§

impl<Idx> Default for core::range::Range<Idx>
where Idx: Default,

§

impl<Inner> Default for Frozen<Inner>
where Inner: Default + Mutability,

§

impl<K> Default for EntitySet<K>
where K: EntityRef,

§

impl<K> Default for Iter<'_, K>

§

impl<K, A> Default for IntoIter<K, A>
where A: Allocator,

§

impl<K, V> Default for &Slice<K, V>

§

impl<K, V> Default for &mut Slice<K, V>

1.70.0 · source§

impl<K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::Keys<'_, K, V>

1.70.0 · source§

impl<K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::Range<'_, K, V>

1.70.0 · source§

impl<K, V> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::Values<'_, K, V>

1.0.0 · source§

impl<K, V> Default for BTreeMap<K, V>

§

impl<K, V> Default for gclient::ext::sp_core::sp_std::prelude::Box<Slice<K, V>>

§

impl<K, V> Default for AHashMap<K, V>

NOTE: For safety this trait impl is only available available if either of the flags runtime-rng (on by default) or compile-time-rng are enabled. This is to prevent weakly keyed maps from being accidentally created. Instead one of constructors for [RandomState] must be used.

§

impl<K, V> Default for IndexMap<K, V>

§

impl<K, V> Default for IntoIter<K, V>

§

impl<K, V> Default for IntoKeys<K, V>

§

impl<K, V> Default for IntoValues<K, V>

§

impl<K, V> Default for Iter<'_, K, V>

§

impl<K, V> Default for IterMut2<'_, K, V>

§

impl<K, V> Default for IterMut<'_, K, V>

§

impl<K, V> Default for Keys<'_, K, V>

§

impl<K, V> Default for PrimaryMap<K, V>
where K: EntityRef,

§

impl<K, V> Default for SecondaryMap<K, V>
where K: EntityRef, V: Clone + Default,

§

impl<K, V> Default for StreamMap<K, V>

§

impl<K, V> Default for Values<'_, K, V>

§

impl<K, V> Default for ValuesMut<'_, K, V>

1.70.0 · source§

impl<K, V, A> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::IntoIter<K, V, A>
where A: Allocator + Default + Clone,

1.70.0 · source§

impl<K, V, A> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::IntoKeys<K, V, A>
where A: Allocator + Default + Clone,

1.70.0 · source§

impl<K, V, A> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_map::IntoValues<K, V, A>
where A: Allocator + Default + Clone,

§

impl<K, V, A> Default for IntoIter<K, V, A>
where A: Allocator,

§

impl<K, V, A> Default for IntoKeys<K, V, A>
where A: Allocator,

§

impl<K, V, A> Default for IntoValues<K, V, A>
where A: Allocator,

§

impl<K, V, L, S> Default for LruMap<K, V, L, S>
where K: Hash + PartialEq, S: BuildHasher + Default, L: Limiter<K, V> + Default,

§

impl<K, V, S> Default for BoundedBTreeMap<K, V, S>
where K: Ord, S: Get<u32>,

1.0.0 · source§

impl<K, V, S> Default for std::collections::hash::map::HashMap<K, V, S>
where S: Default,

source§

impl<K, V, S> Default for indexmap::map::IndexMap<K, V, S>
where S: Default,

§

impl<K, V, S> Default for IndexMap<K, V, S>
where S: Default,

§

impl<K, V, S, A> Default for HashMap<K, V, S, A>
where S: Default, A: Default + Allocator + Clone,

§

impl<K, V, S, A> Default for HashMap<K, V, S, A>
where S: Default, A: Default + Allocator + Clone,

§

impl<K, V, S, A> Default for HashMap<K, V, S, A>
where S: Default, A: Default + Allocator,

§

impl<K, V, S, A> Default for HashMap<K, V, S, A>
where S: Default, A: Default + Allocator,

§

impl<L> Default for Recorder<L>
where L: TrieLayout,

§

impl<M, T, O> Default for BitPtrRange<M, T, O>
where M: Mutability, T: BitStore, O: BitOrder,

§

impl<R> Default for BitEnd<R>
where R: Default + BitRegister,

§

impl<R> Default for BitIdx<R>
where R: Default + BitRegister,

§

impl<R> Default for BitIdxError<R>
where R: Default + BitRegister,

§

impl<R> Default for BitMask<R>
where R: Default + BitRegister,

§

impl<R> Default for BitPos<R>
where R: Default + BitRegister,

§

impl<R> Default for BitSel<R>
where R: Default + BitRegister,

§

impl<R> Default for CfaRule<R>
where R: Reader,

§

impl<R> Default for CfaRule<R>
where R: Reader,

§

impl<R> Default for DebugAbbrev<R>
where R: Default,

§

impl<R> Default for DebugAbbrev<R>
where R: Default,

§

impl<R> Default for DebugAddr<R>
where R: Default,

§

impl<R> Default for DebugAddr<R>
where R: Default,

§

impl<R> Default for DebugAranges<R>
where R: Default,

§

impl<R> Default for DebugAranges<R>
where R: Default,

§

impl<R> Default for DebugCuIndex<R>
where R: Default,

§

impl<R> Default for DebugCuIndex<R>
where R: Default,

§

impl<R> Default for DebugInfo<R>
where R: Default,

§

impl<R> Default for DebugInfo<R>
where R: Default,

§

impl<R> Default for DebugLine<R>
where R: Default,

§

impl<R> Default for DebugLine<R>
where R: Default,

§

impl<R> Default for DebugLineStr<R>
where R: Default,

§

impl<R> Default for DebugLineStr<R>
where R: Default,

§

impl<R> Default for DebugLoc<R>
where R: Default,

§

impl<R> Default for DebugLoc<R>
where R: Default,

§

impl<R> Default for DebugLocLists<R>
where R: Default,

§

impl<R> Default for DebugLocLists<R>
where R: Default,

§

impl<R> Default for DebugRanges<R>
where R: Default,

§

impl<R> Default for DebugRanges<R>
where R: Default,

§

impl<R> Default for DebugRngLists<R>
where R: Default,

§

impl<R> Default for DebugRngLists<R>
where R: Default,

§

impl<R> Default for DebugStr<R>
where R: Default,

§

impl<R> Default for DebugStr<R>
where R: Default,

§

impl<R> Default for DebugStrOffsets<R>
where R: Default,

§

impl<R> Default for DebugStrOffsets<R>
where R: Default,

§

impl<R> Default for DebugTuIndex<R>
where R: Default,

§

impl<R> Default for DebugTuIndex<R>
where R: Default,

§

impl<R> Default for DebugTypes<R>
where R: Default,

§

impl<R> Default for DebugTypes<R>
where R: Default,

§

impl<R> Default for Dwarf<R>
where R: Default,

§

impl<R> Default for Dwarf<R>
where R: Default,

§

impl<R> Default for IgnoreVisitor<R>

§

impl<R> Default for LocationLists<R>
where R: Default,

§

impl<R> Default for LocationLists<R>
where R: Default,

§

impl<R> Default for RangeIter<R>
where R: Reader,

§

impl<R> Default for RangeIter<R>
where R: Reader,

§

impl<R> Default for RangeLists<R>
where R: Default,

§

impl<R> Default for RangeLists<R>
where R: Default,

§

impl<R, A> Default for UnwindContext<R, A>
where R: Reader, A: UnwindContextStorage<R>,

§

impl<R, A> Default for UnwindContext<R, A>
where R: Reader, A: UnwindContextStorage<R>,

§

impl<R, G, T> Default for ReentrantMutex<R, G, T>
where R: RawMutex, G: GetThreadId, T: Default + ?Sized,

§

impl<R, S> Default for UnwindTableRow<R, S>
where R: Reader, S: UnwindContextStorage<R>,

§

impl<R, S> Default for UnwindTableRow<R, S>
where R: Reader, S: UnwindContextStorage<R>,

§

impl<R, T> Default for Mutex<R, T>
where R: RawMutex, T: Default + ?Sized,

§

impl<R, T> Default for RwLock<R, T>
where R: RawRwLock, T: Default + ?Sized,

§

impl<Resolver> Default for TraceDecodingVisitor<Resolver>

§

impl<S> Default for Layer<S>

§

impl<St> Default for SelectAll<St>
where St: Stream + Unpin,

§

impl<Storage> Default for __BindgenBitfieldUnit<Storage>
where Storage: Default,

§

impl<Storage> Default for __BindgenBitfieldUnit<Storage>
where Storage: Default,

§

impl<Storage> Default for __BindgenBitfieldUnit<Storage>
where Storage: Default,

1.0.0 · source§

impl<T> Default for &[T]

§

impl<T> Default for &Slice<T>

1.5.0 · source§

impl<T> Default for &mut [T]

1.0.0 · source§

impl<T> Default for Option<T>

1.4.0 · source§

impl<T> Default for [T; 0]

1.4.0 · source§

impl<T> Default for [T; 1]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 2]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 3]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 4]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 5]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 6]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 7]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 8]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 9]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 10]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 11]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 12]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 13]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 14]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 15]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 16]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 17]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 18]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 19]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 20]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 21]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 22]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 23]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 24]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 25]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 26]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 27]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 28]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 29]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 30]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 31]
where T: Default,

1.4.0 · source§

impl<T> Default for [T; 32]
where T: Default,

1.0.0 · source§

impl<T> Default for (T₁, T₂, …, Tₙ)
where T: Default,

This trait is implemented for tuples up to twelve items long.

source§

impl<T> Default for CostOf<T>

1.0.0 · source§

impl<T> Default for gclient::ext::sp_runtime::app_crypto::Vec<T>

§

impl<T> Default for gclient::ext::sp_runtime::offchain::http::Request<'static, T>
where T: Default,

§

impl<T> Default for Interner<T>
where T: Ord,

§

impl<T> Default for Path<T>
where T: Form,

§

impl<T> Default for IdentityLookup<T>
where T: Default,

1.0.0 · source§

impl<T> Default for PhantomData<T>
where T: ?Sized,

1.70.0 · source§

impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::binary_heap::IntoIter<T>

1.70.0 · source§

impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_set::Iter<'_, T>

1.70.0 · source§

impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_set::Range<'_, T>

1.70.0 · source§

impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::linked_list::IntoIter<T>

1.70.0 · source§

impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::linked_list::Iter<'_, T>

1.70.0 · source§

impl<T> Default for gclient::ext::sp_core::bounded::alloc::collections::linked_list::IterMut<'_, T>

1.0.0 · source§

impl<T> Default for BTreeSet<T>

1.0.0 · source§

impl<T> Default for BinaryHeap<T>
where T: Ord,

1.0.0 · source§

impl<T> Default for LinkedList<T>

1.0.0 · source§

impl<T> Default for VecDeque<T>

1.80.0 · source§

impl<T> Default for Rc<[T]>

1.0.0 · source§

impl<T> Default for Rc<T>
where T: Default,

1.10.0 · source§

impl<T> Default for gclient::ext::sp_core::bounded::alloc::rc::Weak<T>

1.70.0 · source§

impl<T> Default for gclient::ext::sp_core::bounded::alloc::slice::Iter<'_, T>

1.70.0 · source§

impl<T> Default for gclient::ext::sp_core::bounded::alloc::slice::IterMut<'_, T>

1.0.0 · source§

impl<T> Default for Cell<T>
where T: Default,

1.80.0 · source§

impl<T> Default for LazyCell<T>
where T: Default,

1.70.0 · source§

impl<T> Default for gclient::ext::sp_core::sp_std::cell::OnceCell<T>

1.0.0 · source§

impl<T> Default for RefCell<T>
where T: Default,

source§

impl<T> Default for SyncUnsafeCell<T>
where T: Default,

1.10.0 · source§

impl<T> Default for UnsafeCell<T>
where T: Default,

1.19.0 · source§

impl<T> Default for Reverse<T>
where T: Default,

1.2.0 · source§

impl<T> Default for gclient::ext::sp_core::sp_std::iter::Empty<T>

1.20.0 · source§

impl<T> Default for ManuallyDrop<T>
where T: Default + ?Sized,

1.74.0 · source§

impl<T> Default for Saturating<T>
where T: Default,

1.0.0 · source§

impl<T> Default for Wrapping<T>
where T: Default,

1.0.0 · source§

impl<T> Default for gclient::ext::sp_core::sp_std::prelude::Box<[T]>

§

impl<T> Default for gclient::ext::sp_core::sp_std::prelude::Box<Slice<T>>

1.0.0 · source§

impl<T> Default for gclient::ext::sp_core::sp_std::prelude::Box<T>
where T: Default,

1.0.0 · source§

impl<T> Default for AtomicPtr<T>

1.80.0 · source§

impl<T> Default for Arc<[T]>

1.0.0 · source§

impl<T> Default for Arc<T>
where T: Default,

source§

impl<T> Default for Exclusive<T>
where T: Default + ?Sized,

1.80.0 · source§

impl<T> Default for LazyLock<T>
where T: Default,

1.10.0 · source§

impl<T> Default for gclient::ext::sp_core::sp_std::sync::Mutex<T>
where T: Default + ?Sized,

1.70.0 · source§

impl<T> Default for OnceLock<T>

source§

impl<T> Default for ReentrantLock<T>
where T: Default,

1.10.0 · source§

impl<T> Default for gclient::ext::sp_core::sp_std::sync::RwLock<T>
where T: Default,

1.10.0 · source§

impl<T> Default for gclient::ext::sp_core::sp_std::sync::Weak<T>

1.62.0 · source§

impl<T> Default for AssertUnwindSafe<T>
where T: Default,

1.0.0 · source§

impl<T> Default for std::io::cursor::Cursor<T>
where T: Default,

source§

impl<T> Default for http::header::map::HeaderMap<T>

source§

impl<T> Default for http::request::Request<T>
where T: Default,

source§

impl<T> Default for http::response::Response<T>
where T: Default,

source§

impl<T> Default for Ratio<T>
where T: Clone + Integer,

source§

impl<T> Default for Pool<T>
where T: Clear + Default,

source§

impl<T> Default for sharded_slab::Slab<T>

source§

impl<T> Default for TryLock<T>
where T: Default,

§

impl<T> Default for AHashSet<T>

NOTE: For safety this trait impl is only available available if either of the flags runtime-rng (on by default) or compile-time-rng are enabled. This is to prevent weakly keyed maps from being accidentally created. Instead one of constructors for [RandomState] must be used.

§

impl<T> Default for Box<T>
where T: Default,

§

impl<T> Default for CachedThreadLocal<T>
where T: Send,

§

impl<T> Default for ChargeAssetTxPaymentParams<T>
where T: Config,

§

impl<T> Default for CheckMortalityParams<T>
where T: Config,

§

impl<T> Default for CoreWrapper<T>
where T: Default + BufferKindUser, <T as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>> + Default, <<T as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero, <T as BufferKindUser>::BufferKind: Default,

§

impl<T> Default for Crossing<T>
where T: Default + Encode + Decode,

§

impl<T> Default for Cursor<T>
where T: Default,

§

impl<T> Default for DefaultExtrinsicParamsBuilder<T>
where T: Config,

§

impl<T> Default for EntityList<T>
where T: EntityRef + ReservedValue,

Create an empty list.

§

impl<T> Default for Hash<T>
where T: Tag,

§

impl<T> Default for HeaderMap<T>

§

impl<T> Default for HmacEngine<T>
where T: Hash,

§

impl<T> Default for IndexMap<T>
where T: Default,

§

impl<T> Default for IndexMap<T>
where T: Default,

§

impl<T> Default for IndexSet<T>

§

impl<T> Default for IntervalsTree<T>
where T: Copy,

§

impl<T> Default for IntoIter<T>

§

impl<T> Default for Iter<'_, T>

§

impl<T> Default for JoinSet<T>

§

impl<T> Default for Lazy<T>
where T: Default,

§

impl<T> Default for Lazy<T>
where T: Default,

§

impl<T> Default for LegacyBackendBuilder<T>
where T: Config,

§

impl<T> Default for Linker<T>

§

impl<T> Default for ListPool<T>
where T: EntityRef + ReservedValue,

§

impl<T> Default for Mutex<T>
where T: Default,

§

impl<T> Default for Mutex<T>
where T: Default,

§

impl<T> Default for NoHashHasher<T>

§

impl<T> Default for NonEmpty<T>
where T: Default,

§

impl<T> Default for OnceBox<T>

§

impl<T> Default for OnceCell<T>

§

impl<T> Default for OnceCell<T>

§

impl<T> Default for OnceCell<T>

§

impl<T> Default for PackedOption<T>
where T: ReservedValue,

§

impl<T> Default for Request<T>
where T: Default,

§

impl<T> Default for Response<T>
where T: Default,

§

impl<T> Default for Router<T>

§

impl<T> Default for RwLock<T>
where T: Default + ?Sized,

§

impl<T> Default for Slab<T>

§

impl<T> Default for Store<T>
where T: Default,

§

impl<T> Default for SymbolMap<T>
where T: Default + SymbolMapEntry,

§

impl<T> Default for SymbolMap<T>
where T: Default + SymbolMapEntry,

§

impl<T> Default for ThreadLocal<T>
where T: Send,

§

impl<T> Default for TrieRoot<T>
where T: TrieLayout,

§

impl<T> Default for TrieRootPrint<T>
where T: TrieLayout,

§

impl<T> Default for TrieRootUnhashed<T>
where T: TrieLayout,

§

impl<T> Default for Unalign<T>
where T: Default,

§

impl<T> Default for UnstableBackendBuilder<T>
where T: Config,

§

impl<T> Default for Vec<T>

§

impl<T> Default for WrapperKeepOpaque<T>

§

impl<T> Default for XofReaderCoreWrapper<T>
where T: Default + XofReaderCore, <T as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>> + Default, <<T as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,

§

impl<T> Default for __BindgenUnionField<T>

§

impl<T> Default for __BindgenUnionField<T>

§

impl<T> Default for __IncompleteArrayField<T>
where T: Default,

§

impl<T> Default for __IncompleteArrayField<T>
where T: Default,

§

impl<T> Default for __IncompleteArrayField<T>
where T: Default,

1.70.0 · source§

impl<T, A> Default for gclient::ext::sp_core::bounded::alloc::collections::btree_set::IntoIter<T, A>
where A: Allocator + Default + Clone,

1.70.0 · source§

impl<T, A> Default for gclient::ext::sp_core::bounded::alloc::vec::IntoIter<T, A>
where A: Allocator + Default,

§

impl<T, A> Default for Box<[T], A>
where A: Allocator + Default,

§

impl<T, A> Default for HashTable<T, A>
where A: Allocator + Default,

§

impl<T, A> Default for HashTable<T, A>
where A: Allocator + Default,

§

impl<T, A> Default for IntoIter<T, A>
where A: Allocator,

§

impl<T, A> Default for RawTable<T, A>
where A: Allocator + Clone + Default,

§

impl<T, A> Default for RawTable<T, A>
where A: Allocator + Clone + Default,

§

impl<T, D> Default for TypeWithDefault<T, D>
where D: Get<T>,

source§

impl<T, E, const N: usize> Default for LimitedVec<T, E, N>
where T: Default, E: Default,

§

impl<T, N> Default for GenericArray<T, N>
where T: Default, N: ArrayLength<T>,

§

impl<T, O> Default for &BitSlice<T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Default for &mut BitSlice<T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Default for BitBox<T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Default for BitVec<T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Default for IterOnes<'_, T, O>
where T: BitStore, O: BitOrder,

§

impl<T, O> Default for IterZeros<'_, T, O>
where T: BitStore, O: BitOrder,

§

impl<T, OutSize, O> Default for CtVariableCoreWrapper<T, OutSize, O>
where T: VariableOutputCore, OutSize: ArrayLength<u8> + IsLessOrEqual<<T as OutputSizeUser>::OutputSize>, <OutSize as IsLessOrEqual<<T as OutputSizeUser>::OutputSize>>::Output: NonZero, <T as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>, <<T as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,

§

impl<T, R> Default for Mutex<T, R>
where T: Default + ?Sized,

§

impl<T, R> Default for Once<T, R>

§

impl<T, R> Default for RwLock<T, R>
where T: Default + ?Sized,

§

impl<T, R> Default for SpinMutex<T, R>
where T: Default + ?Sized,

§

impl<T, S> Default for BoundedBTreeSet<T, S>
where T: Ord, S: Get<u32>,

§

impl<T, S> Default for BoundedVec<T, S>

§

impl<T, S> Default for WeakBoundedVec<T, S>

1.0.0 · source§

impl<T, S> Default for std::collections::hash::set::HashSet<T, S>
where S: Default,

source§

impl<T, S> Default for indexmap::set::IndexSet<T, S>
where S: Default,

§

impl<T, S> Default for IndexSet<T, S>
where S: Default,

§

impl<T, S, A> Default for HashSet<T, S, A>
where S: Default, A: Default + Allocator + Clone,

§

impl<T, S, A> Default for HashSet<T, S, A>
where S: Default, A: Default + Allocator + Clone,

§

impl<T, S, A> Default for HashSet<T, S, A>
where S: Default, A: Default + Allocator,

§

impl<T, S, A> Default for HashSet<T, S, A>
where S: Default, A: Default + Allocator,

source§

impl<T, const CAP: usize> Default for arrayvec::arrayvec::ArrayVec<T, CAP>

source§

impl<T, const N: usize> Default for Mask<T, N>

source§

impl<T, const N: usize> Default for Simd<T, N>

source§

impl<U> Default for NInt<U>
where U: Default + Unsigned + NonZero,

source§

impl<U> Default for PInt<U>
where U: Default + Unsigned + NonZero,

source§

impl<U, B> Default for UInt<U, B>
where U: Default, B: Default,

§

impl<W> Default for DebugAbbrev<W>
where W: Default + Writer,

§

impl<W> Default for DebugFrame<W>
where W: Default + Writer,

§

impl<W> Default for DebugInfo<W>
where W: Default + Writer,

§

impl<W> Default for DebugLine<W>
where W: Default + Writer,

§

impl<W> Default for DebugLineStr<W>
where W: Default + Writer,

§

impl<W> Default for DebugLoc<W>
where W: Default + Writer,

§

impl<W> Default for DebugLocLists<W>
where W: Default + Writer,

§

impl<W> Default for DebugRanges<W>
where W: Default + Writer,

§

impl<W> Default for DebugRngLists<W>
where W: Default + Writer,

§

impl<W> Default for DebugStr<W>
where W: Default + Writer,

§

impl<W> Default for EhFrame<W>
where W: Default + Writer,

§

impl<W> Default for Sections<W>
where W: Default + Writer,

§

impl<Z> Default for Zeroizing<Z>
where Z: Default + Zeroize,

source§

impl<const CAP: usize> Default for ArrayString<CAP>

§

impl<const MIN: i8, const MAX: i8> Default for OptionRangedI8<MIN, MAX>

§

impl<const MIN: i16, const MAX: i16> Default for OptionRangedI16<MIN, MAX>

§

impl<const MIN: i32, const MAX: i32> Default for OptionRangedI32<MIN, MAX>

§

impl<const MIN: i64, const MAX: i64> Default for OptionRangedI64<MIN, MAX>

§

impl<const MIN: i128, const MAX: i128> Default for OptionRangedI128<MIN, MAX>

§

impl<const MIN: isize, const MAX: isize> Default for OptionRangedIsize<MIN, MAX>

§

impl<const MIN: u8, const MAX: u8> Default for OptionRangedU8<MIN, MAX>

§

impl<const MIN: u16, const MAX: u16> Default for OptionRangedU16<MIN, MAX>

§

impl<const MIN: u32, const MAX: u32> Default for OptionRangedU32<MIN, MAX>

§

impl<const MIN: u64, const MAX: u64> Default for OptionRangedU64<MIN, MAX>

§

impl<const MIN: u128, const MAX: u128> Default for OptionRangedU128<MIN, MAX>

§

impl<const MIN: usize, const MAX: usize> Default for OptionRangedUsize<MIN, MAX>

§

impl<const N: usize, T> Default for CryptoBytes<N, T>

source§

impl<const SIZE: u32> Default for Page<SIZE>

source§

impl<const SIZE: u32> Default for PagesAmount<SIZE>

§

impl<const SIZE: usize> Default for WriteBuffer<SIZE>

§

impl<const T: bool> Default for ConstBool<T>

§

impl<const T: i8> Default for ConstI8<T>

§

impl<const T: i16> Default for ConstI16<T>

§

impl<const T: i32> Default for ConstI32<T>

§

impl<const T: i64> Default for ConstI64<T>

§

impl<const T: i128> Default for ConstI128<T>

§

impl<const T: u8> Default for ConstU8<T>

§

impl<const T: u16> Default for ConstU16<T>

§

impl<const T: u32> Default for ConstU32<T>

§

impl<const T: u64> Default for ConstU64<T>

§

impl<const T: u128> Default for ConstU128<T>