pub struct Client { /* private fields */ }Expand description
Server-side client for the Buble public API.
Implementations§
Source§impl Client
impl Client
Sourcepub fn builder() -> ClientBuilder
pub fn builder() -> ClientBuilder
Creates a client builder.
Sourcepub fn from_env() -> Result<Self>
pub fn from_env() -> Result<Self>
Creates a client from BUBLE_API_KEY and optional BUBLE_BASE_URL.
Sourcepub fn media_models(&self) -> MediaModelsService
pub fn media_models(&self) -> MediaModelsService
Media model discovery methods.
Sourcepub fn files(&self) -> FilesService
pub fn files(&self) -> FilesService
Source media upload methods.
Sourcepub fn generations(&self) -> GenerationsService
pub fn generations(&self) -> GenerationsService
Direct media generation methods.
Sourcepub fn apps(&self) -> AppsService
pub fn apps(&self) -> AppsService
Preconfigured app workflow methods.
Sourcepub fn chat(&self) -> ChatService
pub fn chat(&self) -> ChatService
Chat model methods for OpenAI, Anthropic, and Gemini-compatible APIs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
impl !UnwindSafe for Client
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