pub struct GcpOptions {
pub service_account_path: Option<String>,
pub service_account_key: Option<String>,
pub application_credentials_path: Option<String>,
}
Expand description
This struct encapsulates GCP options one uses when setting up object storage.
Fields§
§service_account_path: Option<String>
Service account path
service_account_key: Option<String>
Service account key
application_credentials_path: Option<String>
Application credentials path
Trait Implementations§
Source§impl Clone for GcpOptions
impl Clone for GcpOptions
Source§fn clone(&self) -> GcpOptions
fn clone(&self) -> GcpOptions
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 ConfigExtension for GcpOptions
impl ConfigExtension for GcpOptions
Source§impl Debug for GcpOptions
impl Debug for GcpOptions
Source§impl Default for GcpOptions
impl Default for GcpOptions
Source§fn default() -> GcpOptions
fn default() -> GcpOptions
Returns the “default value” for a type. Read more
Source§impl ExtensionOptions for GcpOptions
impl ExtensionOptions for GcpOptions
Source§fn cloned(&self) -> Box<dyn ExtensionOptions>
fn cloned(&self) -> Box<dyn ExtensionOptions>
Return a deep clone of this
ExtensionOptions
Read moreSource§fn entries(&self) -> Vec<ConfigEntry>
fn entries(&self) -> Vec<ConfigEntry>
Returns the
ConfigEntry
stored in this ExtensionOptions
Auto Trait Implementations§
impl Freeze for GcpOptions
impl RefUnwindSafe for GcpOptions
impl Send for GcpOptions
impl Sync for GcpOptions
impl Unpin for GcpOptions
impl UnwindSafe for GcpOptions
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 moreCreates a shared type from an unshared type.