pub struct MemoryFormation {
pub subject: MemorySubject,
pub purpose: String,
pub instruction: String,
pub max_items: usize,
pub retention_seconds: Option<u64>,
pub access_retention_seconds: Option<u64>,
pub max_sensitivity: Sensitivity,
}Fields§
§subject: MemorySubjectWhere the formed memories are filed.
A literal names one fixed pile. A binding —
$correlation/<namespace>, $case, $input/<pointer> — resolves per
run, which is what lets one declaration serve every customer without
pooling their facts under one key. See MemorySubject for why the
sources are those three and why an unrecognised $ value is refused
rather than taken as a constant.
purpose: String§instruction: String§max_items: usize§retention_seconds: Option<u64>§access_retention_seconds: Option<u64>§max_sensitivity: SensitivityTrait Implementations§
Source§impl Clone for MemoryFormation
impl Clone for MemoryFormation
Source§impl Debug for MemoryFormation
impl Debug for MemoryFormation
Source§impl<'de> Deserialize<'de> for MemoryFormation
impl<'de> Deserialize<'de> for MemoryFormation
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
Source§impl JsonSchema for MemoryFormation
impl JsonSchema for MemoryFormation
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 moreSource§impl PartialEq for MemoryFormation
impl PartialEq for MemoryFormation
Source§impl Serialize for MemoryFormation
impl Serialize for MemoryFormation
impl StructuralPartialEq for MemoryFormation
Auto Trait Implementations§
impl Freeze for MemoryFormation
impl RefUnwindSafe for MemoryFormation
impl Send for MemoryFormation
impl Sync for MemoryFormation
impl Unpin for MemoryFormation
impl UnsafeUnpin for MemoryFormation
impl UnwindSafe for MemoryFormation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<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> ⓘ
Converts
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> ⓘ
Converts
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 moreCreates a shared type from an unshared type.