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 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 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<DocumentTranslationError> for DocumentTranslationError
impl PartialEq<DocumentTranslationError> for DocumentTranslationError
source§fn eq(&self, other: &DocumentTranslationError) -> bool
fn eq(&self, other: &DocumentTranslationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.