Struct theca::Item
[−]
[src]
pub struct Item { pub id: usize, pub title: String, pub status: Status, pub body: String, pub last_touched: String, }
Represents a note within a profile
Fields
id: usize
title: String
status: Status
body: String
last_touched: String
Trait Implementations
impl Decodable for Item
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Item, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for Item
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Clone for Item
[src]
fn clone(&self) -> Item
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more