pub struct Meta {
pub source: String,
pub v: u8,
pub ts: i64,
pub db_lag_ms: i64,
}Expand description
Response metadata: which plane served it, the envelope version, the server time, and how far the writer is behind real time.
Fields§
§source: StringThe serving plane (e.g. local for the unix socket, lan for TCP).
v: u8Envelope version.
ts: i64Server time, microsecond epoch.
db_lag_ms: i64Writer lag behind real time, milliseconds. Zero when fully caught up.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
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 Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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