pub struct TextBankCard {
pub text: RichText,
}Expand description
Fields§
§text: RichTextTrait Implementations§
Source§impl Clone for TextBankCard
impl Clone for TextBankCard
Source§fn clone(&self) -> TextBankCard
fn clone(&self) -> TextBankCard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextBankCard
impl Debug for TextBankCard
Source§impl Deserializable for TextBankCard
impl Deserializable for TextBankCard
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<TextBankCard> for RichText
impl From<TextBankCard> for RichText
Source§fn from(x: TextBankCard) -> Self
fn from(x: TextBankCard) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TextBankCard
impl Identifiable for TextBankCard
Source§const CONSTRUCTOR_ID: u32 = 0xb956812d
const CONSTRUCTOR_ID: u32 = 0xb956812d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TextBankCard
impl PartialEq for TextBankCard
Source§fn eq(&self, other: &TextBankCard) -> bool
fn eq(&self, other: &TextBankCard) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serializable for TextBankCard
impl Serializable for TextBankCard
impl StructuralPartialEq for TextBankCard
Auto Trait Implementations§
impl Freeze for TextBankCard
impl RefUnwindSafe for TextBankCard
impl Send for TextBankCard
impl Sync for TextBankCard
impl Unpin for TextBankCard
impl UnsafeUnpin for TextBankCard
impl UnwindSafe for TextBankCard
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