Struct fluvio_sc_schema::spg::StorageConfig
source · pub struct StorageConfig {
pub log_dir: Option<String>,
pub size: Option<String>,
}
Fields§
§log_dir: Option<String>
§size: Option<String>
Implementations§
source§impl StorageConfig
impl StorageConfig
sourcepub fn real_config(&self) -> RealStorageConfig
pub fn real_config(&self) -> RealStorageConfig
fill in the values if not defined that should be used
Trait Implementations§
source§impl Clone for StorageConfig
impl Clone for StorageConfig
source§fn clone(&self) -> StorageConfig
fn clone(&self) -> StorageConfig
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 StorageConfig
impl Debug for StorageConfig
source§impl Decoder for StorageConfig
impl Decoder for StorageConfig
source§impl Default for StorageConfig
impl Default for StorageConfig
source§fn default() -> StorageConfig
fn default() -> StorageConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StorageConfig
impl<'de> Deserialize<'de> for StorageConfig
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<StorageConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<StorageConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encoder for StorageConfig
impl Encoder for StorageConfig
source§impl From<K8StorageConfig> for StorageConfig
impl From<K8StorageConfig> for StorageConfig
source§fn from(config: K8StorageConfig) -> StorageConfig
fn from(config: K8StorageConfig) -> StorageConfig
Converts to this type from the input type.
source§impl From<StorageConfig> for K8StorageConfig
impl From<StorageConfig> for K8StorageConfig
source§fn from(storage: StorageConfig) -> K8StorageConfig
fn from(storage: StorageConfig) -> K8StorageConfig
Converts to this type from the input type.
source§impl PartialEq for StorageConfig
impl PartialEq for StorageConfig
source§fn eq(&self, other: &StorageConfig) -> bool
fn eq(&self, other: &StorageConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StorageConfig
impl Serialize for StorageConfig
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for StorageConfig
impl StructuralPartialEq for StorageConfig
Auto Trait Implementations§
impl Freeze for StorageConfig
impl RefUnwindSafe for StorageConfig
impl Send for StorageConfig
impl Sync for StorageConfig
impl Unpin for StorageConfig
impl UnwindSafe for StorageConfig
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.