MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / serialize_map

Method serialize_map

cel/src/ser.rs:363–368  ·  view source on GitHub ↗
(self, _len: Option<usize>)

Source from the content-addressed store, hash-verified

361 }
362
363 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap> {
364 Ok(SerializeMap {
365 map: HashMap::new(),
366 next_key: None,
367 })
368 }
369
370 fn serialize_struct(self, _name: &'static str, len: usize) -> Result<Self::SerializeStruct> {
371 self.serialize_map(Some(len))

Callers 1

serialize_structMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected