pub struct RegistryPin {
pub surface: SurfaceKey,
pub candidate_id: CandidateId,
}Expand description
One frozen pin: a registry surface bound to the candidate id that served it in the revision’s source environment at creation. The pin names a candidate — content-addressed, immutable — so the pin set can never drift beneath a recorded revision: what the gate evaluated is what canaries, byte for byte.
Fields§
§surface: SurfaceKeyThe untagged registry surface (prompt:system,
model_settings:primary, …). The environment the pin was resolved
from travels once on the revision (source_environment), not on
every pin.
candidate_id: CandidateIdThe candidate the source environment’s pointer served at creation.
Trait Implementations§
Source§impl Clone for RegistryPin
impl Clone for RegistryPin
Source§impl Debug for RegistryPin
impl Debug for RegistryPin
Source§impl<'de> Deserialize<'de> for RegistryPin
impl<'de> Deserialize<'de> for RegistryPin
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
impl Eq for RegistryPin
Source§impl PartialEq for RegistryPin
impl PartialEq for RegistryPin
Source§impl Serialize for RegistryPin
impl Serialize for RegistryPin
impl StructuralPartialEq for RegistryPin
Auto Trait Implementations§
impl Freeze for RegistryPin
impl RefUnwindSafe for RegistryPin
impl Send for RegistryPin
impl Sync for RegistryPin
impl Unpin for RegistryPin
impl UnsafeUnpin for RegistryPin
impl UnwindSafe for RegistryPin
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