Struct radarr_api_rs::models::backup_resource::BackupResource
source · 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§fn eq(&self, other: &BackupResource) -> bool
fn eq(&self, other: &BackupResource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BackupResource
impl Serialize for BackupResource
impl StructuralPartialEq for BackupResource
Auto Trait Implementations§
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