pub struct StateSyncConfig {
pub dump: Option<DumpConfig>,
pub sync: Option<SyncConfig>,
}
Expand description
Options for dumping state to S3.
JSON schema
{
"description": "Options for dumping state to S3.",
"type": "object",
"properties": {
"dump": {
"description": "`none` value disables state dump to external storage.",
"anyOf": [
{
"$ref": "#/components/schemas/DumpConfig"
},
{
"type": "null"
}
]
},
"sync": {
"$ref": "#/components/schemas/SyncConfig"
}
}
}
Fields§
§dump: Option<DumpConfig>
none
value disables state dump to external storage.
sync: Option<SyncConfig>
Trait Implementations§
Source§impl Clone for StateSyncConfig
impl Clone for StateSyncConfig
Source§fn clone(&self) -> StateSyncConfig
fn clone(&self) -> StateSyncConfig
Returns a duplicate 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 StateSyncConfig
impl Debug for StateSyncConfig
Source§impl Default for StateSyncConfig
impl Default for StateSyncConfig
Source§impl<'de> Deserialize<'de> for StateSyncConfig
impl<'de> Deserialize<'de> for StateSyncConfig
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 From<&StateSyncConfig> for StateSyncConfig
impl From<&StateSyncConfig> for StateSyncConfig
Source§fn from(value: &StateSyncConfig) -> Self
fn from(value: &StateSyncConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StateSyncConfig
impl RefUnwindSafe for StateSyncConfig
impl Send for StateSyncConfig
impl Sync for StateSyncConfig
impl Unpin for StateSyncConfig
impl UnwindSafe for StateSyncConfig
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