pub struct Recipe {
pub id: RecipeId,
pub _type: RecipeType,
pub output_item_id: ItemId,
pub output_item_count: u16,
pub time_to_craft_ms: u16,
pub disciplines: BTreeSet<Discipline>,
pub min_rating: u16,
pub flags: BTreeSet<RecipeFlag>,
pub ingredients: Vec<Ingredient>,
pub output_upgrade_id: Option<u32>,
pub chat_link: String,
}Fields§
§id: RecipeId§_type: RecipeType§output_item_id: ItemId§output_item_count: u16§time_to_craft_ms: u16§disciplines: BTreeSet<Discipline>§min_rating: u16§flags: BTreeSet<RecipeFlag>§ingredients: Vec<Ingredient>§output_upgrade_id: Option<u32>§chat_link: StringTrait Implementations§
Source§impl BulkEndpoint for Recipe
impl BulkEndpoint for Recipe
Source§impl<'de> Deserialize<'de> for Recipe
impl<'de> Deserialize<'de> for Recipe
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 Endpoint for Recipe
impl Endpoint for Recipe
Source§const AUTHENTICATED: bool = false
const AUTHENTICATED: bool = false
whether this endpoint requires authentication
Source§impl EndpointWithId for Recipe
impl EndpointWithId for Recipe
Auto Trait Implementations§
impl Freeze for Recipe
impl RefUnwindSafe for Recipe
impl Send for Recipe
impl Sync for Recipe
impl Unpin for Recipe
impl UnwindSafe for Recipe
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more