pub struct DerivedAddr {
pub addr: Address,
pub terminal: Terminal,
}
Fields§
§addr: Address
§terminal: Terminal
Implementations§
Source§impl DerivedAddr
impl DerivedAddr
pub fn new(addr: Address, keychain: Keychain, index: NormalIndex) -> DerivedAddr
Trait Implementations§
Source§impl Clone for DerivedAddr
impl Clone for DerivedAddr
Source§fn clone(&self) -> DerivedAddr
fn clone(&self) -> DerivedAddr
Returns a copy 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 DerivedAddr
impl Debug for DerivedAddr
Source§impl Display for DerivedAddr
impl Display for DerivedAddr
Source§impl FromStr for DerivedAddr
impl FromStr for DerivedAddr
Source§type Err = DerivedAddrParseError
type Err = DerivedAddrParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<DerivedAddr, <DerivedAddr as FromStr>::Err>
fn from_str(s: &str) -> Result<DerivedAddr, <DerivedAddr as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl Hash for DerivedAddr
impl Hash for DerivedAddr
Source§impl Ord for DerivedAddr
impl Ord for DerivedAddr
Source§fn cmp(&self, other: &DerivedAddr) -> Ordering
fn cmp(&self, other: &DerivedAddr) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DerivedAddr
impl PartialEq for DerivedAddr
Source§impl PartialOrd for DerivedAddr
impl PartialOrd for DerivedAddr
impl Copy for DerivedAddr
impl Eq for DerivedAddr
impl StructuralPartialEq for DerivedAddr
Auto Trait Implementations§
impl Freeze for DerivedAddr
impl RefUnwindSafe for DerivedAddr
impl Send for DerivedAddr
impl Sync for DerivedAddr
impl Unpin for DerivedAddr
impl UnwindSafe for DerivedAddr
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.