pub struct HeyoClientOptions {
pub api_key: Option<String>,
pub base_url: Option<String>,
pub timeout: Option<Duration>,
}Expand description
Construction options for HeyoClient. Mirrors HeyoClientOptions in
sdk-ts/src/client.ts.
Fields§
§api_key: Option<String>Bearer token. Falls back to HEYO_API_KEY env var when None.
base_url: Option<String>Cloud base URL. Default: https://server.heyo.computer.
timeout: Option<Duration>Per-request timeout. Default: 60 seconds.
Trait Implementations§
Source§impl Clone for HeyoClientOptions
impl Clone for HeyoClientOptions
Source§fn clone(&self) -> HeyoClientOptions
fn clone(&self) -> HeyoClientOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeyoClientOptions
impl Debug for HeyoClientOptions
Source§impl Default for HeyoClientOptions
impl Default for HeyoClientOptions
Source§fn default() -> HeyoClientOptions
fn default() -> HeyoClientOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HeyoClientOptions
impl RefUnwindSafe for HeyoClientOptions
impl Send for HeyoClientOptions
impl Sync for HeyoClientOptions
impl Unpin for HeyoClientOptions
impl UnsafeUnpin for HeyoClientOptions
impl UnwindSafe for HeyoClientOptions
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