pub struct RubyCacheConfig {
pub gem_cache_dir: Option<PathBuf>,
pub bundler_cache_dir: Option<PathBuf>,
pub max_cache_size: Option<u64>,
pub cache_ttl: Duration,
}Fields§
§gem_cache_dir: Option<PathBuf>§bundler_cache_dir: Option<PathBuf>§max_cache_size: Option<u64>§cache_ttl: DurationTrait Implementations§
Source§impl Clone for RubyCacheConfig
impl Clone for RubyCacheConfig
Source§fn clone(&self) -> RubyCacheConfig
fn clone(&self) -> RubyCacheConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RubyCacheConfig
impl Debug for RubyCacheConfig
Source§impl Default for RubyCacheConfig
impl Default for RubyCacheConfig
Source§impl<'de> Deserialize<'de> for RubyCacheConfig
impl<'de> Deserialize<'de> for RubyCacheConfig
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
Auto Trait Implementations§
impl Freeze for RubyCacheConfig
impl RefUnwindSafe for RubyCacheConfig
impl Send for RubyCacheConfig
impl Sync for RubyCacheConfig
impl Unpin for RubyCacheConfig
impl UnsafeUnpin for RubyCacheConfig
impl UnwindSafe for RubyCacheConfig
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