TranslationPlan
struct · ferroui-protranslate-studio · v0.5.0
struct TranslationPlan
Captured before awaiting transport. Wire keys are stable IDs, so duplicate catalog keys and punctuation are unambiguous in provider responses.
Members
request
fn request(self: &Self) -> &AiTranslationRequest
entry_count
fn entry_count(self: &Self) -> usize
suggestions
fn suggestions(self: &Self, result: &AiTranslationResult) -> Result<Vec<TranslationSuggestion>, StudioError>
A result may cover one batch of this plan. Provider response validation is repeated here for host-created results before any document mutation.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.