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

Method header

event/src/unvalidated/payload/data.rs:49–51  ·  view source on GitHub ↗

Get the header

(&self)

Source from the content-addressed store, hash-verified

47
48 /// Get the header
49 pub fn header(&self) -> Option<&Header> {
50 self.header.as_ref()
51 }
52
53 /// Get the data
54 pub fn data(&self) -> &D {

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected