pub struct ExitResult {
pub success: bool,
pub message: String,
}
Expand description
Result of exiting the app
Fields§
§success: bool
Whether the exit operation was successful
message: String
Human-readable message describing the result
Trait Implementations§
Source§impl Clone for ExitResult
impl Clone for ExitResult
Source§fn clone(&self) -> ExitResult
fn clone(&self) -> ExitResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExitResult
impl Debug for ExitResult
Source§impl<'de> Deserialize<'de> for ExitResult
impl<'de> Deserialize<'de> for ExitResult
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 ExitResult
impl RefUnwindSafe for ExitResult
impl Send for ExitResult
impl Sync for ExitResult
impl Unpin for ExitResult
impl UnwindSafe for ExitResult
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