Struct sccache::config::GCSCacheConfig
source · pub struct GCSCacheConfig {
pub bucket: String,
pub key_prefix: String,
pub cred_path: Option<String>,
pub service_account: Option<String>,
pub rw_mode: CacheModeConfig,
pub credential_url: Option<String>,
}
Fields§
§bucket: String
§key_prefix: String
§cred_path: Option<String>
§service_account: Option<String>
§rw_mode: CacheModeConfig
§credential_url: Option<String>
Trait Implementations§
source§impl Debug for GCSCacheConfig
impl Debug for GCSCacheConfig
source§impl<'de> Deserialize<'de> for GCSCacheConfig
impl<'de> Deserialize<'de> for GCSCacheConfig
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 GCSCacheConfig
impl PartialEq for GCSCacheConfig
source§fn eq(&self, other: &GCSCacheConfig) -> bool
fn eq(&self, other: &GCSCacheConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GCSCacheConfig
impl Serialize for GCSCacheConfig
impl Eq for GCSCacheConfig
impl StructuralPartialEq for GCSCacheConfig
Auto Trait Implementations§
impl Freeze for GCSCacheConfig
impl RefUnwindSafe for GCSCacheConfig
impl Send for GCSCacheConfig
impl Sync for GCSCacheConfig
impl Unpin for GCSCacheConfig
impl UnwindSafe for GCSCacheConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.