pub struct Tag {
pub id: i64,
pub name: String,
pub description: String,
pub date_modified: String,
pub aliases: Vec<String>,
pub category: Option<String>,
}
Fields§
§id: i64
§name: String
§description: String
§date_modified: String
§aliases: Vec<String>
§category: Option<String>
Implementations§
Source§impl Tag
impl Tag
pub fn apply_partial(&mut self, partial: &PartialTag)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
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<Tag> for PartialTag
impl From<Tag> for PartialTag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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