FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TranslationSession

    struct · ferroui-protranslate-studio · v0.5.0

    struct TranslationSession
    

    Versioned, complete session payload. Runtime history and credentials are separate.

    View source

    Members

    schema_version

    schema_version: u32
    

    Source

    session_id

    session_id: String
    

    Source

    created_at_millis

    created_at_millis: i64
    

    Source

    last_modified_at_millis

    last_modified_at_millis: i64
    

    Source

    file_name

    file_name: String
    

    Source

    source_format

    source_format: ferroui_protranslate_formats::TranslationFileFormat
    

    Source

    target_culture

    target_culture: String
    

    Source

    catalog

    catalog: ferroui_protranslate_formats::TranslationCatalog
    

    Source

    entry_status

    entry_status: Vec<EntryStatus>
    

    One status per catalog entry, in the same order; validated when restoring.

    Source

    import_diagnostics

    import_diagnostics: Vec<ferroui_protranslate_formats::TranslationFormatDiagnostic>
    

    Source

    target_cultures

    target_cultures: Vec<CultureChoice>
    

    Source

    revision

    revision: u64
    

    Source

    next_entry_id

    next_entry_id: u64
    

    Source

    validate

    fn validate(self: &Self) -> Result<(), StudioError>
    

    Source

    to_json

    fn to_json(self: &Self) -> Result<String, StudioError>
    

    Source

    from_json

    fn from_json(json: &str) -> Result<Self, StudioError>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • DeserializeOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • Eq
    • StructuralPartialEq
    • PartialEq
    • Serialize
    • Deserialize<'de>

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.