pub struct QuestionContent {
pub content: String,
pub title_slug: String,
}
Fields§
§content: String
§title_slug: String
Implementations§
source§impl QuestionContent
impl QuestionContent
pub fn html_to_text(&self) -> String
Trait Implementations§
source§impl Debug for QuestionContent
impl Debug for QuestionContent
source§impl<'de> Deserialize<'de> for QuestionContent
impl<'de> Deserialize<'de> for QuestionContent
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 RefUnwindSafe for QuestionContent
impl Send for QuestionContent
impl Sync for QuestionContent
impl Unpin for QuestionContent
impl UnwindSafe for QuestionContent
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