pub struct FreezeMetadata {
pub llm_provider: Option<String>,
pub llm_model: Option<String>,
pub llm_version: Option<String>,
pub prompt_hash: Option<String>,
pub output_hash: Option<String>,
pub original_prompt: Option<String>,
}Expand description
Metadata for frozen artifacts
Fields§
§llm_provider: Option<String>LLM provider used (e.g., “openai”, “anthropic”, “ollama”)
llm_model: Option<String>LLM model used (e.g., “gpt-4”, “claude-3-opus”)
llm_version: Option<String>LLM version (if available)
prompt_hash: Option<String>Hash of the input prompt/description
output_hash: Option<String>Hash of the output content
original_prompt: Option<String>Original prompt/description (optional, for reference)
Trait Implementations§
Source§impl Clone for FreezeMetadata
impl Clone for FreezeMetadata
Source§fn clone(&self) -> FreezeMetadata
fn clone(&self) -> FreezeMetadata
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 FreezeMetadata
impl Debug for FreezeMetadata
Source§impl<'de> Deserialize<'de> for FreezeMetadata
impl<'de> Deserialize<'de> for FreezeMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FreezeMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FreezeMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for FreezeMetadata
impl Serialize for FreezeMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for FreezeMetadata
impl RefUnwindSafe for FreezeMetadata
impl Send for FreezeMetadata
impl Sync for FreezeMetadata
impl Unpin for FreezeMetadata
impl UnsafeUnpin for FreezeMetadata
impl UnwindSafe for FreezeMetadata
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