#[non_exhaustive]pub struct ResponseTextEditorError {
pub type_: ResponseTextEditorErrorType,
pub error_code: TextEditorErrorCode,
pub error_message: Option<Option<String>>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type_: ResponseTextEditorErrorType§error_code: TextEditorErrorCode§error_message: Option<Option<String>>§rest: RestImplementations§
Source§impl ResponseTextEditorError
impl ResponseTextEditorError
Sourcepub fn builder(
type_: ResponseTextEditorErrorType,
error_code: TextEditorErrorCode,
) -> ResponseTextEditorErrorBuilder
pub fn builder( type_: ResponseTextEditorErrorType, error_code: TextEditorErrorCode, ) -> ResponseTextEditorErrorBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ResponseTextEditorError
impl Clone for ResponseTextEditorError
Source§impl Debug for ResponseTextEditorError
impl Debug for ResponseTextEditorError
Source§impl DeclaredFields for ResponseTextEditorError
impl DeclaredFields for ResponseTextEditorError
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ResponseTextEditorError
impl<'de> Deserialize<'de> for ResponseTextEditorError
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 ResponseTextEditorError
Source§impl PartialEq for ResponseTextEditorError
impl PartialEq for ResponseTextEditorError
Source§impl Serialize for ResponseTextEditorError
impl Serialize for ResponseTextEditorError
impl StructuralPartialEq for ResponseTextEditorError
Auto Trait Implementations§
impl Freeze for ResponseTextEditorError
impl RefUnwindSafe for ResponseTextEditorError
impl Send for ResponseTextEditorError
impl Sync for ResponseTextEditorError
impl Unpin for ResponseTextEditorError
impl UnsafeUnpin for ResponseTextEditorError
impl UnwindSafe for ResponseTextEditorError
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