pub struct CreateNoteRequest {
pub scope_id: ScopeId,
pub note_type: NoteType,
pub content: String,
pub source_turn_id: Option<TurnId>,
pub importance: Option<f64>,
pub metadata: Option<Value>,
}Expand description
Create a new note (extraction).
Fields§
§scope_id: ScopeId§note_type: NoteType§content: String§source_turn_id: Option<TurnId>§importance: Option<f64>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for CreateNoteRequest
impl Clone for CreateNoteRequest
Source§fn clone(&self) -> CreateNoteRequest
fn clone(&self) -> CreateNoteRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateNoteRequest
impl Debug for CreateNoteRequest
Auto Trait Implementations§
impl Freeze for CreateNoteRequest
impl RefUnwindSafe for CreateNoteRequest
impl Send for CreateNoteRequest
impl Sync for CreateNoteRequest
impl Unpin for CreateNoteRequest
impl UnwindSafe for CreateNoteRequest
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