pub struct BackupFileProgress {
pub name: Option<String>,
pub backup: String,
pub library: Option<String>,
pub file: String,
pub id: String,
pub size: Option<u64>,
pub status: BackupStatus,
pub progress: u64,
pub error: Option<String>,
pub estimated_remaining_seconds: Option<u64>,
}Fields§
§name: Option<String>§backup: String§library: Option<String>§file: String§id: String§size: Option<u64>§status: BackupStatus§progress: u64§error: Option<String>§estimated_remaining_seconds: Option<u64>Implementations§
Source§impl BackupFileProgress
impl BackupFileProgress
pub fn new_from( backup: &Backup, media: &Media, id: String, status: BackupStatus, progress: u64, error: Option<String>, ) -> Self
pub fn new( file: String, backup: String, library: Option<String>, name: Option<String>, size: Option<u64>, id: String, status: BackupStatus, progress: u64, error: Option<String>, ) -> Self
pub fn new_light( backup_id: String, file_id: String, id: String, size: Option<u64>, status: BackupStatus, progress: u64, error: Option<String>, ) -> Self
Trait Implementations§
Source§impl Clone for BackupFileProgress
impl Clone for BackupFileProgress
Source§impl Debug for BackupFileProgress
impl Debug for BackupFileProgress
Source§impl<'de> Deserialize<'de> for BackupFileProgress
impl<'de> Deserialize<'de> for BackupFileProgress
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 Forget for BackupFileProgress
impl Freeze for BackupFileProgress
impl Move for BackupFileProgress
impl RefUnwindSafe for BackupFileProgress
impl Send for BackupFileProgresswhere
RawVecInner: Send,
impl Sync for BackupFileProgresswhere
RawVecInner: Sync,
impl Unpin for BackupFileProgress
impl UnsafeUnpin for BackupFileProgress
impl UnwindSafe for BackupFileProgresswhere
RawVecInner: UnwindSafe,
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