pub struct MuseConfig {
pub api_key: String,
pub base_url: String,
pub model: String,
}Expand description
Configuration for a Muse model served through Meta’s Model API.
Fields§
§api_key: StringAPI key sent as a bearer token.
base_url: StringAPI base URL ending in the OpenAI-compatible version path.
model: StringMuse model identifier sent with each request.
Auto Trait Implementations§
impl Freeze for MuseConfig
impl RefUnwindSafe for MuseConfig
impl Send for MuseConfig
impl Sync for MuseConfig
impl Unpin for MuseConfig
impl UnsafeUnpin for MuseConfig
impl UnwindSafe for MuseConfig
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