pub struct Remember<'a> { /* private fields */ }Expand description
Builder for Client::remember
Implementations§
Source§impl<'a> Remember<'a>
impl<'a> Remember<'a>
pub fn new(client: &'a Client) -> Self
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<AgentMemoryRememberRequest>,
<V as TryInto<AgentMemoryRememberRequest>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<AgentMemoryRememberResponse>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<AgentMemoryRememberResponse>, Error<ErrorResponse>>
Sends a POST request to /api/memory/remember
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Remember<'a>
impl<'a> !UnwindSafe for Remember<'a>
impl<'a> Freeze for Remember<'a>
impl<'a> Send for Remember<'a>
impl<'a> Sync for Remember<'a>
impl<'a> Unpin for Remember<'a>
impl<'a> UnsafeUnpin for Remember<'a>
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