pub struct CreateSupabaseCredentialDto {
pub provider: ProviderTrue,
pub fallback_index: Option<f64>,
pub bucket_plan: Option<SupabaseBucketPlan>,
pub name: Option<String>,
}
Fields§
§provider: ProviderTrue
This is for supabase storage.
fallback_index: Option<f64>
This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
bucket_plan: Option<SupabaseBucketPlan>
§name: Option<String>
This is the name of credential. This is just for your reference.
Implementations§
Source§impl CreateSupabaseCredentialDto
impl CreateSupabaseCredentialDto
pub fn new(provider: ProviderTrue) -> CreateSupabaseCredentialDto
Trait Implementations§
Source§impl Clone for CreateSupabaseCredentialDto
impl Clone for CreateSupabaseCredentialDto
Source§fn clone(&self) -> CreateSupabaseCredentialDto
fn clone(&self) -> CreateSupabaseCredentialDto
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateSupabaseCredentialDto
impl Debug for CreateSupabaseCredentialDto
Source§impl Default for CreateSupabaseCredentialDto
impl Default for CreateSupabaseCredentialDto
Source§fn default() -> CreateSupabaseCredentialDto
fn default() -> CreateSupabaseCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateSupabaseCredentialDto
impl<'de> Deserialize<'de> for CreateSupabaseCredentialDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CreateSupabaseCredentialDto
Auto Trait Implementations§
impl Freeze for CreateSupabaseCredentialDto
impl RefUnwindSafe for CreateSupabaseCredentialDto
impl Send for CreateSupabaseCredentialDto
impl Sync for CreateSupabaseCredentialDto
impl Unpin for CreateSupabaseCredentialDto
impl UnwindSafe for CreateSupabaseCredentialDto
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