pub struct NoteCreated {
pub note_id: NoteId,
pub note_type: Option<NoteType>,
pub title: String,
pub content: String,
pub content_hash: Option<ContentHash>,
pub ttl: Option<TTL>,
pub abstraction_level: Option<AbstractionLevel>,
pub source_trajectory_ids: Vec<TrajectoryId>,
pub source_artifact_ids: Vec<ArtifactId>,
pub metadata: Option<Value>,
}Expand description
Payload for NOTE_CREATED events.
Fields§
§note_id: NoteId§note_type: Option<NoteType>§title: String§content: String§content_hash: Option<ContentHash>§ttl: Option<TTL>§abstraction_level: Option<AbstractionLevel>§source_trajectory_ids: Vec<TrajectoryId>§source_artifact_ids: Vec<ArtifactId>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for NoteCreated
impl Clone for NoteCreated
Source§fn clone(&self) -> NoteCreated
fn clone(&self) -> NoteCreated
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 NoteCreated
impl Debug for NoteCreated
Source§impl<'de> Deserialize<'de> for NoteCreated
impl<'de> Deserialize<'de> for NoteCreated
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
Source§impl EventPayload for NoteCreated
impl EventPayload for NoteCreated
Auto Trait Implementations§
impl Freeze for NoteCreated
impl RefUnwindSafe for NoteCreated
impl Send for NoteCreated
impl Sync for NoteCreated
impl Unpin for NoteCreated
impl UnwindSafe for NoteCreated
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