pub struct AddParams {
pub content: String,
pub memory_type: MemoryType,
pub tags: Vec<String>,
pub project_id: Option<Uuid>,
pub is_global: bool,
pub working_dir: Option<String>,
}Fields§
§content: String§memory_type: MemoryType§project_id: Option<Uuid>§is_global: bool§working_dir: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddParams
impl<'de> Deserialize<'de> for AddParams
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
Auto Trait Implementations§
impl Freeze for AddParams
impl RefUnwindSafe for AddParams
impl Send for AddParams
impl Sync for AddParams
impl Unpin for AddParams
impl UnsafeUnpin for AddParams
impl UnwindSafe for AddParams
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