pub struct NodeCandidate {
pub id: String,
pub label: String,
pub template: String,
pub dist: f32,
}Expand description
One resource-node row for the harvest picker.
Fields§
§id: String§label: String§template: String§dist: f32Trait Implementations§
Source§impl Clone for NodeCandidate
impl Clone for NodeCandidate
Source§fn clone(&self) -> NodeCandidate
fn clone(&self) -> NodeCandidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeCandidate
impl Debug for NodeCandidate
Source§impl PartialEq for NodeCandidate
impl PartialEq for NodeCandidate
impl StructuralPartialEq for NodeCandidate
Auto Trait Implementations§
impl Freeze for NodeCandidate
impl RefUnwindSafe for NodeCandidate
impl Send for NodeCandidate
impl Sync for NodeCandidate
impl Unpin for NodeCandidate
impl UnsafeUnpin for NodeCandidate
impl UnwindSafe for NodeCandidate
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