pub struct WriteSectionCommand {
pub section_id: String,
pub markdown: String,
pub base_heading_level: Option<usize>,
}Expand description
WRITE_SECTION command - write markdown to a section
Fields§
§section_id: StringTarget section block ID
markdown: StringMarkdown content to write
base_heading_level: Option<usize>Base heading level for relative heading adjustment
Trait Implementations§
Source§impl Clone for WriteSectionCommand
impl Clone for WriteSectionCommand
Source§fn clone(&self) -> WriteSectionCommand
fn clone(&self) -> WriteSectionCommand
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 WriteSectionCommand
impl Debug for WriteSectionCommand
Source§impl<'de> Deserialize<'de> for WriteSectionCommand
impl<'de> Deserialize<'de> for WriteSectionCommand
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 WriteSectionCommand
impl PartialEq for WriteSectionCommand
Source§impl Serialize for WriteSectionCommand
impl Serialize for WriteSectionCommand
impl StructuralPartialEq for WriteSectionCommand
Auto Trait Implementations§
impl Freeze for WriteSectionCommand
impl RefUnwindSafe for WriteSectionCommand
impl Send for WriteSectionCommand
impl Sync for WriteSectionCommand
impl Unpin for WriteSectionCommand
impl UnwindSafe for WriteSectionCommand
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