pub struct DerivationPath(/* private fields */);Implementationsยง
Sourceยงimpl DerivationPath
impl DerivationPath
pub fn from_key_str(path: &str) -> Result<DerivationPath, DerivationPathError>
pub fn from_absolute_path_str( path: &str, ) -> Result<DerivationPath, DerivationPathError>
pub fn new_bip44(account: Option<u32>, change: Option<u32>) -> DerivationPath
pub fn account(&self) -> Option<&ChildIndex>
pub fn change(&self) -> Option<&ChildIndex>
pub fn path(&self) -> &[ChildIndex]
pub fn get_query(&self) -> String
pub fn from_uri_key_query( uri: &URIReference<'_>, ) -> Result<Option<DerivationPath>, DerivationPathError>
pub fn from_uri_any_query( uri: &URIReference<'_>, ) -> Result<Option<DerivationPath>, DerivationPathError>
Trait Implementationsยง
Sourceยงimpl AsRef<[ChildIndex]> for DerivationPath
impl AsRef<[ChildIndex]> for DerivationPath
Sourceยงfn as_ref(&self) -> &[ChildIndex]
fn as_ref(&self) -> &[ChildIndex]
Converts this type into a shared reference of the (usually inferred) input type.
Sourceยงimpl Clone for DerivationPath
impl Clone for DerivationPath
Sourceยงfn clone(&self) -> DerivationPath
fn clone(&self) -> DerivationPath
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for DerivationPath
impl Debug for DerivationPath
Sourceยงimpl Default for DerivationPath
impl Default for DerivationPath
Sourceยงfn default() -> DerivationPath
fn default() -> DerivationPath
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'a> IntoIterator for &'a DerivationPath
impl<'a> IntoIterator for &'a DerivationPath
Sourceยงtype IntoIter = Iter<'a, ChildIndex>
type IntoIter = Iter<'a, ChildIndex>
Which kind of iterator are we turning this into?
Sourceยงtype Item = &'a ChildIndex
type Item = &'a ChildIndex
The type of the elements being iterated over.
Sourceยงfn into_iter(self) -> <&'a DerivationPath as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a DerivationPath as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Sourceยงimpl PartialEq for DerivationPath
impl PartialEq for DerivationPath
Sourceยงimpl TryFrom<&str> for DerivationPath
impl TryFrom<&str> for DerivationPath
Sourceยงtype Error = DerivationPathError
type Error = DerivationPathError
The type returned in the event of a conversion error.
Sourceยงfn try_from(
s: &str,
) -> Result<DerivationPath, <DerivationPath as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<DerivationPath, <DerivationPath as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for DerivationPath
impl StructuralPartialEq for DerivationPath
Auto Trait Implementationsยง
impl Freeze for DerivationPath
impl RefUnwindSafe for DerivationPath
impl Send for DerivationPath
impl Sync for DerivationPath
impl Unpin for DerivationPath
impl UnwindSafe for DerivationPath
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Sourceยงfn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Sourceยงimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Sourceยงfn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.Sourceยงimpl<T> Pointable for T
impl<T> Pointable for T
Sourceยงimpl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Sourceยงfn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Sourceยงimpl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Sourceยงfn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.