pub struct StoredHeading {
pub text: String,
pub id: String,
}Expand description
One heading of a record, as its backend stores it: its text, and the id the backend gave it.
Reported only by a backend that assigns its headings ids of its own — Linear’s editor
state gives every heading node an id attribute — and in the order the headings appear
in the record, so the n-th heading with one text is the n-th entry with that text.
Fields§
§text: StringThe heading’s text, without its leading # marks or any inline formatting.
id: StringThe id its backend stores the heading under.
Trait Implementations§
Source§impl Clone for StoredHeading
impl Clone for StoredHeading
Source§impl Debug for StoredHeading
impl Debug for StoredHeading
impl Eq for StoredHeading
Source§impl PartialEq for StoredHeading
impl PartialEq for StoredHeading
impl StructuralPartialEq for StoredHeading
Auto Trait Implementations§
impl Freeze for StoredHeading
impl RefUnwindSafe for StoredHeading
impl Send for StoredHeading
impl Sync for StoredHeading
impl Unpin for StoredHeading
impl UnsafeUnpin for StoredHeading
impl UnwindSafe for StoredHeading
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