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

Method header

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

Get additional header data

(&self)

Source from the content-addressed store, hash-verified

234impl Signature {
235 /// Get additional header data
236 pub fn header(&self) -> Option<&BTreeMap<String, Ipld>> {
237 self.header.as_ref()
238 }
239 /// Get the protected data if any
240 pub fn protected(&self) -> Option<&Bytes> {
241 self.protected.as_ref()

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected