FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AiProvider

    enum · ferroui-protranslate-studio · v0.5.0

    enum AiProvider
    

    View source

    Members

    OpenAI

    OpenAI
    

    Source

    Claude

    Claude
    

    Source

    Gemini

    Gemini
    

    Source

    ALL

    const ALL: [Self; 3]
    

    Source

    name

    fn name(self: Self) -> &'static str
    

    Source

    default_base_url

    fn default_base_url(self: Self) -> &'static str
    

    Source

    compatibility_models

    fn compatibility_models(self: Self) -> &'static [&'static str]
    

    Historical IDs from the pinned source, solely for compatibility and migration. These models may be retired. Discovery and translation never select them automatically.

    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
    • Copy
    • Debug
    • Default
    • Eq
    • StructuralPartialEq
    • PartialEq
    • Ord
    • PartialOrd
    • Hash
    • Serialize
    • Deserialize<'de>

    Availability

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