pub struct CustomFieldSection {
pub name: String,
pub id: String,
pub body: String,
}Expand description
A single rich-text custom field section parsed out of a JFM body.
Emitted by issue_to_jfm_document via [append_custom_section] and
recovered by JfmDocument::split_custom_sections so the write path
can round-trip a field through markdown_to_adf for upload.
Fields§
§name: StringHuman-readable field name captured from the <!-- field: Name (id) --> tag.
id: StringStable field ID captured from the tag (e.g., customfield_19300).
body: StringMarkdown body of the section (no trailing newline guarantees).
Trait Implementations§
Source§impl Clone for CustomFieldSection
impl Clone for CustomFieldSection
Source§fn clone(&self) -> CustomFieldSection
fn clone(&self) -> CustomFieldSection
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 CustomFieldSection
impl Debug for CustomFieldSection
Source§impl PartialEq for CustomFieldSection
impl PartialEq for CustomFieldSection
impl Eq for CustomFieldSection
impl StructuralPartialEq for CustomFieldSection
Auto Trait Implementations§
impl Freeze for CustomFieldSection
impl RefUnwindSafe for CustomFieldSection
impl Send for CustomFieldSection
impl Sync for CustomFieldSection
impl Unpin for CustomFieldSection
impl UnsafeUnpin for CustomFieldSection
impl UnwindSafe for CustomFieldSection
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.