pub struct ExportPolicy {
pub auto_export_reflections_to_filesystem: Option<bool>,
}Expand description
#880 — QW-1 reflection-export sub-struct of GovernancePolicy.
Single-field cluster preserved as its own sub-struct so future
reflection-side knobs (e.g. a v0.8 retention sweep) land here
without churning literal sites.
Fields§
§auto_export_reflections_to_filesystem: Option<bool>v0.7.0 QW-1 — when Some(true), the post_reflect substrate
hook deferred-spawns a filesystem write of the reflection
markdown to ~/.ai-memory/reflections/<namespace>/<id>.md so
operators can cat the reflection chain without learning SQL.
Inherits via the same leaf-first ancestor walk as every other
field on this struct (G1 governance). None / Some(false)
keeps the substrate quiet — the canonical reflection is the
SQL row, never the file. skip_serializing_if = "Option::is_none"
keeps the absent shape on the wire for pre-QW-1 federation
peers (no payload-byte drift, no replication regressions).
Trait Implementations§
Source§impl Clone for ExportPolicy
impl Clone for ExportPolicy
Source§fn clone(&self) -> ExportPolicy
fn clone(&self) -> ExportPolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExportPolicy
impl Debug for ExportPolicy
Source§impl Default for ExportPolicy
impl Default for ExportPolicy
Source§fn default() -> ExportPolicy
fn default() -> ExportPolicy
Source§impl<'de> Deserialize<'de> for ExportPolicy
impl<'de> Deserialize<'de> for ExportPolicy
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>,
impl Eq for ExportPolicy
Source§impl PartialEq for ExportPolicy
impl PartialEq for ExportPolicy
Source§fn eq(&self, other: &ExportPolicy) -> bool
fn eq(&self, other: &ExportPolicy) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ExportPolicy
impl Serialize for ExportPolicy
impl StructuralPartialEq for ExportPolicy
Auto Trait Implementations§
impl Freeze for ExportPolicy
impl RefUnwindSafe for ExportPolicy
impl Send for ExportPolicy
impl Sync for ExportPolicy
impl Unpin for ExportPolicy
impl UnsafeUnpin for ExportPolicy
impl UnwindSafe for ExportPolicy
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
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