Struct frankenstein::api_params::SetGameScoreParams [−][src]
pub struct SetGameScoreParams { pub user_id: u64, pub score: i32, pub force: Option<bool>, pub disable_edit_message: Option<bool>, pub chat_id: Option<i64>, pub message_id: Option<i32>, pub inline_message_id: Option<String>, }
Fields
user_id: u64
score: i32
force: Option<bool>
disable_edit_message: Option<bool>
chat_id: Option<i64>
message_id: Option<i32>
inline_message_id: Option<String>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetGameScoreParams
impl Send for SetGameScoreParams
impl Sync for SetGameScoreParams
impl Unpin for SetGameScoreParams
impl UnwindSafe for SetGameScoreParams
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
pub fn vzip(self) -> V
impl<T> UnsafeAny for T where
T: Any,