pub struct SupabaseStoreConfig { /* private fields */ }Expand description
Supabase store connection and namespace configuration.
Implementations§
Source§impl SupabaseStoreConfig
impl SupabaseStoreConfig
Sourcepub fn new(
project_url: impl Into<String>,
schema: impl Into<String>,
store_scope: impl Into<String>,
auth: SupabaseAuth,
) -> Result<Self, AgentError>
pub fn new( project_url: impl Into<String>, schema: impl Into<String>, store_scope: impl Into<String>, auth: SupabaseAuth, ) -> Result<Self, AgentError>
Creates a Supabase store configuration.
Sourcepub fn project_url(&self) -> &str
pub fn project_url(&self) -> &str
Returns the Supabase project URL without a trailing slash.
Sourcepub fn store_scope(&self) -> &str
pub fn store_scope(&self) -> &str
Returns the logical SDK store partition.
Sourcepub fn auth(&self) -> &SupabaseAuth
pub fn auth(&self) -> &SupabaseAuth
Returns the redacted auth holder.
Trait Implementations§
Source§impl Clone for SupabaseStoreConfig
impl Clone for SupabaseStoreConfig
Source§fn clone(&self) -> SupabaseStoreConfig
fn clone(&self) -> SupabaseStoreConfig
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 moreAuto Trait Implementations§
impl Freeze for SupabaseStoreConfig
impl RefUnwindSafe for SupabaseStoreConfig
impl Send for SupabaseStoreConfig
impl Sync for SupabaseStoreConfig
impl Unpin for SupabaseStoreConfig
impl UnsafeUnpin for SupabaseStoreConfig
impl UnwindSafe for SupabaseStoreConfig
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