pub struct SensorSnapshotResponse {
pub burst_num: u64,
pub timestamp_ms: i64,
pub has_data: bool,
pub total_areas: usize,
pub total_neurons: usize,
pub areas: Vec<SensorTapArea>,
}Expand description
Response payload for GET /v1/input/sensor_snapshot/last.
Fields§
§burst_num: u64Burst counter when the snapshot was captured. Zero if no sensory traffic has been received since FEAGI started.
timestamp_ms: i64Wall-clock millisecond timestamp when the snapshot was captured.
has_data: boolConvenience flag for clients - true when at least one area was captured.
total_areas: usizeTotal cortical areas with sensory input this burst.
total_neurons: usizeTotal samples across all sensory areas this burst.
areas: Vec<SensorTapArea>Per-area sensory samples, ordered as decoded by the burst loop.
Trait Implementations§
Source§impl Clone for SensorSnapshotResponse
impl Clone for SensorSnapshotResponse
Source§fn clone(&self) -> SensorSnapshotResponse
fn clone(&self) -> SensorSnapshotResponse
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 SensorSnapshotResponse
impl Debug for SensorSnapshotResponse
Source§impl Serialize for SensorSnapshotResponse
impl Serialize for SensorSnapshotResponse
Auto Trait Implementations§
impl Freeze for SensorSnapshotResponse
impl RefUnwindSafe for SensorSnapshotResponse
impl Send for SensorSnapshotResponse
impl Sync for SensorSnapshotResponse
impl Unpin for SensorSnapshotResponse
impl UnsafeUnpin for SensorSnapshotResponse
impl UnwindSafe for SensorSnapshotResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more