Docs.rs
  • gem-rs-0.1.80
    • gem-rs 0.1.80
    • Permalink
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • 0xhades
    • Dependencies
      • base64 ^0.22.1 normal
      • chrono ^0.4.38 normal
      • dotenv ^0.15.0 normal
      • futures ^0.3.30 normal
      • log ^0.4.22 normal
      • pretty_env_logger ^0.5.0 normal
      • reqwest ^0.12.7 normal
      • reqwest-streams ^0.7.0 normal
      • serde ^1.0.210 normal
      • serde_json ^1.0.128 normal
      • sha256 ^1.5.0 normal
      • tokio ^1.40.0 normal
    • Versions
    • 42.67% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

gem_rs0.1.80

Crate Items

  • Structs
  • Enums
  • Constants
  • Functions
  • Type Aliases

List of all items

Structs

  • client::Client
  • client::Config
  • client::GemSession
  • client::GemSessionBuilder
  • types::Blob
  • types::Candidate
  • types::Content
  • types::Context
  • types::Error
  • types::ErrorWrapper
  • types::File
  • types::FileData
  • types::FileManager
  • types::GenerateContentResponse
  • types::NoRoleContent
  • types::Part
  • types::SafetySetting
  • types::Settings
  • types::UsageMetadata

Enums

  • api::Models
  • errors::FinishReason
  • errors::GemError
  • types::HarmBlockThreshold
  • types::PartData
  • types::Role

Functions

  • init_log
  • utils::get_mime_type

Type Aliases

  • client::Response
  • client::ResponseResult
  • client::StreamResponse
  • client::StreamResponseResult

Constants

  • api::GENERATE_CONTENT
  • api::STREAM_GENERATE_CONTENT