pub struct GetPreviewInfo {
pub bot: InputUser,
pub lang_code: String,
}Expand description
Generated from:
bots.getPreviewInfo#423ab3ad bot:InputUser lang_code:string = bots.PreviewInfoFields§
§bot: InputUser§lang_code: StringTrait Implementations§
Source§impl Clone for GetPreviewInfo
impl Clone for GetPreviewInfo
Source§fn clone(&self) -> GetPreviewInfo
fn clone(&self) -> GetPreviewInfo
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 GetPreviewInfo
impl Debug for GetPreviewInfo
Source§impl Identifiable for GetPreviewInfo
impl Identifiable for GetPreviewInfo
Source§const CONSTRUCTOR_ID: u32 = 0x423ab3ad
const CONSTRUCTOR_ID: u32 = 0x423ab3ad
The constructor ID as specified in the TL schema.
Source§impl PartialEq for GetPreviewInfo
impl PartialEq for GetPreviewInfo
Source§impl RemoteCall for GetPreviewInfo
impl RemoteCall for GetPreviewInfo
Source§type Return = PreviewInfo
type Return = PreviewInfo
The deserialized response type.
Source§impl Serializable for GetPreviewInfo
impl Serializable for GetPreviewInfo
impl StructuralPartialEq for GetPreviewInfo
Auto Trait Implementations§
impl Freeze for GetPreviewInfo
impl RefUnwindSafe for GetPreviewInfo
impl Send for GetPreviewInfo
impl Sync for GetPreviewInfo
impl Unpin for GetPreviewInfo
impl UnsafeUnpin for GetPreviewInfo
impl UnwindSafe for GetPreviewInfo
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