pub struct PrefsView {
pub prefs: Option<Option<Value>>,
pub updated_at: Option<i32>,
}Fields§
§prefs: Option<Option<Value>>§updated_at: Option<i32>UpdatedAt is when the document was last written, unix seconds. Absent when nothing has been saved.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PrefsView
impl<'de> Deserialize<'de> for PrefsView
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
impl StructuralPartialEq for PrefsView
Auto Trait Implementations§
impl Freeze for PrefsView
impl RefUnwindSafe for PrefsView
impl Send for PrefsView
impl Sync for PrefsView
impl Unpin for PrefsView
impl UnsafeUnpin for PrefsView
impl UnwindSafe for PrefsView
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