MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / with_expected

Method with_expected

core/src/validation.rs:95–98  ·  view source on GitHub ↗

Add expected value information

(mut self, expected: impl Into<String>)

Source from the content-addressed store, hash-verified

93
94 /// Add expected value information
95 pub fn with_expected(mut self, expected: impl Into<String>) -> Self {
96 self.expected = Some(expected.into());
97 self
98 }
99
100 /// Add actual value information
101 pub fn with_actual(mut self, actual: impl Into<String>) -> Self {

Calls

no outgoing calls