pub struct TranslationJobResponse {Show 13 fields
pub job_id: Uuid,
pub document_id: i64,
pub target_locale: String,
pub source_locale: Option<String>,
pub status: TranslationStatus,
pub provider: Option<TranslationProviderKind>,
pub attempt_count: i32,
pub source_character_count: i64,
pub error_message: Option<String>,
pub created_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub updated_at: DateTime<Utc>,
}Fields§
§job_id: Uuid§document_id: i64§target_locale: String§source_locale: Option<String>§status: TranslationStatus§provider: Option<TranslationProviderKind>§attempt_count: i32§source_character_count: i64§error_message: Option<String>§created_at: DateTime<Utc>§started_at: Option<DateTime<Utc>>§finished_at: Option<DateTime<Utc>>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for TranslationJobResponse
impl Clone for TranslationJobResponse
Source§fn clone(&self) -> TranslationJobResponse
fn clone(&self) -> TranslationJobResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for TranslationJobResponse
impl ComposeSchema for TranslationJobResponse
Source§impl Debug for TranslationJobResponse
impl Debug for TranslationJobResponse
Source§impl<'de> Deserialize<'de> for TranslationJobResponse
impl<'de> Deserialize<'de> for TranslationJobResponse
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 JsonSchema for TranslationJobResponse
impl JsonSchema for TranslationJobResponse
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for TranslationJobResponse
impl Serialize for TranslationJobResponse
Auto Trait Implementations§
impl Freeze for TranslationJobResponse
impl RefUnwindSafe for TranslationJobResponse
impl Send for TranslationJobResponse
impl Sync for TranslationJobResponse
impl Unpin for TranslationJobResponse
impl UnsafeUnpin for TranslationJobResponse
impl UnwindSafe for TranslationJobResponse
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