pub struct StreamMetadata {
pub provenance: Vec<String>,
pub plexus_hash: String,
pub timestamp: i64,
}Expand description
Provenance metadata the calling layer stamps onto each item.
Present on the WebSocket JSON-RPC transport; absent over REST + SSE.
Fields§
§provenance: Vec<String>Call path through the system (e.g. ["menger", "tickets"]).
plexus_hash: StringHash of the server’s Plexus configuration, for cache invalidation.
timestamp: i64Unix timestamp (seconds) at which the item was wrapped.
Trait Implementations§
Source§impl Clone for StreamMetadata
impl Clone for StreamMetadata
Source§impl Debug for StreamMetadata
impl Debug for StreamMetadata
Source§impl Default for StreamMetadata
impl Default for StreamMetadata
Source§impl<'de> Deserialize<'de> for StreamMetadata
impl<'de> Deserialize<'de> for StreamMetadata
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 PartialEq for StreamMetadata
impl PartialEq for StreamMetadata
Source§impl Serialize for StreamMetadata
impl Serialize for StreamMetadata
impl StructuralPartialEq for StreamMetadata
Auto Trait Implementations§
impl Forget for StreamMetadata
impl Freeze for StreamMetadata
impl RefUnwindSafe for StreamMetadata
impl Send for StreamMetadata
impl Sync for StreamMetadata
impl Unpin for StreamMetadata
impl UnsafeUnpin for StreamMetadata
impl UnwindSafe for StreamMetadata
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