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 moreSource§impl Debug for SupabaseConfig
impl Debug for SupabaseConfig
Source§impl Default for SupabaseConfig
impl Default for SupabaseConfig
Source§fn default() -> SupabaseConfig
fn default() -> SupabaseConfig
Returns the “default value” for a type. Read more
Auto 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
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.