pub struct AxonStoreDefinition {Show 13 fields
pub name: String,
pub backend: String,
pub connection: String,
pub resource_ref: String,
pub confidence_floor: Option<f64>,
pub isolation: String,
pub on_breach: String,
pub capability: String,
pub class: String,
pub column_schema: Option<StoreColumnSchema>,
pub loc: Loc,
pub leading_trivia: Vec<Trivia>,
pub trailing_trivia: Vec<Trivia>,
}Fields§
§name: String§backend: String§connection: StringThe DSN — the field that actually runs today. connection: →
resolve_dsn → a real sqlx pool, with no global-pool fallback.
§Fase 113: still accepted (the live deployment depends on it), but it
warns, and a store declared this way is INELIGIBLE for
lease / observe / reconcile. You cannot govern what you did not
declare.
resource_ref: String§Fase 113 — the resource this store runs on. When present, the store
DERIVES its DSN, its pool size and its sharing discipline from the
resource. The derivation is the point; a bare reference would be the
nominal link this fase exists to avoid.
confidence_floor: Option<f64>§isolation: String§on_breach: String§capability: String§Fase 35.j (D11) — Pillar IV: the capability slug required to
access this store. Empty = no capability gate. Validated at
parse time against the closed slug grammar (shared with the
Fase 32.g requires: grammar).
class: String§Fase 94.a — the secret-class prefix of a backend: secrets
metadata store (doctrine rotation_without_revelation). A
dotted lowercase identifier, e.g. crm — the store enumerates
the tenant’s secrets whose keys live under <class>. (so
class: crm covers crm.hubspot, crm.zoho.acct_x, …).
REQUIRED when backend: secrets and FORBIDDEN otherwise
(axon-T900): a class-less secrets store would enumerate the
tenant’s ENTIRE secret namespace (llm.* included) — that
over-broad view is unrepresentable, not discouraged.
column_schema: Option<StoreColumnSchema>§Fase 38.b (D1) — the OPTIONAL column-schema declaration. Three
closed forms (inline / manifest-ref / env-var); None means the
37.x runtime+deploy path applies verbatim (D5 absolute). The
§38.d / §38.e StoreColumnProof pass consumes this; the §38.h
CLI exports it. For a backend: secrets store this is always
None in the AST (declaring one is axon-T900) — the fixed
metadata schema is synthesized at IR time
(store_schema::secrets_metadata_schema).
loc: Loc§leading_trivia: Vec<Trivia>Fase 14.b — leading comment trivia attached to this declaration (comments preceding the declaration’s first token, since the previous declaration or file start). Empty by default.
trailing_trivia: Vec<Trivia>Fase 14.b — trailing comment trivia (same line as the declaration’s last effective token). Empty by default.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AxonStoreDefinition
impl RefUnwindSafe for AxonStoreDefinition
impl Send for AxonStoreDefinition
impl Sync for AxonStoreDefinition
impl Unpin for AxonStoreDefinition
impl UnsafeUnpin for AxonStoreDefinition
impl UnwindSafe for AxonStoreDefinition
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more