pub struct ResourceTreeConfig {
pub enabled: bool,
pub checkpoint_path: Option<String>,
}Expand description
Resource tree configuration.
Fields§
§enabled: boolWhether the resource tree is enabled.
checkpoint_path: Option<String>Path to checkpoint file (None = in-memory only).
Trait Implementations§
Source§impl Clone for ResourceTreeConfig
impl Clone for ResourceTreeConfig
Source§fn clone(&self) -> ResourceTreeConfig
fn clone(&self) -> ResourceTreeConfig
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 ResourceTreeConfig
impl Debug for ResourceTreeConfig
Source§impl Default for ResourceTreeConfig
impl Default for ResourceTreeConfig
Source§impl<'de> Deserialize<'de> for ResourceTreeConfig
impl<'de> Deserialize<'de> for ResourceTreeConfig
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 ResourceTreeConfig
impl RefUnwindSafe for ResourceTreeConfig
impl Send for ResourceTreeConfig
impl Sync for ResourceTreeConfig
impl Unpin for ResourceTreeConfig
impl UnsafeUnpin for ResourceTreeConfig
impl UnwindSafe for ResourceTreeConfig
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