pub struct SearchPosts {
pub hashtag: Option<String>,
pub query: Option<String>,
pub offset_rate: i32,
pub offset_peer: InputPeer,
pub offset_id: i32,
pub limit: i32,
pub allow_paid_stars: Option<i64>,
}Expand description
Generated from:
channels.searchPosts#f2c4f24d flags:# hashtag:flags.0?string query:flags.1?string offset_rate:int offset_peer:InputPeer offset_id:int limit:int allow_paid_stars:flags.2?long = messages.MessagesFields§
§hashtag: Option<String>§query: Option<String>§offset_rate: i32§offset_peer: InputPeer§offset_id: i32§limit: i32§allow_paid_stars: Option<i64>Trait Implementations§
Source§impl Clone for SearchPosts
impl Clone for SearchPosts
Source§fn clone(&self) -> SearchPosts
fn clone(&self) -> SearchPosts
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 SearchPosts
impl Debug for SearchPosts
Source§impl Identifiable for SearchPosts
impl Identifiable for SearchPosts
Source§const CONSTRUCTOR_ID: u32 = 0xf2c4f24d
const CONSTRUCTOR_ID: u32 = 0xf2c4f24d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SearchPosts
impl PartialEq for SearchPosts
Source§impl RemoteCall for SearchPosts
impl RemoteCall for SearchPosts
Source§impl Serializable for SearchPosts
impl Serializable for SearchPosts
impl StructuralPartialEq for SearchPosts
Auto Trait Implementations§
impl Freeze for SearchPosts
impl RefUnwindSafe for SearchPosts
impl Send for SearchPosts
impl Sync for SearchPosts
impl Unpin for SearchPosts
impl UnsafeUnpin for SearchPosts
impl UnwindSafe for SearchPosts
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