pub struct Interview {
pub stage: InterviewStage,
pub error: Option<String>,
pub attempts: u32,
}Expand description
Where a device’s interview stands. Persisted, so an interview a sleepy device did not finish resumes where it stopped.
Fields§
§stage: InterviewStageThe next step to run (InterviewStage::Done when complete).
error: Option<String>The last failure, if the interview stopped on one.
attempts: u32Attempts so far.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Interview
impl<'de> Deserialize<'de> for Interview
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 Interview
impl StructuralPartialEq for Interview
Auto Trait Implementations§
impl Freeze for Interview
impl RefUnwindSafe for Interview
impl Send for Interview
impl Sync for Interview
impl Unpin for Interview
impl UnsafeUnpin for Interview
impl UnwindSafe for Interview
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