pub struct MainWebApp {
pub url: String,
pub mode: WebAppOpenMode,
}Expand description
Contains information about the main Web App of a bot
Fields§
§url: StringURL of the Web App to open
mode: WebAppOpenModeThe mode in which the Web App must be opened
Trait Implementations§
Source§impl Clone for MainWebApp
impl Clone for MainWebApp
Source§fn clone(&self) -> MainWebApp
fn clone(&self) -> MainWebApp
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 MainWebApp
impl Debug for MainWebApp
Source§impl<'de> Deserialize<'de> for MainWebApp
impl<'de> Deserialize<'de> for MainWebApp
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 MainWebApp
impl PartialEq for MainWebApp
Source§impl Serialize for MainWebApp
impl Serialize for MainWebApp
impl StructuralPartialEq for MainWebApp
Auto Trait Implementations§
impl Freeze for MainWebApp
impl RefUnwindSafe for MainWebApp
impl Send for MainWebApp
impl Sync for MainWebApp
impl Unpin for MainWebApp
impl UnsafeUnpin for MainWebApp
impl UnwindSafe for MainWebApp
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