pub struct TaskResumeResult {
pub authorized: bool,
pub task: Option<SecureTask>,
pub decrypted_state: Option<Value>,
pub denial_reason: Option<String>,
}Expand description
Result of a task resume attempt.
Fields§
Whether the resume was authorized.
task: Option<SecureTask>The task if authorized.
decrypted_state: Option<Value>Decrypted state data if authorized and available.
denial_reason: Option<String>Reason for denial if not authorized.
Implementations§
Trait Implementations§
Source§impl Clone for TaskResumeResult
impl Clone for TaskResumeResult
Source§impl Debug for TaskResumeResult
impl Debug for TaskResumeResult
Source§impl<'de> Deserialize<'de> for TaskResumeResult
impl<'de> Deserialize<'de> for TaskResumeResult
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 Forget for TaskResumeResult
impl Freeze for TaskResumeResult
impl Move for TaskResumeResult
impl RefUnwindSafe for TaskResumeResult
impl Send for TaskResumeResult
impl Sync for TaskResumeResult
impl Unpin for TaskResumeResult
impl UnsafeUnpin for TaskResumeResult
impl UnwindSafe for TaskResumeResult
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