pub struct TopicSnapshot {
pub id: String,
pub title: String,
pub file_path: String,
pub body: String,
}Fields§
§id: String§title: String§file_path: String§body: StringTrait Implementations§
Source§impl Clone for TopicSnapshot
impl Clone for TopicSnapshot
Source§fn clone(&self) -> TopicSnapshot
fn clone(&self) -> TopicSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TopicSnapshot
impl Debug for TopicSnapshot
Source§impl<'de> Deserialize<'de> for TopicSnapshot
impl<'de> Deserialize<'de> for TopicSnapshot
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 TopicSnapshot
impl RefUnwindSafe for TopicSnapshot
impl Send for TopicSnapshot
impl Sync for TopicSnapshot
impl Unpin for TopicSnapshot
impl UnsafeUnpin for TopicSnapshot
impl UnwindSafe for TopicSnapshot
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