pub struct SupabaseConfig {
pub url: String,
pub key: String,
pub service_role_key: Option<String>,
pub http_config: HttpConfig,
pub auth_config: AuthConfig,
pub database_config: DatabaseConfig,
pub storage_config: StorageConfig,
}
Expand description
Configuration for Supabase client
Fields§
§url: String
Project URL (e.g., https://your-project.supabase.co)
key: String
API key (anon key for client-side operations)
service_role_key: Option<String>
Service role key for admin operations (optional)
http_config: HttpConfig
HTTP client configuration
auth_config: AuthConfig
Auth configuration
database_config: DatabaseConfig
Database configuration
storage_config: StorageConfig
Storage configuration
Trait Implementations§
Source§impl Clone for SupabaseConfig
impl Clone for SupabaseConfig
Source§fn clone(&self) -> SupabaseConfig
fn clone(&self) -> SupabaseConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SupabaseConfig
impl RefUnwindSafe for SupabaseConfig
impl Send for SupabaseConfig
impl Sync for SupabaseConfig
impl Unpin for SupabaseConfig
impl UnwindSafe for SupabaseConfig
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