pub struct TextConcat {
pub texts: Vec<RichText>,
}Expand description
Fields§
§texts: Vec<RichText>Trait Implementations§
Source§impl Clone for TextConcat
impl Clone for TextConcat
Source§fn clone(&self) -> TextConcat
fn clone(&self) -> TextConcat
Returns a duplicate 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 TextConcat
impl Debug for TextConcat
Source§impl Deserializable for TextConcat
impl Deserializable for TextConcat
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<TextConcat> for RichText
impl From<TextConcat> for RichText
Source§fn from(x: TextConcat) -> Self
fn from(x: TextConcat) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TextConcat
impl Identifiable for TextConcat
Source§const CONSTRUCTOR_ID: u32 = 0x7e6260d7
const CONSTRUCTOR_ID: u32 = 0x7e6260d7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TextConcat
impl PartialEq for TextConcat
Source§impl Serializable for TextConcat
impl Serializable for TextConcat
Source§impl TryFrom<RichText> for TextConcat
impl TryFrom<RichText> for TextConcat
impl StructuralPartialEq for TextConcat
Auto Trait Implementations§
impl Freeze for TextConcat
impl RefUnwindSafe for TextConcat
impl Send for TextConcat
impl Sync for TextConcat
impl Unpin for TextConcat
impl UnsafeUnpin for TextConcat
impl UnwindSafe for TextConcat
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