pub struct NewAtom {
pub world: WorldKey,
pub worker: WorkerKey,
pub kind: AtomKind,
pub timestamp: Timestamp,
pub importance: Importance,
pub payload_json: String,
pub vector: Option<Vec<f32>>,
pub flags: Vec<String>,
pub labels: Vec<String>,
pub links: Vec<Link>,
}Expand description
Payload for a worker-submitted atom.
Fields§
§world: WorldKey§worker: WorkerKey§kind: AtomKind§timestamp: Timestamp§importance: Importance§payload_json: String§vector: Option<Vec<f32>>§flags: Vec<String>§labels: Vec<String>§links: Vec<Link>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewAtom
impl<'de> Deserialize<'de> for NewAtom
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
impl StructuralPartialEq for NewAtom
Auto Trait Implementations§
impl Freeze for NewAtom
impl RefUnwindSafe for NewAtom
impl Send for NewAtom
impl Sync for NewAtom
impl Unpin for NewAtom
impl UnwindSafe for NewAtom
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