pub struct BackupOutput {
pub pages_copied: i32,
pub destination: PathBuf,
}Expand description
The result of a successful database backup.
Fields§
§pages_copied: i32The total number of pages copied during the backup.
destination: PathBufThe file path the backup was written to.
Trait Implementations§
Source§impl Clone for BackupOutput
impl Clone for BackupOutput
Source§fn clone(&self) -> BackupOutput
fn clone(&self) -> BackupOutput
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 BackupOutput
impl Debug for BackupOutput
Source§impl<'de> Deserialize<'de> for BackupOutput
impl<'de> Deserialize<'de> for BackupOutput
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 Hash for BackupOutput
impl Hash for BackupOutput
Source§impl JsonSchema for BackupOutput
impl JsonSchema for BackupOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for BackupOutput
impl Ord for BackupOutput
Source§fn cmp(&self, other: &BackupOutput) -> Ordering
fn cmp(&self, other: &BackupOutput) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BackupOutput
impl PartialEq for BackupOutput
Source§impl PartialOrd for BackupOutput
impl PartialOrd for BackupOutput
Source§impl Serialize for BackupOutput
impl Serialize for BackupOutput
impl Eq for BackupOutput
impl StructuralPartialEq for BackupOutput
Auto Trait Implementations§
impl Freeze for BackupOutput
impl RefUnwindSafe for BackupOutput
impl Send for BackupOutput
impl Sync for BackupOutput
impl Unpin for BackupOutput
impl UnsafeUnpin for BackupOutput
impl UnwindSafe for BackupOutput
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