pub struct RestartInfo {
pub to_version: String,
pub waiting_for: Option<String>,
pub requester: Option<String>,
pub origin: Option<String>,
pub deadline_unix_seconds: u64,
}Expand description
A restart into a newly installed release, waiting for owner work to end.
Fields§
§to_version: StringThe release it restarts into.
waiting_for: Option<String>What it still waits for, such as the requesting delegation or an
owner’s message; None once it restarts.
requester: Option<String>The delegation that asked, whose report goes out first.
origin: Option<String>The chat the announcement goes to, as <channel>:<account>.
deadline_unix_seconds: u64When it restarts even if work is still running.
Trait Implementations§
Source§impl Clone for RestartInfo
impl Clone for RestartInfo
Source§impl Debug for RestartInfo
impl Debug for RestartInfo
Source§impl<'de> Deserialize<'de> for RestartInfo
impl<'de> Deserialize<'de> for RestartInfo
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
impl Eq for RestartInfo
Source§impl PartialEq for RestartInfo
impl PartialEq for RestartInfo
Source§impl Serialize for RestartInfo
impl Serialize for RestartInfo
impl StructuralPartialEq for RestartInfo
Auto Trait Implementations§
impl Freeze for RestartInfo
impl RefUnwindSafe for RestartInfo
impl Send for RestartInfo
impl Sync for RestartInfo
impl Unpin for RestartInfo
impl UnsafeUnpin for RestartInfo
impl UnwindSafe for RestartInfo
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