# `Reminisce.Memory`
[🔗](https://github.com/NoeticEcho/reminisce-elixir/blob/v0.6.0/lib/reminisce/memory.ex#L4)

One memory, as the library hands it back.

`content` is `nil` once the memory has been withdrawn: the words are gone from
the store, and only the key, owner, times and links remain.

An intention (docs/spec.md §A.2) is an active memory with the aspect
`:prospective` and a trigger: its `due_at`, or one of its `cues`
(`{:event, kind}`, `{:term, term}`, `{:source, reference}`,
`{:memory, key}` or `:audience`). `intention_outcome` is `:fulfilled` or
`:expired` once it has ended so, and `nil` otherwise.

An affective memory (docs/spec.md Appendix B) has the aspect `:affective`
alone: how its `object`, the key of the memory it is about, was felt, as
`valence` (−1,000 to 1,000) and `arousal` (0 to 1,000), by `felt_by`
(`:owner` or `{:subject, ref}`). A withdrawal deletes all three. Recall and
`why/4` answer, on the memories they return, the `affects` the audience may
see: `%{key:, felt_by:, basis:, valence:, arousal:, weight:}`.
`unslowed_salience` is the salience a pass tests `inactive_below` on once
an affect has slowed the memory's decay, and `nil` before.

A strand of the persona DNA (docs/spec.md Appendix C) has the aspect
`:persona` alone, its `strand_kind` (`:value`, `:voice`, `:boundary`,
`:relationship` or `:origin`) and its `strand_name`. A withdrawal deletes
both with its words.

`Inspect` leaves out `content`, `facets`, `cues`, `subjects`, `valence`,
`arousal`, `felt_by`, `affects` and `strand_name`: the words, and what may
concern a person.

# `t`

```elixir
@type t() :: %Reminisce.Memory{
  affects: term(),
  arousal: term(),
  aspects: term(),
  basis: term(),
  confidence: term(),
  content: term(),
  cues: term(),
  derived_from: term(),
  due_at: term(),
  facets: term(),
  felt_by: term(),
  intention_outcome: term(),
  key: term(),
  last_recalled_at: term(),
  object: term(),
  occurred_at: term(),
  owner: term(),
  recall_count: term(),
  recorded_at: term(),
  reviewed_by: term(),
  salience: term(),
  sources: term(),
  status: term(),
  status_changed_at: term(),
  status_reason: term(),
  strand_kind: term(),
  strand_name: term(),
  subjects: term(),
  unslowed_salience: term(),
  valence: term(),
  valid_from: term(),
  valid_to: term()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
