pub struct ReturnCodeEntry {
pub return_code: i32,
pub code_type: i32,
}Expand description
A return code mapping from app policy metadata.
Fields§
§return_code: i32§code_type: i320=Failed, 1=Success, 2=SoftReboot, 3=HardReboot, 4=Retry
Trait Implementations§
Source§impl Clone for ReturnCodeEntry
impl Clone for ReturnCodeEntry
Source§impl Debug for ReturnCodeEntry
impl Debug for ReturnCodeEntry
Source§impl<'de> Deserialize<'de> for ReturnCodeEntry
impl<'de> Deserialize<'de> for ReturnCodeEntry
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 ReturnCodeEntry
impl RefUnwindSafe for ReturnCodeEntry
impl Send for ReturnCodeEntry
impl Sync for ReturnCodeEntry
impl Unpin for ReturnCodeEntry
impl UnsafeUnpin for ReturnCodeEntry
impl UnwindSafe for ReturnCodeEntry
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