pub struct TileVersion {
pub tile_id: String,
pub version: u32,
pub parent_id: Option<String>,
pub content: String,
pub question: String,
pub answer: String,
pub confidence: f32,
pub dependencies: Vec<String>,
pub counterpoint_ids: Vec<String>,
pub tags: Vec<String>,
pub invalidated: bool,
pub created_at: u64,
}Expand description
A versioned tile reference — immutable snapshot
Fields§
§tile_id: String§version: u32§parent_id: Option<String>§content: String§question: String§answer: String§confidence: f32§dependencies: Vec<String>§counterpoint_ids: Vec<String>§invalidated: bool§created_at: u64Trait Implementations§
Source§impl Clone for TileVersion
impl Clone for TileVersion
Source§fn clone(&self) -> TileVersion
fn clone(&self) -> TileVersion
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 TileVersion
impl RefUnwindSafe for TileVersion
impl Send for TileVersion
impl Sync for TileVersion
impl Unpin for TileVersion
impl UnsafeUnpin for TileVersion
impl UnwindSafe for TileVersion
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