pub struct HatInfo {
pub name: String,
pub description: String,
pub subscribes_to: Vec<String>,
pub publishes: Vec<String>,
pub instructions: String,
}Expand description
Information about a hat for prompt generation.
Fields§
§name: String§description: String§subscribes_to: Vec<String>§publishes: Vec<String>§instructions: StringAuto Trait Implementations§
impl Freeze for HatInfo
impl RefUnwindSafe for HatInfo
impl Send for HatInfo
impl Sync for HatInfo
impl Unpin for HatInfo
impl UnsafeUnpin for HatInfo
impl UnwindSafe for HatInfo
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