pub enum HubDocumentBlockEntry {
Paragraph(HubParagraphTextBlock),
SectionTitle(HubSectionTitleTextBlock),
CalloutBox(HubCalloutBoxTextBlock),
ItemList(HubItemListBlock),
Divider(HubDividerBlock),
Unknown(Value),
}Variants§
Paragraph(HubParagraphTextBlock)
SectionTitle(HubSectionTitleTextBlock)
CalloutBox(HubCalloutBoxTextBlock)
ItemList(HubItemListBlock)
Divider(HubDividerBlock)
Unknown(Value)
An unrecognized discriminator, retained verbatim (open union).
Trait Implementations§
Source§impl Clone for HubDocumentBlockEntry
impl Clone for HubDocumentBlockEntry
Source§fn clone(&self) -> HubDocumentBlockEntry
fn clone(&self) -> HubDocumentBlockEntry
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 HubDocumentBlockEntry
impl Debug for HubDocumentBlockEntry
Source§impl Default for HubDocumentBlockEntry
impl Default for HubDocumentBlockEntry
Source§impl<'de> Deserialize<'de> for HubDocumentBlockEntry
impl<'de> Deserialize<'de> for HubDocumentBlockEntry
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HubDocumentBlockEntry
impl PartialEq for HubDocumentBlockEntry
Source§impl Serialize for HubDocumentBlockEntry
impl Serialize for HubDocumentBlockEntry
impl StructuralPartialEq for HubDocumentBlockEntry
Auto Trait Implementations§
impl Freeze for HubDocumentBlockEntry
impl RefUnwindSafe for HubDocumentBlockEntry
impl Send for HubDocumentBlockEntry
impl Sync for HubDocumentBlockEntry
impl Unpin for HubDocumentBlockEntry
impl UnsafeUnpin for HubDocumentBlockEntry
impl UnwindSafe for HubDocumentBlockEntry
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