pub struct ReferenceToken(/* private fields */);Implementations§
Source§impl ReferenceToken
impl ReferenceToken
Sourcepub const unsafe fn new_unchecked(s: &str) -> &Self
pub const unsafe fn new_unchecked(s: &str) -> &Self
Converts the given string into a JSON pointer reference token without validation.
§Safety
The input string must be a valid JSON pointer reference token.