pub struct RestoreApplyCommandPreview {
pub response_version: u16,
pub backup_id: String,
pub ready: bool,
pub complete: bool,
pub operation_available: bool,
pub command_available: bool,
pub blocked_reasons: Vec<String>,
pub operation: Option<RestoreApplyJournalOperation>,
pub command: Option<RestoreApplyRunnerCommand>,
}Expand description
RestoreApplyCommandPreview
Fields§
§response_version: u16§backup_id: String§ready: bool§complete: bool§operation_available: bool§command_available: bool§blocked_reasons: Vec<String>§operation: Option<RestoreApplyJournalOperation>§command: Option<RestoreApplyRunnerCommand>Implementations§
Source§impl RestoreApplyCommandPreview
impl RestoreApplyCommandPreview
Sourcepub fn from_journal(journal: &RestoreApplyJournal) -> Self
pub fn from_journal(journal: &RestoreApplyJournal) -> Self
Build a no-execute runner command preview from a restore apply journal.
Sourcepub fn from_journal_with_config(
journal: &RestoreApplyJournal,
config: &RestoreApplyCommandConfig,
) -> Self
pub fn from_journal_with_config( journal: &RestoreApplyJournal, config: &RestoreApplyCommandConfig, ) -> Self
Build a configured no-execute runner command preview from a journal.
Trait Implementations§
Source§impl Clone for RestoreApplyCommandPreview
impl Clone for RestoreApplyCommandPreview
Source§fn clone(&self) -> RestoreApplyCommandPreview
fn clone(&self) -> RestoreApplyCommandPreview
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 RestoreApplyCommandPreview
impl Debug for RestoreApplyCommandPreview
Source§impl<'de> Deserialize<'de> for RestoreApplyCommandPreview
impl<'de> Deserialize<'de> for RestoreApplyCommandPreview
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
impl Eq for RestoreApplyCommandPreview
impl StructuralPartialEq for RestoreApplyCommandPreview
Auto Trait Implementations§
impl Freeze for RestoreApplyCommandPreview
impl RefUnwindSafe for RestoreApplyCommandPreview
impl Send for RestoreApplyCommandPreview
impl Sync for RestoreApplyCommandPreview
impl Unpin for RestoreApplyCommandPreview
impl UnsafeUnpin for RestoreApplyCommandPreview
impl UnwindSafe for RestoreApplyCommandPreview
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