pub struct DerivationPath(_);
Expand description

A list of ChildIndex items

Implementations

Build a DerivationPath from a list of ChildIndex items

Build a BIP32 style DerivationPath. This will fail if the length of the path is greater than 255 items

Build a BIP44 style DerivationPath: m/44'/coin'/account'/change/address

Build a BIP49 style DerivationPath: m/49'/coin'/account'/change/address

Get a reference to the list of ChildIndex items

Get the DerivationPathType. This will check the “purpose” index in BIP44/49 style derivation paths or otherwise return BIP32 if the length is less than 255

Trait Implementations

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Which kind of iterator are we turning this into?

The type of the elements being iterated over.

Creates an iterator from a value. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.