pub struct PreviewContent {
pub title: String,
pub body: Vec<String>,
pub truncated: bool,
}Fields§
§title: String§body: Vec<String>§truncated: boolImplementations§
Trait Implementations§
Source§impl Clone for PreviewContent
impl Clone for PreviewContent
Source§fn clone(&self) -> PreviewContent
fn clone(&self) -> PreviewContent
Returns a duplicate of the value. Read more
1.0.0 · 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 PreviewContent
impl Debug for PreviewContent
Source§impl PartialEq for PreviewContent
impl PartialEq for PreviewContent
impl Eq for PreviewContent
impl StructuralPartialEq for PreviewContent
Auto Trait Implementations§
impl Freeze for PreviewContent
impl RefUnwindSafe for PreviewContent
impl Send for PreviewContent
impl Sync for PreviewContent
impl Unpin for PreviewContent
impl UnsafeUnpin for PreviewContent
impl UnwindSafe for PreviewContent
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