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

Method sep

event/src/unvalidated/payload/init.rs:144–149  ·  view source on GitHub ↗

Get the sep

(&self)

Source from the content-addressed store, hash-verified

142
143 /// Get the sep
144 pub fn sep(&self) -> &str {
145 // NOTE: We implement the defaulting behavior here, as opposed to defaulting the value of
146 // the sep field itself, so we can re-encode the header with the missing sep value so its
147 // CID doesn't change.
148 self.sep.as_deref().unwrap_or(DEFAULT_SEP)
149 }
150
151 /// Get the model
152 pub fn model(&self) -> &[u8] {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected