pub struct BriefTag {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub name: String,
pub slug: String,
pub color: Option<String>,
pub description: Option<String>,
}Expand description
BriefTag : Adds an owner field for models which have a ForeignKey to users.Owner.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§name: String§slug: String§color: Option<String>§description: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BriefTag
impl<'de> Deserialize<'de> for BriefTag
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
impl StructuralPartialEq for BriefTag
Auto Trait Implementations§
impl Freeze for BriefTag
impl RefUnwindSafe for BriefTag
impl Send for BriefTag
impl Sync for BriefTag
impl Unpin for BriefTag
impl UnsafeUnpin for BriefTag
impl UnwindSafe for BriefTag
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