pub struct TaskLog { /* private fields */ }Expand description
任务日志(输出到任务构建日志目录下的)
Implementations§
Source§impl TaskLog
impl TaskLog
pub fn new() -> Self
pub fn dadk_config_timestamp(&self) -> Option<&DateTime<Utc>>
pub fn set_dadk_config_timestamp(&mut self, time: DateTime<Utc>)
pub fn set_build_time(&mut self, time: DateTime<Utc>)
pub fn build_time(&self) -> Option<&DateTime<Utc>>
pub fn set_build_time_now(&mut self)
pub fn install_time(&self) -> Option<&DateTime<Utc>>
pub fn set_install_time_now(&mut self)
pub fn set_build_status(&mut self, status: BuildStatus)
pub fn clean_build_status(&mut self)
pub fn build_status(&self) -> Option<&BuildStatus>
pub fn install_status(&self) -> Option<&InstallStatus>
pub fn set_install_status(&mut self, status: InstallStatus)
pub fn clean_install_status(&mut self)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskLog
impl<'de> Deserialize<'de> for TaskLog
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 Freeze for TaskLog
impl RefUnwindSafe for TaskLog
impl Send for TaskLog
impl Sync for TaskLog
impl Unpin for TaskLog
impl UnwindSafe for TaskLog
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