pub struct TextEntityTypeTextUrl {
pub url: String,
}
Expand description
A text description shown instead of a raw URL
Fields§
§url: String
HTTP or tg: URL to be opened when the link is clicked
Trait Implementations§
Source§impl Clone for TextEntityTypeTextUrl
impl Clone for TextEntityTypeTextUrl
Source§fn clone(&self) -> TextEntityTypeTextUrl
fn clone(&self) -> TextEntityTypeTextUrl
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 TextEntityTypeTextUrl
impl Debug for TextEntityTypeTextUrl
Source§impl Default for TextEntityTypeTextUrl
impl Default for TextEntityTypeTextUrl
Source§fn default() -> TextEntityTypeTextUrl
fn default() -> TextEntityTypeTextUrl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextEntityTypeTextUrl
impl<'de> Deserialize<'de> for TextEntityTypeTextUrl
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 TextEntityTypeTextUrl
impl PartialEq for TextEntityTypeTextUrl
Source§impl Serialize for TextEntityTypeTextUrl
impl Serialize for TextEntityTypeTextUrl
impl StructuralPartialEq for TextEntityTypeTextUrl
Auto Trait Implementations§
impl Freeze for TextEntityTypeTextUrl
impl RefUnwindSafe for TextEntityTypeTextUrl
impl Send for TextEntityTypeTextUrl
impl Sync for TextEntityTypeTextUrl
impl Unpin for TextEntityTypeTextUrl
impl UnwindSafe for TextEntityTypeTextUrl
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