pub struct TextEditorError {
pub type_: TextEditorErrorType,
pub error_code: TextEditorErrorCode,
pub error_message: Option<String>,
pub rest: Rest,
}Fields§
§type_: TextEditorErrorType§error_code: TextEditorErrorCode§error_message: Option<String>§rest: RestImplementations§
Source§impl TextEditorError
impl TextEditorError
Sourcepub fn builder(
type_: TextEditorErrorType,
error_code: TextEditorErrorCode,
) -> TextEditorErrorBuilder
pub fn builder( type_: TextEditorErrorType, error_code: TextEditorErrorCode, ) -> TextEditorErrorBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for TextEditorError
impl Clone for TextEditorError
Source§impl Debug for TextEditorError
impl Debug for TextEditorError
Source§impl DeclaredFields for TextEditorError
impl DeclaredFields for TextEditorError
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for TextEditorError
impl<'de> Deserialize<'de> for TextEditorError
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
impl Eq for TextEditorError
Source§impl PartialEq for TextEditorError
impl PartialEq for TextEditorError
Source§impl Serialize for TextEditorError
impl Serialize for TextEditorError
impl StructuralPartialEq for TextEditorError
Auto Trait Implementations§
impl Freeze for TextEditorError
impl RefUnwindSafe for TextEditorError
impl Send for TextEditorError
impl Sync for TextEditorError
impl Unpin for TextEditorError
impl UnsafeUnpin for TextEditorError
impl UnwindSafe for TextEditorError
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