MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / string

Method string

src/avro/src/util.rs:55–59  ·  view source on GitHub ↗
(&self, key: &str)

Source from the content-addressed store, hash-verified

53
54impl MapHelper for Map<String, Value> {
55 fn string(&self, key: &str) -> Option<String> {
56 self.get(key)
57 .and_then(|v| v.as_str())
58 .map(|v| v.to_string())
59 }
60}
61
62pub fn read_long<R: Read>(reader: &mut R) -> Result<i64, AvroError> {

Callers 3

nameMethod · 0.45
docMethod · 0.45
parseMethod · 0.45

Calls 4

mapMethod · 0.45
getMethod · 0.45
as_strMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected