pub struct TopicContent {
pub current_version: String,
pub format: ContentFormat,
pub versions: Vec<ContentVersion>,
pub wiki_editors: Vec<UserId>,
}Expand description
Topic content with version history
Fields§
§current_version: String§format: ContentFormat§versions: Vec<ContentVersion>§wiki_editors: Vec<UserId>Trait Implementations§
Source§impl Clone for TopicContent
impl Clone for TopicContent
Source§fn clone(&self) -> TopicContent
fn clone(&self) -> TopicContent
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TopicContent
impl Debug for TopicContent
Source§impl<'de> Deserialize<'de> for TopicContent
impl<'de> Deserialize<'de> for TopicContent
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 TopicContent
impl RefUnwindSafe for TopicContent
impl Send for TopicContent
impl Sync for TopicContent
impl Unpin for TopicContent
impl UnwindSafe for TopicContent
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