pub struct DocumentTranslationError {
pub message: Option<String>,
}
Fields§
§message: Option<String>
detailed error message
Implementations§
Source§impl DocumentTranslationError
impl DocumentTranslationError
pub fn new() -> DocumentTranslationError
Trait Implementations§
Source§impl Clone for DocumentTranslationError
impl Clone for DocumentTranslationError
Source§fn clone(&self) -> DocumentTranslationError
fn clone(&self) -> DocumentTranslationError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DocumentTranslationError
impl Debug for DocumentTranslationError
Source§impl Default for DocumentTranslationError
impl Default for DocumentTranslationError
Source§fn default() -> DocumentTranslationError
fn default() -> DocumentTranslationError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentTranslationError
impl<'de> Deserialize<'de> for DocumentTranslationError
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 PartialEq for DocumentTranslationError
impl PartialEq for DocumentTranslationError
Source§fn eq(&self, other: &DocumentTranslationError) -> bool
fn eq(&self, other: &DocumentTranslationError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for DocumentTranslationError
impl Serialize for DocumentTranslationError
impl StructuralPartialEq for DocumentTranslationError
Auto Trait Implementations§
impl Freeze for DocumentTranslationError
impl RefUnwindSafe for DocumentTranslationError
impl Send for DocumentTranslationError
impl Sync for DocumentTranslationError
impl Unpin for DocumentTranslationError
impl UnwindSafe for DocumentTranslationError
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