MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / capability

Method capability

event/src/unvalidated/signed/mod.rs:76–78  ·  view source on GitHub ↗

Get the capability and its CID

(&self)

Source from the content-addressed store, hash-verified

74
75 /// Get the capability and its CID
76 pub fn capability(&self) -> Option<&(Cid, Capability)> {
77 self.capability.as_ref()
78 }
79
80 /// Constructs a signed event by signing a given event payload.
81 pub fn from_payload(payload: Payload<D>, signer: impl Signer) -> anyhow::Result<Self> {

Callers 8

verify_event_cacaoFunction · 0.45
get_test_eventFunction · 0.45
test_siwx_messagesFunction · 0.45
verify_signatureMethod · 0.45
decode_carMethod · 0.45
process_signed_eventMethod · 0.45

Calls 2

as_refMethod · 0.45
as_sliceMethod · 0.45

Tested by 3

verify_event_cacaoFunction · 0.36
get_test_eventFunction · 0.36
test_siwx_messagesFunction · 0.36