Struct ChannelModelPickerRoute
pub struct ChannelModelPickerRoute {
pub hint: String,
pub model_provider: String,
pub model: String,
}Expand description
Provider/model route identity exposed to a channel-native model picker.
API keys stay runtime-owned and are deliberately excluded; route entries carry only display and resolution identity, never credentials.
Fields§
§hint: StringShort, user-facing alias accepted by /model <ref> (e.g. fast).
model_provider: StringProvider ref this route resolves to.
model: StringModel identifier this route resolves to.
Trait Implementations§
Source§impl Clone for ChannelModelPickerRoute
impl Clone for ChannelModelPickerRoute
Source§fn clone(&self) -> ChannelModelPickerRoute
fn clone(&self) -> ChannelModelPickerRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelModelPickerRoute
impl Debug for ChannelModelPickerRoute
impl Eq for ChannelModelPickerRoute
Source§impl PartialEq for ChannelModelPickerRoute
impl PartialEq for ChannelModelPickerRoute
impl StructuralPartialEq for ChannelModelPickerRoute
Auto Trait Implementations§
impl Freeze for ChannelModelPickerRoute
impl RefUnwindSafe for ChannelModelPickerRoute
impl Send for ChannelModelPickerRoute
impl Sync for ChannelModelPickerRoute
impl Unpin for ChannelModelPickerRoute
impl UnsafeUnpin for ChannelModelPickerRoute
impl UnwindSafe for ChannelModelPickerRoute
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