MCPcopy Create free account
hub / github.com/pydantic/jiter / StringOutput

Class StringOutput

crates/jiter/src/string_decoder.rs:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43 #[derive(Debug)]
44 pub struct StringOutput<'t, 'j>
45 where
46 'j: 't,
47 {
48 pub(crate) data: StringOutputType<'t, 'j>,
49 // SAFETY: this is used as an invariant to determine if the string is ascii only
50 // so this should not be set except when known
51 ascii_only: bool,
52 }
53
54 impl From<StringOutput<'_, '_>> for String {
55 fn from(val: StringOutput) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…