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

Method set_cmd

src/param.rs:408–410  ·  view source on GitHub ↗

Set the parameter behind `Param::Cmd`.

(&mut self, value: SystemMessage)

Source from the content-addressed store, hash-verified

406
407 /// Set the parameter behind `Param::Cmd`.
408 pub fn set_cmd(&mut self, value: SystemMessage) {
409 self.set_int(Param::Cmd, value as i32);
410 }
411
412 /// Get the given parameter and parse as `f64`.
413 pub fn get_float(&self, key: Param) -> Option<f64> {

Callers 15

send_alice_handshake_msgFunction · 0.80
add_contact_to_chat_exFunction · 0.80
send_member_removal_msgFunction · 0.80
set_chat_description_exFunction · 0.80
rename_exFunction · 0.80
add_info_msg_with_cmdFunction · 0.80
send_to_chatFunction · 0.80
maybe_sendFunction · 0.80
set_ephemeral_timerMethod · 0.80
accept_incoming_callMethod · 0.80
end_callMethod · 0.80
flush_status_updatesMethod · 0.80

Calls 1

set_intMethod · 0.80