pub struct BackupStatusResponse {
pub backend: String,
pub id: String,
pub path: Option<String>,
pub status: BackupStatus,
}
Expand description
The general status response for backup status.
You shouldn’t need to ever create this struct - it is just what the response from the backup endpoints is deserialized into.
Fields§
§backend: String
§id: String
§path: Option<String>
§status: BackupStatus
Trait Implementations§
source§impl Debug for BackupStatusResponse
impl Debug for BackupStatusResponse
source§impl<'de> Deserialize<'de> for BackupStatusResponse
impl<'de> Deserialize<'de> for BackupStatusResponse
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 RefUnwindSafe for BackupStatusResponse
impl Send for BackupStatusResponse
impl Sync for BackupStatusResponse
impl Unpin for BackupStatusResponse
impl UnwindSafe for BackupStatusResponse
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