pub struct RestoreStateParams {
pub state: Value,
}Expand description
Parameters for the restore_state method.
Fields§
§state: ValueOpaque state returned by a previous save_state call.
Trait Implementations§
Source§impl Debug for RestoreStateParams
impl Debug for RestoreStateParams
Source§impl<'de> Deserialize<'de> for RestoreStateParams
impl<'de> Deserialize<'de> for RestoreStateParams
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 RestoreStateParams
impl RefUnwindSafe for RestoreStateParams
impl Send for RestoreStateParams
impl Sync for RestoreStateParams
impl Unpin for RestoreStateParams
impl UnsafeUnpin for RestoreStateParams
impl UnwindSafe for RestoreStateParams
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