pub struct CliInterface {
pub request_options: Vec<CliOption>,
pub session_options: Vec<CliOption>,
pub load_options: Vec<CliOption>,
}Expand description
模型的三类 CLI 选项(请求 / 会话 / 加载)。
Fields§
§request_options: Vec<CliOption>请求级选项(如 audio_chunk_seconds)。
session_options: Vec<CliOption>会话级选项。
load_options: Vec<CliOption>加载级选项(如 weight_id)。
Trait Implementations§
Source§impl Clone for CliInterface
impl Clone for CliInterface
Source§impl Debug for CliInterface
impl Debug for CliInterface
Source§impl<'de> Deserialize<'de> for CliInterface
impl<'de> Deserialize<'de> for CliInterface
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CliInterface
impl PartialEq for CliInterface
Source§impl Serialize for CliInterface
impl Serialize for CliInterface
impl StructuralPartialEq for CliInterface
Auto Trait Implementations§
impl Freeze for CliInterface
impl RefUnwindSafe for CliInterface
impl Send for CliInterface
impl Sync for CliInterface
impl Unpin for CliInterface
impl UnsafeUnpin for CliInterface
impl UnwindSafe for CliInterface
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