pub struct RecipeAttribute {
pub group: Option<String>,
}Expand description
Attribute attached to a recipe (e.g. [group: 'agent']).
just encodes attributes as objects; we only need the group field for now.
Fields§
§group: Option<String>Trait Implementations§
Source§impl Clone for RecipeAttribute
impl Clone for RecipeAttribute
Source§fn clone(&self) -> RecipeAttribute
fn clone(&self) -> RecipeAttribute
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 RecipeAttribute
impl Debug for RecipeAttribute
Source§impl Default for RecipeAttribute
impl Default for RecipeAttribute
Source§fn default() -> RecipeAttribute
fn default() -> RecipeAttribute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecipeAttributewhere
RecipeAttribute: Default,
impl<'de> Deserialize<'de> for RecipeAttributewhere
RecipeAttribute: 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 RecipeAttribute
impl RefUnwindSafe for RecipeAttribute
impl Send for RecipeAttribute
impl Sync for RecipeAttribute
impl Unpin for RecipeAttribute
impl UnsafeUnpin for RecipeAttribute
impl UnwindSafe for RecipeAttribute
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