pub struct PromptGraph {
pub schema_version: String,
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
pub built_at: String,
}Expand description
The full prompt dependency graph, persisted at .lexicon/prompt-graph.json.
Fields§
§schema_version: String§nodes: Vec<GraphNode>§edges: Vec<GraphEdge>§built_at: StringTrait Implementations§
Source§impl Clone for PromptGraph
impl Clone for PromptGraph
Source§fn clone(&self) -> PromptGraph
fn clone(&self) -> PromptGraph
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 PromptGraph
impl Debug for PromptGraph
Source§impl Default for PromptGraph
impl Default for PromptGraph
Source§impl<'de> Deserialize<'de> for PromptGraph
impl<'de> Deserialize<'de> for PromptGraph
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 PromptGraph
impl RefUnwindSafe for PromptGraph
impl Send for PromptGraph
impl Sync for PromptGraph
impl Unpin for PromptGraph
impl UnsafeUnpin for PromptGraph
impl UnwindSafe for PromptGraph
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