pub struct RulepackVariable {
pub name: String,
pub value_type: Option<String>,
pub default: Option<String>,
pub required: bool,
pub description: Option<String>,
pub prompt: Option<String>,
}Fields§
§name: String§value_type: Option<String>§default: Option<String>§required: bool§description: Option<String>§prompt: Option<String>Trait Implementations§
Source§impl Clone for RulepackVariable
impl Clone for RulepackVariable
Source§fn clone(&self) -> RulepackVariable
fn clone(&self) -> RulepackVariable
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 RulepackVariable
impl Debug for RulepackVariable
Source§impl<'de> Deserialize<'de> for RulepackVariable
impl<'de> Deserialize<'de> for RulepackVariable
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 RulepackVariable
impl PartialEq for RulepackVariable
Source§impl Serialize for RulepackVariable
impl Serialize for RulepackVariable
impl StructuralPartialEq for RulepackVariable
Auto Trait Implementations§
impl Freeze for RulepackVariable
impl RefUnwindSafe for RulepackVariable
impl Send for RulepackVariable
impl Sync for RulepackVariable
impl Unpin for RulepackVariable
impl UnsafeUnpin for RulepackVariable
impl UnwindSafe for RulepackVariable
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