pub struct UpdateGcpCredentialDto {
pub fallback_index: Option<f64>,
pub name: Option<String>,
pub gcp_key: Option<GcpKey>,
pub region: Option<String>,
pub bucket_plan: Option<BucketPlan>,
}
Fields§
§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.
name: Option<String>
This is the name of credential. This is just for your reference.
gcp_key: Option<GcpKey>
This is the GCP key. This is the JSON that can be generated in the Google Cloud Console at https://console.cloud.google.com/iam-admin/serviceaccounts/details/
region: Option<String>
This is the region of the GCP resource.
bucket_plan: Option<BucketPlan>
Implementations§
Source§impl UpdateGcpCredentialDto
impl UpdateGcpCredentialDto
pub fn new() -> UpdateGcpCredentialDto
Trait Implementations§
Source§impl Clone for UpdateGcpCredentialDto
impl Clone for UpdateGcpCredentialDto
Source§fn clone(&self) -> UpdateGcpCredentialDto
fn clone(&self) -> UpdateGcpCredentialDto
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 UpdateGcpCredentialDto
impl Debug for UpdateGcpCredentialDto
Source§impl Default for UpdateGcpCredentialDto
impl Default for UpdateGcpCredentialDto
Source§fn default() -> UpdateGcpCredentialDto
fn default() -> UpdateGcpCredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateGcpCredentialDto
impl<'de> Deserialize<'de> for UpdateGcpCredentialDto
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
Source§impl PartialEq for UpdateGcpCredentialDto
impl PartialEq for UpdateGcpCredentialDto
Source§impl Serialize for UpdateGcpCredentialDto
impl Serialize for UpdateGcpCredentialDto
impl StructuralPartialEq for UpdateGcpCredentialDto
Auto Trait Implementations§
impl Freeze for UpdateGcpCredentialDto
impl RefUnwindSafe for UpdateGcpCredentialDto
impl Send for UpdateGcpCredentialDto
impl Sync for UpdateGcpCredentialDto
impl Unpin for UpdateGcpCredentialDto
impl UnwindSafe for UpdateGcpCredentialDto
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