MCPcopy Create free account
hub / github.com/Botloader/botloader / from

Method from

components/runtime-models/src/discord/message.rs:18–23  ·  view source on GitHub ↗
(v: twilight_model::channel::message::MessageActivity)

Source from the content-addressed store, hash-verified

16
17impl From<twilight_model::channel::message::MessageActivity> for MessageActivity {
18 fn from(v: twilight_model::channel::message::MessageActivity) -> Self {
19 Self {
20 kind: v.kind.into(),
21 party_id: v.party_id,
22 }
23 }
24}
25
26#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize, Deserialize, TS)]

Callers

nothing calls this directly

Calls 1

NotBigU64Class · 0.85

Tested by

no test coverage detected