pub struct Backup {Show 14 fields
pub id: String,
pub name: String,
pub source: String,
pub plugin: Option<String>,
pub credentials: Option<String>,
pub library: Option<String>,
pub path: String,
pub schedule: Option<String>,
pub filter: Option<MediaQuery>,
pub last: Option<i64>,
pub password: Option<String>,
pub size: u64,
pub max_versions: u32,
pub max_database_versions: u32,
}Fields§
§id: String§name: String§source: String§plugin: Option<String>§credentials: Option<String>§library: Option<String>§path: String§schedule: Option<String>Standard five-field cron expression evaluated in UTC.
filter: Option<MediaQuery>§last: Option<i64>§password: Option<String>§size: u64§max_versions: u32§max_database_versions: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Backup
impl<'de> Deserialize<'de> for Backup
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Backup, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Backup, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Backup
impl Serialize for Backup
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 Backup
impl Freeze for Backupwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<FileType>: Freeze,
PhantomData<f64>: Freeze,
impl Move for Backup
impl RefUnwindSafe for Backup
impl Send for Backupwhere
RawVecInner: Send,
impl Sync for Backupwhere
RawVecInner: Sync,
impl Unpin for Backup
impl UnsafeUnpin for Backupwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<FileType>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
impl UnwindSafe for Backupwhere
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