pub struct BotTemplate {
pub id: String,
pub name: String,
pub category: String,
pub role: String,
pub description: String,
pub model: String,
pub skills: Vec<String>,
pub kernel_functions: Vec<KernelPack>,
pub tags: Vec<String>,
pub permission_profile: PermissionProfile,
pub is_built_in: bool,
}Expand description
A ready-made bot role from the template gallery.
Fields§
§id: String§name: String§category: String§role: String§description: String§model: String§skills: Vec<String>§kernel_functions: Vec<KernelPack>§permission_profile: PermissionProfile§is_built_in: boolTrait Implementations§
Source§impl Clone for BotTemplate
impl Clone for BotTemplate
Source§impl Debug for BotTemplate
impl Debug for BotTemplate
Source§impl<'de> Deserialize<'de> for BotTemplate
impl<'de> Deserialize<'de> for BotTemplate
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 BotTemplate
impl RefUnwindSafe for BotTemplate
impl Send for BotTemplate
impl Sync for BotTemplate
impl Unpin for BotTemplate
impl UnsafeUnpin for BotTemplate
impl UnwindSafe for BotTemplate
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