MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / payload

Method payload

atomic-core/src/operation/mod.rs:359–361  ·  view source on GitHub ↗

Borrow the complete immutable payload.

(&self)

Source from the content-addressed store, hash-verified

357
358 /// Borrow the complete immutable payload.
359 pub fn payload(&self) -> &OperationPayload {
360 &self.payload
361 }
362
363 /// Encode the payload using the strict canonical format.
364 pub fn to_canonical_bytes(&self) -> Result<Vec<u8>, OperationCodecError> {

Calls

no outgoing calls