pub struct FullTurn {
pub recall: RecallTurn,
pub host: Arc<dyn RecallHost>,
pub hooks: Vec<Arc<dyn Hook>>,
}Expand description
The host’s facts about one turn, given to FullMemory as the turn’s
HostTurn. Without them the system works
from the MemoryTurn alone: the "owner" scope is the owner’s private
chat, any other a private group, with no goals and people off.
Fields§
§recall: RecallTurn§host: Arc<dyn RecallHost>§hooks: Vec<Arc<dyn Hook>>Further run hooks the host adds with this memory (its run-end writer).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FullTurn
impl !UnwindSafe for FullTurn
impl Forget for FullTurn
impl Freeze for FullTurn
impl Move for FullTurn
impl Send for FullTurn
impl Sync for FullTurn
impl Unpin for FullTurn
impl UnsafeUnpin for FullTurn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more