pub struct TextEntityTypePreCode {
pub language: String,
}
Expand description
Text that must be formatted as if inside pre, and code HTML tags
Fields§
§language: String
Programming language of the code; as defined by the sender
Trait Implementations§
Source§impl Clone for TextEntityTypePreCode
impl Clone for TextEntityTypePreCode
Source§fn clone(&self) -> TextEntityTypePreCode
fn clone(&self) -> TextEntityTypePreCode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TextEntityTypePreCode
impl Debug for TextEntityTypePreCode
Source§impl Default for TextEntityTypePreCode
impl Default for TextEntityTypePreCode
Source§fn default() -> TextEntityTypePreCode
fn default() -> TextEntityTypePreCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextEntityTypePreCode
impl<'de> Deserialize<'de> for TextEntityTypePreCode
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
Source§impl PartialEq for TextEntityTypePreCode
impl PartialEq for TextEntityTypePreCode
Source§impl Serialize for TextEntityTypePreCode
impl Serialize for TextEntityTypePreCode
impl StructuralPartialEq for TextEntityTypePreCode
Auto Trait Implementations§
impl Freeze for TextEntityTypePreCode
impl RefUnwindSafe for TextEntityTypePreCode
impl Send for TextEntityTypePreCode
impl Sync for TextEntityTypePreCode
impl Unpin for TextEntityTypePreCode
impl UnwindSafe for TextEntityTypePreCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more