pub struct RestoreApplyNextOperation {
pub response_version: u16,
pub backup_id: String,
pub ready: bool,
pub complete: bool,
pub operation_available: bool,
pub blocked_reasons: Vec<String>,
pub operation: Option<RestoreApplyJournalOperation>,
}Expand description
RestoreApplyNextOperation
Fields§
§response_version: u16§backup_id: String§ready: bool§complete: bool§operation_available: bool§blocked_reasons: Vec<String>§operation: Option<RestoreApplyJournalOperation>Implementations§
Source§impl RestoreApplyNextOperation
impl RestoreApplyNextOperation
Sourcepub fn from_journal(journal: &RestoreApplyJournal) -> Self
pub fn from_journal(journal: &RestoreApplyJournal) -> Self
Build a compact next-operation response from a restore apply journal.
Trait Implementations§
Source§impl Clone for RestoreApplyNextOperation
impl Clone for RestoreApplyNextOperation
Source§fn clone(&self) -> RestoreApplyNextOperation
fn clone(&self) -> RestoreApplyNextOperation
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 RestoreApplyNextOperation
impl Debug for RestoreApplyNextOperation
Source§impl<'de> Deserialize<'de> for RestoreApplyNextOperation
impl<'de> Deserialize<'de> for RestoreApplyNextOperation
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 RestoreApplyNextOperation
impl StructuralPartialEq for RestoreApplyNextOperation
Auto Trait Implementations§
impl Freeze for RestoreApplyNextOperation
impl RefUnwindSafe for RestoreApplyNextOperation
impl Send for RestoreApplyNextOperation
impl Sync for RestoreApplyNextOperation
impl Unpin for RestoreApplyNextOperation
impl UnsafeUnpin for RestoreApplyNextOperation
impl UnwindSafe for RestoreApplyNextOperation
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