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>, ) -> BackupFileProgress
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>, ) -> BackupFileProgress
pub fn new_light( backup_id: String, file_id: String, id: String, size: Option<u64>, status: BackupStatus, progress: u64, error: Option<String>, ) -> BackupFileProgress
Trait Implementations§
Source§impl Clone for BackupFileProgress
impl Clone for BackupFileProgress
Source§fn clone(&self) -> BackupFileProgress
fn clone(&self) -> BackupFileProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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<BackupFileProgress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BackupFileProgress, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BackupFileProgress
impl Serialize for BackupFileProgress
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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