Struct sccache::config::OSSCacheConfig
source · pub struct OSSCacheConfig {
pub bucket: String,
pub key_prefix: String,
pub endpoint: Option<String>,
pub no_credentials: bool,
}
Fields§
§bucket: String
§key_prefix: String
§endpoint: Option<String>
§no_credentials: bool
Trait Implementations§
source§impl Debug for OSSCacheConfig
impl Debug for OSSCacheConfig
source§impl<'de> Deserialize<'de> for OSSCacheConfig
impl<'de> Deserialize<'de> for OSSCacheConfig
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 OSSCacheConfig
impl PartialEq for OSSCacheConfig
source§fn eq(&self, other: &OSSCacheConfig) -> bool
fn eq(&self, other: &OSSCacheConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OSSCacheConfig
impl Serialize for OSSCacheConfig
impl Eq for OSSCacheConfig
impl StructuralPartialEq for OSSCacheConfig
Auto Trait Implementations§
impl Freeze for OSSCacheConfig
impl RefUnwindSafe for OSSCacheConfig
impl Send for OSSCacheConfig
impl Sync for OSSCacheConfig
impl Unpin for OSSCacheConfig
impl UnwindSafe for OSSCacheConfig
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.