pub struct DeepLinkInfo {
pub text: FormattedText,
pub need_update_application: bool,
}
Expand description
Contains information about a tg: deep link
Fields§
§text: FormattedText
Text to be shown to the user
need_update_application: bool
True, if the user must be asked to update the application
Trait Implementations§
Source§impl Clone for DeepLinkInfo
impl Clone for DeepLinkInfo
Source§fn clone(&self) -> DeepLinkInfo
fn clone(&self) -> DeepLinkInfo
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 DeepLinkInfo
impl Debug for DeepLinkInfo
Source§impl Default for DeepLinkInfo
impl Default for DeepLinkInfo
Source§fn default() -> DeepLinkInfo
fn default() -> DeepLinkInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeepLinkInfo
impl<'de> Deserialize<'de> for DeepLinkInfo
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 DeepLinkInfo
impl PartialEq for DeepLinkInfo
Source§impl Serialize for DeepLinkInfo
impl Serialize for DeepLinkInfo
impl StructuralPartialEq for DeepLinkInfo
Auto Trait Implementations§
impl Freeze for DeepLinkInfo
impl RefUnwindSafe for DeepLinkInfo
impl Send for DeepLinkInfo
impl Sync for DeepLinkInfo
impl Unpin for DeepLinkInfo
impl UnwindSafe for DeepLinkInfo
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