pub struct BackupResource {
pub id: Option<i32>,
pub name: Option<Option<String>>,
pub path: Option<Option<String>>,
pub type: Option<BackupType>,
pub size: Option<i64>,
pub time: Option<String>,
}
Fields§
§id: Option<i32>
§name: Option<Option<String>>
§path: Option<Option<String>>
§type: Option<BackupType>
§size: Option<i64>
§time: Option<String>
Implementations§
Source§impl BackupResource
impl BackupResource
pub fn new() -> BackupResource
Trait Implementations§
Source§impl Clone for BackupResource
impl Clone for BackupResource
Source§fn clone(&self) -> BackupResource
fn clone(&self) -> BackupResource
Returns a copy 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 BackupResource
impl Debug for BackupResource
Source§impl<'de> Deserialize<'de> for BackupResource
impl<'de> Deserialize<'de> for BackupResource
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 PartialEq for BackupResource
impl PartialEq for BackupResource
Source§impl Serialize for BackupResource
impl Serialize for BackupResource
impl StructuralPartialEq for BackupResource
Auto Trait Implementations§
impl Freeze for BackupResource
impl RefUnwindSafe for BackupResource
impl Send for BackupResource
impl Sync for BackupResource
impl Unpin for BackupResource
impl UnwindSafe for BackupResource
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