MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / string_field

Function string_field

nodedb/src/engine/timeseries/ilp.rs:257–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255
256 #[test]
257 fn string_field() {
258 let line = parse_line(r#"log,host=web01 message="hello world" 1000"#).unwrap();
259 assert_eq!(
260 line.fields[0],
261 ("message", FieldValue::Str("hello world".to_string()))
262 );
263 }
264
265 #[test]
266 fn unsigned_int() {

Callers

nothing calls this directly

Calls 1

parse_lineFunction · 0.85

Tested by

no test coverage detected