pub struct RichBlockDetails {
pub summary: RichText,
pub blocks: Vec<RichBlock>,
pub is_open: Option<bool>,
}Expand description
A collapsible details / disclosure block (<details>).
Fields§
§summary: RichTextThe always-visible summary.
blocks: Vec<RichBlock>Nested block content shown when expanded.
is_open: Option<bool>true if the block is expanded by default.
Trait Implementations§
Source§impl Clone for RichBlockDetails
impl Clone for RichBlockDetails
Source§fn clone(&self) -> RichBlockDetails
fn clone(&self) -> RichBlockDetails
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 RichBlockDetails
impl Debug for RichBlockDetails
Source§impl<'de> Deserialize<'de> for RichBlockDetails
impl<'de> Deserialize<'de> for RichBlockDetails
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 RichBlockDetails
impl RefUnwindSafe for RichBlockDetails
impl Send for RichBlockDetails
impl Sync for RichBlockDetails
impl Unpin for RichBlockDetails
impl UnsafeUnpin for RichBlockDetails
impl UnwindSafe for RichBlockDetails
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