pub struct CachedComposition {
pub problem: String,
pub graph: CompositionGraph,
pub cached_at: u64,
pub model: String,
}Expand description
A cached composition entry.
Fields§
§problem: StringThe original problem description (for display/debugging).
graph: CompositionGraphThe resolved composition graph.
cached_at: u64Unix timestamp of when this was cached.
model: StringWhich model produced this graph.
Trait Implementations§
Source§impl Clone for CachedComposition
impl Clone for CachedComposition
Source§fn clone(&self) -> CachedComposition
fn clone(&self) -> CachedComposition
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 moreSource§impl Debug for CachedComposition
impl Debug for CachedComposition
Source§impl<'de> Deserialize<'de> for CachedComposition
impl<'de> Deserialize<'de> for CachedComposition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CachedComposition
impl RefUnwindSafe for CachedComposition
impl Send for CachedComposition
impl Sync for CachedComposition
impl Unpin for CachedComposition
impl UnsafeUnpin for CachedComposition
impl UnwindSafe for CachedComposition
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