pub struct FreshnessIdentity {
pub project_root: String,
pub session_id: String,
pub lean_toolchain: String,
}Expand description
Session identity — always serialized as the envelope’s freshness.
Small, stable, and occasionally relevant to a proof agent: session_id
flips when the worker re-spawns, signalling a context reset.
Fields§
§project_root: String§session_id: String§lean_toolchain: StringTrait Implementations§
Source§impl Clone for FreshnessIdentity
impl Clone for FreshnessIdentity
Source§fn clone(&self) -> FreshnessIdentity
fn clone(&self) -> FreshnessIdentity
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 FreshnessIdentity
impl Debug for FreshnessIdentity
Source§impl From<FreshnessIdentity> for SemanticTrust
impl From<FreshnessIdentity> for SemanticTrust
Source§fn from(freshness: FreshnessIdentity) -> Self
fn from(freshness: FreshnessIdentity) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for FreshnessIdentity
impl JsonSchema for FreshnessIdentity
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for FreshnessIdentity
impl RefUnwindSafe for FreshnessIdentity
impl Send for FreshnessIdentity
impl Sync for FreshnessIdentity
impl Unpin for FreshnessIdentity
impl UnsafeUnpin for FreshnessIdentity
impl UnwindSafe for FreshnessIdentity
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