pub struct ErrorResult {
pub action: Action,
pub english_popup: Option<OSDefault>,
pub spanish_popup: Option<OSDefault>,
pub debug_info: String,
}
Fields§
§action: Action
§english_popup: Option<OSDefault>
§spanish_popup: Option<OSDefault>
§debug_info: String
Trait Implementations§
Source§impl Clone for ErrorResult
impl Clone for ErrorResult
Source§fn clone(&self) -> ErrorResult
fn clone(&self) -> ErrorResult
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 ErrorResult
impl Debug for ErrorResult
Source§impl Default for ErrorResult
impl Default for ErrorResult
Source§fn default() -> ErrorResult
fn default() -> ErrorResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorResult
impl<'de> Deserialize<'de> for ErrorResult
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
Source§impl<'a> MessageRead<'a> for ErrorResult
impl<'a> MessageRead<'a> for ErrorResult
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for ErrorResult
impl MessageWrite for ErrorResult
Source§impl PartialEq for ErrorResult
impl PartialEq for ErrorResult
Source§impl Serialize for ErrorResult
impl Serialize for ErrorResult
impl StructuralPartialEq for ErrorResult
Auto Trait Implementations§
impl Freeze for ErrorResult
impl RefUnwindSafe for ErrorResult
impl Send for ErrorResult
impl Sync for ErrorResult
impl Unpin for ErrorResult
impl UnwindSafe for ErrorResult
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