pub struct Tile {
pub id: String,
pub confidence: f64,
pub question: String,
pub answer: String,
pub tags: Vec<String>,
pub anchors: Vec<String>,
pub weight: f64,
pub use_count: u64,
pub active: bool,
pub last_used_tick: u64,
pub constraint_tolerance: f64,
pub constraint_threshold: f64,
}Expand description
Standalone Tile with gene metadata stripped — result of GeneTilePool::harvest.
Fields§
§id: String§confidence: f64§question: String§answer: String§anchors: Vec<String>§weight: f64§use_count: u64§active: bool§last_used_tick: u64§constraint_tolerance: f64§constraint_threshold: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tile
impl RefUnwindSafe for Tile
impl Send for Tile
impl Sync for Tile
impl Unpin for Tile
impl UnsafeUnpin for Tile
impl UnwindSafe for Tile
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