pub struct ParagraphNode {
pub block_id: Option<String>,
pub type: ParagraphNodeType,
pub children: Vec<ParagraphChildNode>,
pub style: Option<SharedParagraphStyle>,
pub paragraph_mark_style: Option<SharedTextStyle>,
pub source_paragraph_mark_style: Option<SharedTextStyle>,
pub source_paragraph_mark_formatting: Option<ParagraphMarkFormattingSource>,
pub source_paragraph_mark_properties_xml: Option<String>,
pub paragraph_mark_deleted: Option<bool>,
pub source_xml: Option<String>,
pub source_text_patch: Option<ParagraphSourceTextPatch>,
pub source_run_provenance: Option<ParagraphSourceTextPatch>,
}Expand description
Mirrors TypeScript ParagraphNode.
Fields§
§block_id: Option<String>§type: ParagraphNodeType§children: Vec<ParagraphChildNode>§style: Option<SharedParagraphStyle>§paragraph_mark_style: Option<SharedTextStyle>§source_paragraph_mark_style: Option<SharedTextStyle>§source_paragraph_mark_formatting: Option<ParagraphMarkFormattingSource>§source_paragraph_mark_properties_xml: Option<String>§paragraph_mark_deleted: Option<bool>§source_xml: Option<String>§source_text_patch: Option<ParagraphSourceTextPatch>§source_run_provenance: Option<ParagraphSourceTextPatch>Immutable import-time run metadata used to prove that a later surgical annotation edit is still targeting the exact parsed run state.
Trait Implementations§
Source§impl Clone for ParagraphNode
impl Clone for ParagraphNode
Source§impl Debug for ParagraphNode
impl Debug for ParagraphNode
Source§impl<'de> Deserialize<'de> for ParagraphNode
impl<'de> Deserialize<'de> for ParagraphNode
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
Source§impl PartialEq for ParagraphNode
impl PartialEq for ParagraphNode
Source§impl Serialize for ParagraphNode
impl Serialize for ParagraphNode
impl StructuralPartialEq for ParagraphNode
Auto Trait Implementations§
impl Freeze for ParagraphNode
impl RefUnwindSafe for ParagraphNode
impl Send for ParagraphNode
impl Sync for ParagraphNode
impl Unpin for ParagraphNode
impl UnsafeUnpin for ParagraphNode
impl UnwindSafe for ParagraphNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more