pub struct VariableDecl {
pub name: String,
pub ty: ValueType,
pub value: Option<Value>,
pub description: Option<String>,
}Expand description
Declaration of an env or conversation variable.
Fields§
§name: String§ty: ValueType§value: Option<Value>§description: Option<String>Trait Implementations§
Source§impl Clone for VariableDecl
impl Clone for VariableDecl
Source§impl Debug for VariableDecl
impl Debug for VariableDecl
Source§impl<'de> Deserialize<'de> for VariableDecl
impl<'de> Deserialize<'de> for VariableDecl
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 Forget for VariableDecl
impl Freeze for VariableDecl
impl Move for VariableDecl
impl RefUnwindSafe for VariableDecl
impl Send for VariableDecl
impl Sync for VariableDecl
impl Unpin for VariableDecl
impl UnsafeUnpin for VariableDecl
impl UnwindSafe for VariableDecl
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