MCPcopy Create free account
hub / github.com/chanced/jsonptr / as_str

Method as_str

src/pointer.rs:110–112  ·  view source on GitHub ↗

The encoded string representation of this `Pointer`

(&self)

Source from the content-addressed store, hash-verified

108
109 /// The encoded string representation of this `Pointer`
110 pub fn as_str(&self) -> &str {
111 &self.0
112 }
113
114 /// Converts into an owned [`PointerBuf`]
115 pub fn to_buf(&self) -> PointerBuf {

Callers 6

labelsMethod · 0.80
labelsMethod · 0.80
ends_withMethod · 0.80
starts_withMethod · 0.80
partial_cmpMethod · 0.80
derefMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected