#[non_exhaustive]pub struct UpdateDataModel {
pub surface_id: String,
pub path: Option<String>,
pub value: Value,
}Expand description
updateDataModel.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.surface_id: StringThe surface whose data model changes.
path: Option<String>A JSON Pointer; absent or / means the whole model.
value: ValueThe new value; null deletes the key at path.
Trait Implementations§
Source§impl Clone for UpdateDataModel
impl Clone for UpdateDataModel
Source§impl Debug for UpdateDataModel
impl Debug for UpdateDataModel
Source§impl<'de> Deserialize<'de> for UpdateDataModel
impl<'de> Deserialize<'de> for UpdateDataModel
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 UpdateDataModel
impl PartialEq for UpdateDataModel
Source§impl Serialize for UpdateDataModel
impl Serialize for UpdateDataModel
impl StructuralPartialEq for UpdateDataModel
Auto Trait Implementations§
impl Forget for UpdateDataModel
impl Freeze for UpdateDataModelwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for UpdateDataModel
impl RefUnwindSafe for UpdateDataModel
impl Send for UpdateDataModel
impl Sync for UpdateDataModel
impl Unpin for UpdateDataModel
impl UnsafeUnpin for UpdateDataModelwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for UpdateDataModel
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