pub(crate) struct Stream {
pub(crate) stream: HashMap<String, String>,
pub(crate) values: Vec<Vec<String>>,
}
Expand description
The data structure used for attaching tags / labels to logging entries before sending them to Loki
Fields§
§stream: HashMap<String, String>
The tags which should be attached to the logging entries
values: Vec<Vec<String>>
The actual log messages to store with the corresponding meta information
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
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