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

Method attr

nodedb-array/src/schema/builder.rs:45–48  ·  view source on GitHub ↗
(mut self, attr: AttrSpec)

Source from the content-addressed store, hash-verified

43 }
44
45 pub fn attr(mut self, attr: AttrSpec) -> Self {
46 self.attrs.push(attr);
47 self
48 }
49
50 pub fn tile_extents(mut self, extents: Vec<u64>) -> Self {
51 self.tile_extents = extents;

Callers 15

make_schemaFunction · 0.45
make_ctxFunction · 0.45
build_schemaFunction · 0.45
schema_2d_f64Function · 0.45
schemaFunction · 0.45
schemaFunction · 0.45
schemaFunction · 0.45
test_schemaFunction · 0.45
test_schemaFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by 15

schema_2d_f64Function · 0.36
schemaFunction · 0.36
test_schemaFunction · 0.36
test_schemaFunction · 0.36
schemaFunction · 0.36
schemaFunction · 0.36
schemaFunction · 0.36
schemaFunction · 0.36
genomic_schemaFunction · 0.36