pub struct OutputStyle {
pub name: String,
pub source: OutputStyleSource,
pub content: String,
}Expand description
一个 output-style 文件的加载结果。注入 system prompt 时用。
Fields§
§name: String§source: OutputStyleSource§content: StringTrait Implementations§
Source§impl Clone for OutputStyle
impl Clone for OutputStyle
Auto Trait Implementations§
impl Forget for OutputStyle
impl Freeze for OutputStyle
impl Move for OutputStyle
impl RefUnwindSafe for OutputStyle
impl Send for OutputStyle
impl Sync for OutputStyle
impl Unpin for OutputStyle
impl UnsafeUnpin for OutputStyle
impl UnwindSafe for OutputStyle
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