pub struct ObservatoryRecording {
pub schema: String,
pub recorded_at: String,
pub revision: Option<String>,
pub scenes: BTreeMap<String, Value>,
pub manifest: RecordingManifest,
}Expand description
The mesh scenes of one process at one moment, fit for publication.
use majordomus_cli::capability::builtin::observatory::ObservatoryRecording;
let r: ObservatoryRecording = serde_json::from_value(serde_json::json!({
"schema": "observatory-recording/v1", "recorded_at": "2026-10-14T05:00:00Z", "scenes": {},
"manifest": { "sources": [], "removed": [] },
})).unwrap();
assert!(r.scenes.is_empty() && r.revision.is_none());Fields§
§schema: String§recorded_at: StringWhen the scenes were read.
revision: Option<String>The commit the recording process stood at, short; absent when it could not say.
scenes: BTreeMap<String, Value>Each recorded scene’s model, by scene id; a scene the process had nothing live for is absent, never empty.
manifest: RecordingManifestWhat the recording is a record of, and what it leaves out.
Trait Implementations§
Source§impl Clone for ObservatoryRecording
impl Clone for ObservatoryRecording
Source§fn clone(&self) -> ObservatoryRecording
fn clone(&self) -> ObservatoryRecording
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObservatoryRecording
impl Debug for ObservatoryRecording
Source§impl<'de> Deserialize<'de> for ObservatoryRecording
impl<'de> Deserialize<'de> for ObservatoryRecording
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 JsonSchema for ObservatoryRecording
impl JsonSchema for ObservatoryRecording
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ObservatoryRecording
impl PartialEq for ObservatoryRecording
Source§fn eq(&self, other: &ObservatoryRecording) -> bool
fn eq(&self, other: &ObservatoryRecording) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObservatoryRecording
impl Serialize for ObservatoryRecording
impl StructuralPartialEq for ObservatoryRecording
Auto Trait Implementations§
impl Freeze for ObservatoryRecording
impl RefUnwindSafe for ObservatoryRecording
impl Send for ObservatoryRecording
impl Sync for ObservatoryRecording
impl Unpin for ObservatoryRecording
impl UnsafeUnpin for ObservatoryRecording
impl UnwindSafe for ObservatoryRecording
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