pub struct ModelState {
pub model: String,
pub record_id: Uuid,
pub revision: i64,
pub schema_version: u32,
pub values: Option<Map<String, Value>>,
pub sql_null_fields: Vec<String>,
pub updated_at: Option<OffsetDateTime>,
pub deleted_at: Option<OffsetDateTime>,
}Fields§
§model: String§record_id: Uuid§revision: i64§schema_version: u32§values: Option<Map<String, Value>>§sql_null_fields: Vec<String>§updated_at: Option<OffsetDateTime>§deleted_at: Option<OffsetDateTime>Trait Implementations§
Source§impl Clone for ModelState
impl Clone for ModelState
Source§impl Debug for ModelState
impl Debug for ModelState
Source§impl<'de> Deserialize<'de> for ModelState
impl<'de> Deserialize<'de> for ModelState
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 ModelState
impl PartialEq for ModelState
Source§impl Serialize for ModelState
impl Serialize for ModelState
impl StructuralPartialEq for ModelState
Auto Trait Implementations§
impl Freeze for ModelState
impl RefUnwindSafe for ModelState
impl Send for ModelState
impl Sync for ModelState
impl Unpin for ModelState
impl UnsafeUnpin for ModelState
impl UnwindSafe for ModelState
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