pub struct PmbsConfig {
pub pmbs: u32,
pub subvol: String,
pub keep: Vec<PmbsConfigKeep>,
}Expand description
pmbs 配置文件内容
Fields§
§pmbs: u32配置文件版本
subvol: String目标 btrfs subvol 路径
keep: Vec<PmbsConfigKeep>快照保留规则
Trait Implementations§
Source§impl Clone for PmbsConfig
impl Clone for PmbsConfig
Source§fn clone(&self) -> PmbsConfig
fn clone(&self) -> PmbsConfig
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 PmbsConfig
impl Debug for PmbsConfig
Source§impl<'de> Deserialize<'de> for PmbsConfig
impl<'de> Deserialize<'de> for PmbsConfig
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 PmbsConfig
impl RefUnwindSafe for PmbsConfig
impl Send for PmbsConfig
impl Sync for PmbsConfig
impl Unpin for PmbsConfig
impl UnsafeUnpin for PmbsConfig
impl UnwindSafe for PmbsConfig
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