pub struct IndexResult {
pub block_sequence: u64,
pub block_hash: BlockHash,
pub score: f32,
}Expand description
Result from any index query
Fields§
§block_sequence: u64§block_hash: BlockHash§score: f32Trait Implementations§
Source§impl Clone for IndexResult
impl Clone for IndexResult
Source§fn clone(&self) -> IndexResult
fn clone(&self) -> IndexResult
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 moreAuto Trait Implementations§
impl Freeze for IndexResult
impl RefUnwindSafe for IndexResult
impl Send for IndexResult
impl Sync for IndexResult
impl Unpin for IndexResult
impl UnsafeUnpin for IndexResult
impl UnwindSafe for IndexResult
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