pub struct SupabaseBucketPlan {
pub region: Region,
pub url: String,
pub access_key_id: String,
pub secret_access_key: String,
pub name: String,
pub path: Option<String>,
}Fields§
§region: RegionThis is the S3 Region. It should look like us-east-1 It should be one of the supabase regions defined in the SUPABASE_REGION enum Check https://supabase.com/docs/guides/platform/regions for up to date regions
url: StringThis is the S3 compatible URL for Supabase S3 This should look like https://
access_key_id: StringThis is the Supabase S3 Access Key ID. The user creates this in the Supabase project Storage settings
secret_access_key: StringThis is the Supabase S3 Secret Access Key. The user creates this in the Supabase project Storage settings along with the access key id
name: StringThis is the Supabase S3 Bucket Name. The user must create this in Supabase under Storage > Buckets A bucket that does not exist will not be checked now, but file uploads will fail
path: Option<String>This is the Supabase S3 Bucket Folder Path. The user can create this in Supabase under Storage > Buckets A path that does not exist will not be checked now, but file uploads will fail A Path is like a folder in the bucket Eg. If the bucket is called "my-bucket" and the path is "my-folder", the full path is "my-bucket/my-folder"
Implementations§
Trait Implementations§
Source§impl Clone for SupabaseBucketPlan
impl Clone for SupabaseBucketPlan
Source§fn clone(&self) -> SupabaseBucketPlan
fn clone(&self) -> SupabaseBucketPlan
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more