Enum bdk::KeychainKind
source · [−]pub enum KeychainKind {
External,
Internal,
}
Expand description
Types of keychains
Variants
External
External
Internal
Internal, usually used for change outputs
Implementations
sourceimpl KeychainKind
impl KeychainKind
sourcepub fn as_byte(&self) -> u8
pub fn as_byte(&self) -> u8
Return KeychainKind
as a byte
Trait Implementations
sourceimpl AsRef<[u8]> for KeychainKind
impl AsRef<[u8]> for KeychainKind
sourceimpl Clone for KeychainKind
impl Clone for KeychainKind
sourcefn clone(&self) -> KeychainKind
fn clone(&self) -> KeychainKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KeychainKind
impl Debug for KeychainKind
sourceimpl<'de> Deserialize<'de> for KeychainKind
impl<'de> Deserialize<'de> for KeychainKind
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for KeychainKind
impl Hash for KeychainKind
sourceimpl PartialEq<KeychainKind> for KeychainKind
impl PartialEq<KeychainKind> for KeychainKind
sourcefn eq(&self, other: &KeychainKind) -> bool
fn eq(&self, other: &KeychainKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for KeychainKind
impl Serialize for KeychainKind
impl Copy for KeychainKind
impl Eq for KeychainKind
impl StructuralEq for KeychainKind
impl StructuralPartialEq for KeychainKind
Auto Trait Implementations
impl RefUnwindSafe for KeychainKind
impl Send for KeychainKind
impl Sync for KeychainKind
impl Unpin for KeychainKind
impl UnwindSafe for KeychainKind
Blanket Implementations
impl<T> Base32Len for Twhere
T: AsRef<[u8]>,
impl<T> Base32Len for Twhere
T: AsRef<[u8]>,
fn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToBase32 for Twhere
T: AsRef<[u8]>,
impl<T> ToBase32 for Twhere
T: AsRef<[u8]>,
fn write_base32<W>(&self, writer: &mut W) -> Result<(), <W as WriteBase32>::Err>where
W: WriteBase32,
fn write_base32<W>(&self, writer: &mut W) -> Result<(), <W as WriteBase32>::Err>where
W: WriteBase32,
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more