Struct telexide_fork::model::Pre
source · pub struct Pre {
pub text_block: TextBlock,
pub language: Option<String>,
}Expand description
A monowidth code block
Fields§
§text_block: TextBlockThe part of the text that is the code block
language: Option<String>The programming language of the entity text
Trait Implementations§
source§impl<'de> Deserialize<'de> for Pre
impl<'de> Deserialize<'de> for Pre
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more