#[non_exhaustive]pub struct KxCacheStorageConfiguration {
pub type: Option<String>,
pub size: Option<i32>,
}Expand description
The configuration for read only disk cache associated with a cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: Option<String>The type of cache storage . The valid values are:
-
CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
size: Option<i32>The size of cache in Gigabytes.
Implementations§
source§impl KxCacheStorageConfiguration
impl KxCacheStorageConfiguration
sourcepub fn builder() -> KxCacheStorageConfigurationBuilder
pub fn builder() -> KxCacheStorageConfigurationBuilder
Creates a new builder-style object to manufacture KxCacheStorageConfiguration.
Trait Implementations§
source§impl Clone for KxCacheStorageConfiguration
impl Clone for KxCacheStorageConfiguration
source§fn clone(&self) -> KxCacheStorageConfiguration
fn clone(&self) -> KxCacheStorageConfiguration
Returns a copy 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 KxCacheStorageConfiguration
impl Debug for KxCacheStorageConfiguration
source§impl PartialEq for KxCacheStorageConfiguration
impl PartialEq for KxCacheStorageConfiguration
source§fn eq(&self, other: &KxCacheStorageConfiguration) -> bool
fn eq(&self, other: &KxCacheStorageConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KxCacheStorageConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for KxCacheStorageConfiguration
impl Send for KxCacheStorageConfiguration
impl Sync for KxCacheStorageConfiguration
impl Unpin for KxCacheStorageConfiguration
impl UnwindSafe for KxCacheStorageConfiguration
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