pub struct UserSettingsFlagPayload {
pub last_sync_id: Option<f64>,
pub flag: Option<String>,
pub value: Option<i64>,
pub success: Option<bool>,
}Fields§
§last_sync_id: Option<f64>The identifier of the last sync operation.
flag: Option<String>The flag key which was updated.
value: Option<i64>The flag value after update.
success: Option<bool>Whether the operation was successful.
Trait Implementations§
Source§impl Clone for UserSettingsFlagPayload
impl Clone for UserSettingsFlagPayload
Source§fn clone(&self) -> UserSettingsFlagPayload
fn clone(&self) -> UserSettingsFlagPayload
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 UserSettingsFlagPayload
impl Debug for UserSettingsFlagPayload
Source§impl Default for UserSettingsFlagPayload
impl Default for UserSettingsFlagPayload
Source§fn default() -> UserSettingsFlagPayload
fn default() -> UserSettingsFlagPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserSettingsFlagPayloadwhere
UserSettingsFlagPayload: Default,
impl<'de> Deserialize<'de> for UserSettingsFlagPayloadwhere
UserSettingsFlagPayload: Default,
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
Auto Trait Implementations§
impl Freeze for UserSettingsFlagPayload
impl RefUnwindSafe for UserSettingsFlagPayload
impl Send for UserSettingsFlagPayload
impl Sync for UserSettingsFlagPayload
impl Unpin for UserSettingsFlagPayload
impl UnwindSafe for UserSettingsFlagPayload
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