pub struct BotModelInfo {
pub bot_id: String,
pub setting: String,
pub effective: String,
pub uses_default: bool,
pub warning: Option<String>,
}Expand description
A bot’s model setting and the model it actually runs on.
Fields§
§bot_id: String§setting: String§effective: StringThe provider/model the bot runs on.
uses_default: bool§warning: Option<String>Trait Implementations§
Source§impl Clone for BotModelInfo
impl Clone for BotModelInfo
Source§impl Debug for BotModelInfo
impl Debug for BotModelInfo
Source§impl<'de> Deserialize<'de> for BotModelInfo
impl<'de> Deserialize<'de> for BotModelInfo
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
Auto Trait Implementations§
impl Freeze for BotModelInfo
impl RefUnwindSafe for BotModelInfo
impl Send for BotModelInfo
impl Sync for BotModelInfo
impl Unpin for BotModelInfo
impl UnsafeUnpin for BotModelInfo
impl UnwindSafe for BotModelInfo
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