pub struct VersionAnnotation {
pub prompt_changed: bool,
pub model_changed: bool,
pub temperature_changed: bool,
pub note: Option<String>,
}Expand description
Metadata describing why a new version was created.
Fields§
§prompt_changed: boolWhether the prompt changed relative to the parent.
model_changed: boolWhether the model changed relative to the parent.
temperature_changed: boolWhether the temperature changed relative to the parent.
note: Option<String>Free-form human note.
Trait Implementations§
Source§impl Clone for VersionAnnotation
impl Clone for VersionAnnotation
Source§fn clone(&self) -> VersionAnnotation
fn clone(&self) -> VersionAnnotation
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 VersionAnnotation
impl Debug for VersionAnnotation
Source§impl Default for VersionAnnotation
impl Default for VersionAnnotation
Source§fn default() -> VersionAnnotation
fn default() -> VersionAnnotation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VersionAnnotation
impl<'de> Deserialize<'de> for VersionAnnotation
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 VersionAnnotation
impl RefUnwindSafe for VersionAnnotation
impl Send for VersionAnnotation
impl Sync for VersionAnnotation
impl Unpin for VersionAnnotation
impl UnsafeUnpin for VersionAnnotation
impl UnwindSafe for VersionAnnotation
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