MCPcopy Create free account
hub / github.com/cosdata/cosdata / attribute

Function attribute

org/src/cosql.rs:102–110  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

100}
101
102fn attribute(input: &str) -> IResult<&str, Attribute> {
103 map(
104 tuple((ws(identifier), ws(char(':')), ws(data_type))),
105 |(name, _, data_type)| Attribute {
106 name: name.to_string(),
107 data_type,
108 },
109 )(input)
110}
111
112#[derive(Debug)]
113struct EntityDefinition {

Callers

nothing calls this directly

Calls 1

wsFunction · 0.70

Tested by

no test coverage detected