pub struct CloseResult {
pub success: bool,
pub message: String,
}
Expand description
Result of closing the app
Fields§
§success: bool
Whether the close operation was successful
message: String
Human-readable message describing the result
Trait Implementations§
Source§impl Clone for CloseResult
impl Clone for CloseResult
Source§fn clone(&self) -> CloseResult
fn clone(&self) -> CloseResult
Returns a duplicate 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 CloseResult
impl Debug for CloseResult
Source§impl<'de> Deserialize<'de> for CloseResult
impl<'de> Deserialize<'de> for CloseResult
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 CloseResult
impl RefUnwindSafe for CloseResult
impl Send for CloseResult
impl Sync for CloseResult
impl Unpin for CloseResult
impl UnwindSafe for CloseResult
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