pub struct PromptStage {
pub pk: Uuid,
pub name: String,
pub component: String,
pub verbose_name: String,
pub verbose_name_plural: String,
pub meta_model_name: String,
pub flow_set: Option<Vec<FlowSet>>,
pub fields: Vec<Uuid>,
pub validation_policies: Option<Vec<Uuid>>,
}
Expand description
PromptStage : PromptStage Serializer
Fields§
§pk: Uuid
§name: String
§component: String
Get object type so that we know how to edit the object
verbose_name: String
Return object’s verbose_name
verbose_name_plural: String
Return object’s plural verbose_name
meta_model_name: String
Return internal model name
flow_set: Option<Vec<FlowSet>>
§fields: Vec<Uuid>
§validation_policies: Option<Vec<Uuid>>
Implementations§
Trait Implementations§
Source§impl Clone for PromptStage
impl Clone for PromptStage
Source§fn clone(&self) -> PromptStage
fn clone(&self) -> PromptStage
Returns a duplicate of the value. Read more
1.0.0 · 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 PromptStage
impl Debug for PromptStage
Source§impl Default for PromptStage
impl Default for PromptStage
Source§fn default() -> PromptStage
fn default() -> PromptStage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PromptStage
impl<'de> Deserialize<'de> for PromptStage
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
Source§impl PartialEq for PromptStage
impl PartialEq for PromptStage
Source§impl Serialize for PromptStage
impl Serialize for PromptStage
impl StructuralPartialEq for PromptStage
Auto Trait Implementations§
impl Freeze for PromptStage
impl RefUnwindSafe for PromptStage
impl Send for PromptStage
impl Sync for PromptStage
impl Unpin for PromptStage
impl UnwindSafe for PromptStage
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