pub struct ChatEndpoint {
pub base_url: String,
pub model: String,
pub from: Level,
pub has_api_key: bool,
pub profile: Option<String>,
pub link: Link,
pub info: Option<EndpointInfo>,
}Expand description
The endpoint of the chat in view, when its workspace or the chat itself picked another one than the global settings.
Fields§
§base_url: String§model: String§from: LevelWhich level chose it.
has_api_key: bool§profile: Option<String>The model profile it is (13.9+), if it is one.
link: Link§info: Option<EndpointInfo>Trait Implementations§
Source§impl Clone for ChatEndpoint
impl Clone for ChatEndpoint
Source§impl Debug for ChatEndpoint
impl Debug for ChatEndpoint
Source§impl Default for ChatEndpoint
impl Default for ChatEndpoint
Source§impl<'de> Deserialize<'de> for ChatEndpoint
impl<'de> Deserialize<'de> for ChatEndpoint
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 ChatEndpoint
impl PartialEq for ChatEndpoint
Source§impl Serialize for ChatEndpoint
impl Serialize for ChatEndpoint
impl StructuralPartialEq for ChatEndpoint
Auto Trait Implementations§
impl Forget for ChatEndpoint
impl Freeze for ChatEndpoint
impl Move for ChatEndpoint
impl RefUnwindSafe for ChatEndpoint
impl Send for ChatEndpoint
impl Sync for ChatEndpoint
impl Unpin for ChatEndpoint
impl UnsafeUnpin for ChatEndpoint
impl UnwindSafe for ChatEndpoint
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