fn __repr__()

in hfendpoints-tasks/src/audio/transcription.rs [128:138]


        fn __repr__(&self) -> String {
            let text = match &self.0.output {
                Transcription::Text(text) => text,
                Transcription::Detailed(detailed) => &detailed.text,
            };

            match &self.0.usage {
                None => format!("TranscriptionResponse(text={text})"),
                Some(usage) => format!("TranscriptionResponse(text={text}, usage={usage})"),
            }
        }