pub struct AddSpec {
pub title: String,
pub body: String,
pub mem_type: String,
pub scope: Scope,
pub project: String,
pub topic_key: Option<String>,
pub anchors: Vec<AnchorSpec>,
pub tags: Vec<String>,
}Expand description
Inputs to create a memory.
Fields§
§title: String§body: String§mem_type: String§scope: Scope§project: String§topic_key: Option<String>§anchors: Vec<AnchorSpec>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddSpec
impl RefUnwindSafe for AddSpec
impl Send for AddSpec
impl Sync for AddSpec
impl Unpin for AddSpec
impl UnsafeUnpin for AddSpec
impl UnwindSafe for AddSpec
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