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

Method remove

src/param.rs:360–363  ·  view source on GitHub ↗

Removes the given key, if it exists.

(&mut self, key: Param)

Source from the content-addressed store, hash-verified

358
359 /// Removes the given key, if it exists.
360 pub fn remove(&mut self, key: Param) -> &mut Self {
361 self.inner.remove(&key);
362 self
363 }
364
365 /// Sets the given key from an optional value.
366 /// Removes the key if the value is `None`.

Callers 15

set_profile_imageFunction · 0.45
from_msgMethod · 0.45
uncache_raw_configMethod · 0.45
add_partsFunction · 0.45
handle_post_messageFunction · 0.45
apply_group_changesFunction · 0.45
securejoin.rsFile · 0.45
prepare_msg_rawMethod · 0.45
send_msgFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_dc_paramFunction · 0.36
test_no_empty_to_headerFunction · 0.36