pub struct StagePrompt {
pub name: String,
pub description: String,
pub content: String,
}Expand description
阶段提示结构体,包含名称、描述和内容 Stage prompt struct containing name, description and content
Fields§
§name: String阶段名称 Stage name
description: String阶段描述 Stage description
content: String阶段内容 Stage content
Trait Implementations§
Source§impl Clone for StagePrompt
impl Clone for StagePrompt
Source§fn clone(&self) -> StagePrompt
fn clone(&self) -> StagePrompt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StagePrompt
impl Debug for StagePrompt
Source§impl Default for StagePrompt
impl Default for StagePrompt
Source§fn default() -> StagePrompt
fn default() -> StagePrompt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StagePrompt
impl<'de> Deserialize<'de> for StagePrompt
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 StagePrompt
impl RefUnwindSafe for StagePrompt
impl Send for StagePrompt
impl Sync for StagePrompt
impl Unpin for StagePrompt
impl UnsafeUnpin for StagePrompt
impl UnwindSafe for StagePrompt
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