pub struct New {
pub text: String,
pub kind: Kind,
pub scope: Scope,
pub title: Option<String>,
pub description: Option<String>,
pub links: Vec<String>,
}Expand description
A new memory.
Fields§
§text: String§kind: Kind§scope: Scope§title: Option<String>Default: the text’s first line, shortened.
description: Option<String>Default: the title.
links: Vec<String>Trait Implementations§
impl Eq for New
impl StructuralPartialEq for New
Auto Trait Implementations§
impl Forget for New
impl Freeze for New
impl Move for New
impl RefUnwindSafe for New
impl Send for Newwhere
RawVecInner: Send,
impl Sync for Newwhere
RawVecInner: Sync,
impl Unpin for New
impl UnsafeUnpin for Newwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Newwhere
RawVecInner: UnwindSafe,
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.