Struct libpaprika::Recipe
source · pub struct Recipe {Show 24 fields
pub created: String,
pub difficulty: String,
pub photo_large: Option<Base64>,
pub uid: Uuid,
pub photo: Option<String>,
pub categories: Vec<String>,
pub notes: String,
pub prep_time: String,
pub cook_time: String,
pub source: String,
pub source_url: String,
pub photo_data: Option<Base64>,
pub total_time: String,
pub name: String,
pub ingredients: String,
pub photos: Vec<RecipePhoto>,
pub rating: u8,
pub description: String,
pub photo_hash: Option<Hash>,
pub image_url: Option<Url>,
pub nutritional_info: String,
pub directions: String,
pub hash: Hash,
pub servings: String,
}
Fields
created: String
difficulty: String
photo_large: Option<Base64>
uid: Uuid
photo: Option<String>
categories: Vec<String>
notes: String
prep_time: String
cook_time: String
source: String
source_url: String
photo_data: Option<Base64>
total_time: String
name: String
ingredients: String
photos: Vec<RecipePhoto>
rating: u8
description: String
photo_hash: Option<Hash>
image_url: Option<Url>
nutritional_info: String
directions: String
hash: Hash
servings: String
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Recipe
impl<'de> Deserialize<'de> for Recipe
sourcefn 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 RefUnwindSafe for Recipe
impl Send for Recipe
impl Sync for Recipe
impl Unpin for Recipe
impl UnwindSafe for Recipe
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more