pub struct UpdateAnimationSearchParameters {
pub provider: String,
pub emojis: Vec<String>,
}
Expand description
The parameters of animation search through getOption(“animation_search_bot_username”) bot has changed
Fields§
§provider: String
Name of the animation search provider
emojis: Vec<String>
The new list of emojis suggested for searching
Trait Implementations§
Source§impl Clone for UpdateAnimationSearchParameters
impl Clone for UpdateAnimationSearchParameters
Source§fn clone(&self) -> UpdateAnimationSearchParameters
fn clone(&self) -> UpdateAnimationSearchParameters
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 Default for UpdateAnimationSearchParameters
impl Default for UpdateAnimationSearchParameters
Source§fn default() -> UpdateAnimationSearchParameters
fn default() -> UpdateAnimationSearchParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAnimationSearchParameters
impl<'de> Deserialize<'de> for UpdateAnimationSearchParameters
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 UpdateAnimationSearchParameters
impl PartialEq for UpdateAnimationSearchParameters
Source§fn eq(&self, other: &UpdateAnimationSearchParameters) -> bool
fn eq(&self, other: &UpdateAnimationSearchParameters) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateAnimationSearchParameters
Auto Trait Implementations§
impl Freeze for UpdateAnimationSearchParameters
impl RefUnwindSafe for UpdateAnimationSearchParameters
impl Send for UpdateAnimationSearchParameters
impl Sync for UpdateAnimationSearchParameters
impl Unpin for UpdateAnimationSearchParameters
impl UnwindSafe for UpdateAnimationSearchParameters
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