pub(crate) struct BackupRunOutcome {
pub sql_filename: String,
pub uploads_filename: Option<String>,
pub warning: Option<String>,
}Expand description
一次备份运行的结果(调度任务据此落库 last_run)。
Fields§
§sql_filename: String数据库 SQL 文件名。
uploads_filename: Option<String>uploads 打包文件名(禁用了素材打包时为 None)。
warning: Option<String>非致命告警(如 DB 成功但 uploads 打包失败)。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackupRunOutcome
impl RefUnwindSafe for BackupRunOutcome
impl Send for BackupRunOutcome
impl Sync for BackupRunOutcome
impl Unpin for BackupRunOutcome
impl UnsafeUnpin for BackupRunOutcome
impl UnwindSafe for BackupRunOutcome
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
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.