pub struct RouterHintCandidates {
pub first: RouterHint,
pub second: Option<RouterHint>,
}Expand description
The one or two router hints a typed base58 prefix can mean.
Fields§
§first: RouterHintThe hint of the lowest address beginning with the prefix.
second: Option<RouterHint>The hint of the highest one, when it differs.
Implementations§
Source§impl RouterHintCandidates
impl RouterHintCandidates
Sourcepub fn iter(&self) -> impl Iterator<Item = RouterHint> + '_
pub fn iter(&self) -> impl Iterator<Item = RouterHint> + '_
The candidates in ascending order.
Trait Implementations§
Source§impl Clone for RouterHintCandidates
impl Clone for RouterHintCandidates
Source§fn clone(&self) -> RouterHintCandidates
fn clone(&self) -> RouterHintCandidates
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RouterHintCandidates
impl Debug for RouterHintCandidates
Source§impl PartialEq for RouterHintCandidates
impl PartialEq for RouterHintCandidates
impl Copy for RouterHintCandidates
impl Eq for RouterHintCandidates
impl StructuralPartialEq for RouterHintCandidates
Auto Trait Implementations§
impl Freeze for RouterHintCandidates
impl RefUnwindSafe for RouterHintCandidates
impl Send for RouterHintCandidates
impl Sync for RouterHintCandidates
impl Unpin for RouterHintCandidates
impl UnwindSafe for RouterHintCandidates
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)