pub struct RecipeParameter {
pub name: String,
pub kind: String,
pub default: Option<String>,
pub help: Option<String>,
}Expand description
Parameter of a recipe.
Fields§
§name: String§kind: String§default: Option<String>§help: Option<String>Trait Implementations§
Source§impl Clone for RecipeParameter
impl Clone for RecipeParameter
Source§fn clone(&self) -> RecipeParameter
fn clone(&self) -> RecipeParameter
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 RecipeParameter
impl Debug for RecipeParameter
Source§impl Default for RecipeParameter
impl Default for RecipeParameter
Source§fn default() -> RecipeParameter
fn default() -> RecipeParameter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecipeParameterwhere
RecipeParameter: Default,
impl<'de> Deserialize<'de> for RecipeParameterwhere
RecipeParameter: Default,
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 RecipeParameter
impl RefUnwindSafe for RecipeParameter
impl Send for RecipeParameter
impl Sync for RecipeParameter
impl Unpin for RecipeParameter
impl UnsafeUnpin for RecipeParameter
impl UnwindSafe for RecipeParameter
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