pub struct Bold {
pub role: Option<Role>,
pub id: Option<String>,
pub form: Form,
pub content: Vec<InlineNode>,
pub location: Location,
}Expand description
A Bold represents a bold section of text in a document.
Fields§
§role: Option<Role>§id: Option<String>§form: Form§content: Vec<InlineNode>§location: LocationTrait Implementations§
Source§impl<'de> Deserialize<'de> for Bold
impl<'de> Deserialize<'de> for Bold
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
impl StructuralPartialEq for Bold
Auto Trait Implementations§
impl Freeze for Bold
impl RefUnwindSafe for Bold
impl Send for Bold
impl Sync for Bold
impl Unpin for Bold
impl UnwindSafe for Bold
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