pub struct CommentEntry {
pub id: String,
pub state: CommentState,
pub section: Option<String>,
}Expand description
The machine-relevant fields parsed from one comment heading.
Fields§
§id: StringThe Drive comment id (:COMMENT_ID:).
state: CommentStateWhether the heading is TODO or DONE.
section: Option<String>The anchored section’s CUSTOM_ID (:COMMENT_SECTION:), or None for a
document-level comment.
Trait Implementations§
Source§impl Clone for CommentEntry
impl Clone for CommentEntry
Source§fn clone(&self) -> CommentEntry
fn clone(&self) -> CommentEntry
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 CommentEntry
impl Debug for CommentEntry
impl Eq for CommentEntry
Source§impl PartialEq for CommentEntry
impl PartialEq for CommentEntry
impl StructuralPartialEq for CommentEntry
Auto Trait Implementations§
impl Freeze for CommentEntry
impl RefUnwindSafe for CommentEntry
impl Send for CommentEntry
impl Sync for CommentEntry
impl Unpin for CommentEntry
impl UnsafeUnpin for CommentEntry
impl UnwindSafe for CommentEntry
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.