MCPcopy Create free account
hub / github.com/chatmail/core / len

Method len

src/param.rs:381–383  ·  view source on GitHub ↗

Returns how many key-value pairs are set.

(&self)

Source from the content-addressed store, hash-verified

379
380 /// Returns how many key-value pairs are set.
381 pub fn len(&self) -> usize {
382 self.inner.len()
383 }
384
385 /// Get the given parameter and parse as `i32`.
386 pub fn get_int(&self, key: Param) -> Option<i32> {

Callers 15

criterion_benchmarkFunction · 0.45
criterion_benchmarkFunction · 0.45
format_line_flowedFunction · 0.45
pad_device_tokenFunction · 0.45
truncateFunction · 0.45
validate_idFunction · 0.45
get_filebytesFunction · 0.45
buf_compressFunction · 0.45
make_vcardFunction · 0.45

Calls

no outgoing calls

Tested by 12

test_html_forwardingFunction · 0.36
file_sizeFunction · 0.36
test_make_n_import_vcardFunction · 0.36
chatlist_lenFunction · 0.36
get_chats_from_chat_listFunction · 0.36
test_save_msgs_orderFunction · 0.36
check_alias_replyFunction · 0.36
test_update_device_chatsFunction · 0.36