pub struct ListContentItem {
pub id: ContentId,
pub item: String,
pub belongs_to_group: Option<GroupId>,
pub belongs_to_user: Option<UserId>,
pub creator: UserId,
pub time: u128,
pub category: Option<CategoryId>,
pub access_from_group: Option<GroupId>,
}Fields§
§id: ContentId§item: String§belongs_to_group: Option<GroupId>§belongs_to_user: Option<UserId>§creator: UserId§time: u128§category: Option<CategoryId>§access_from_group: Option<GroupId>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ListContentItem
impl<'de> Deserialize<'de> for ListContentItem
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
Auto Trait Implementations§
impl Freeze for ListContentItem
impl RefUnwindSafe for ListContentItem
impl Send for ListContentItem
impl Sync for ListContentItem
impl Unpin for ListContentItem
impl UnwindSafe for ListContentItem
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