pub struct PostgresProviderArgumentStore { /* private fields */ }Implementations§
Source§impl PostgresProviderArgumentStore
impl PostgresProviderArgumentStore
pub fn new(client: PostgresStoreClient) -> Self
Trait Implementations§
Source§impl Clone for PostgresProviderArgumentStore
impl Clone for PostgresProviderArgumentStore
Source§fn clone(&self) -> PostgresProviderArgumentStore
fn clone(&self) -> PostgresProviderArgumentStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ProviderArgumentStore for PostgresProviderArgumentStore
impl ProviderArgumentStore for PostgresProviderArgumentStore
Source§fn store_provider_arguments(
&self,
provider_ref: &str,
call_id: &str,
canonical_tool_name: &CanonicalToolName,
raw_arguments: &str,
) -> Result<Option<ProviderArgumentContentRef>, AgentError>
fn store_provider_arguments( &self, provider_ref: &str, call_id: &str, canonical_tool_name: &CanonicalToolName, raw_arguments: &str, ) -> Result<Option<ProviderArgumentContentRef>, AgentError>
Stores raw provider tool arguments and returns a content ref when the
host wants executors to resolve arguments through normal content policy.
Source§fn load_provider_arguments_json(
&self,
content_ref: &ProviderArgumentContentRef,
) -> Result<Value, AgentError>
fn load_provider_arguments_json( &self, content_ref: &ProviderArgumentContentRef, ) -> Result<Value, AgentError>
Loads stored provider tool arguments as JSON through the same content
ref returned by
store_provider_arguments.Auto Trait Implementations§
impl !RefUnwindSafe for PostgresProviderArgumentStore
impl !UnwindSafe for PostgresProviderArgumentStore
impl Freeze for PostgresProviderArgumentStore
impl Send for PostgresProviderArgumentStore
impl Sync for PostgresProviderArgumentStore
impl Unpin for PostgresProviderArgumentStore
impl UnsafeUnpin for PostgresProviderArgumentStore
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