pub struct FoodInsightDto {
pub name: LocalizedTextDto,
pub description: LocalizedTextDto,
}Fields§
§name: LocalizedTextDto§description: LocalizedTextDtoTrait Implementations§
Source§impl Clone for FoodInsightDto
impl Clone for FoodInsightDto
Source§fn clone(&self) -> FoodInsightDto
fn clone(&self) -> FoodInsightDto
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 FoodInsightDto
impl Debug for FoodInsightDto
Source§impl<'de> Deserialize<'de> for FoodInsightDto
impl<'de> Deserialize<'de> for FoodInsightDto
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 From<&FoodItem> for FoodInsightDto
impl From<&FoodItem> for FoodInsightDto
Auto Trait Implementations§
impl Freeze for FoodInsightDto
impl RefUnwindSafe for FoodInsightDto
impl Send for FoodInsightDto
impl Sync for FoodInsightDto
impl Unpin for FoodInsightDto
impl UnsafeUnpin for FoodInsightDto
impl UnwindSafe for FoodInsightDto
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