pub struct KeyboardButtonWebView {
pub style: Option<KeyboardButtonStyle>,
pub text: String,
pub url: String,
}Expand description
Generated from:
keyboardButtonWebView#e846b1a0 flags:# style:flags.10?KeyboardButtonStyle text:string url:string = KeyboardButtonFields§
§style: Option<KeyboardButtonStyle>§text: String§url: StringTrait Implementations§
Source§impl Clone for KeyboardButtonWebView
impl Clone for KeyboardButtonWebView
Source§fn clone(&self) -> KeyboardButtonWebView
fn clone(&self) -> KeyboardButtonWebView
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 KeyboardButtonWebView
impl Debug for KeyboardButtonWebView
Source§impl Deserializable for KeyboardButtonWebView
impl Deserializable for KeyboardButtonWebView
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<KeyboardButtonWebView> for KeyboardButton
impl From<KeyboardButtonWebView> for KeyboardButton
Source§fn from(x: KeyboardButtonWebView) -> Self
fn from(x: KeyboardButtonWebView) -> Self
Converts to this type from the input type.
Source§impl Identifiable for KeyboardButtonWebView
impl Identifiable for KeyboardButtonWebView
Source§const CONSTRUCTOR_ID: u32 = 0xe846b1a0
const CONSTRUCTOR_ID: u32 = 0xe846b1a0
The constructor ID as specified in the TL schema.
Source§impl PartialEq for KeyboardButtonWebView
impl PartialEq for KeyboardButtonWebView
Source§impl Serializable for KeyboardButtonWebView
impl Serializable for KeyboardButtonWebView
Source§impl TryFrom<KeyboardButton> for KeyboardButtonWebView
impl TryFrom<KeyboardButton> for KeyboardButtonWebView
Source§type Error = KeyboardButton
type Error = KeyboardButton
The type returned in the event of a conversion error.
impl StructuralPartialEq for KeyboardButtonWebView
Auto Trait Implementations§
impl Freeze for KeyboardButtonWebView
impl RefUnwindSafe for KeyboardButtonWebView
impl Send for KeyboardButtonWebView
impl Sync for KeyboardButtonWebView
impl Unpin for KeyboardButtonWebView
impl UnsafeUnpin for KeyboardButtonWebView
impl UnwindSafe for KeyboardButtonWebView
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