pub struct PendingRestore {
pub id: i64,
pub file: PathBuf,
pub var: String,
pub previous: Option<String>,
pub url: String,
}Expand description
A .env restore the daemon could not do (e.g. a read-only file); a client finishes it.
Fields§
§id: i64§file: PathBuf§var: String§previous: Option<String>§url: StringThe clone URL the file must still hold for the restore to apply.
Trait Implementations§
Source§impl Clone for PendingRestore
impl Clone for PendingRestore
Source§impl Debug for PendingRestore
impl Debug for PendingRestore
Source§impl<'de> Deserialize<'de> for PendingRestore
impl<'de> Deserialize<'de> for PendingRestore
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 PartialEq for PendingRestore
impl PartialEq for PendingRestore
Source§impl Serialize for PendingRestore
impl Serialize for PendingRestore
impl StructuralPartialEq for PendingRestore
Auto Trait Implementations§
impl Freeze for PendingRestore
impl RefUnwindSafe for PendingRestore
impl Send for PendingRestore
impl Sync for PendingRestore
impl Unpin for PendingRestore
impl UnsafeUnpin for PendingRestore
impl UnwindSafe for PendingRestore
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