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 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
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 T where
T: AsRef<[u8]>,
impl<T> Base32Len for T where
T: AsRef<[u8]>,
fn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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 T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more