pub struct DbFieldOptionUpdate {
pub name: Option<String>,
pub sort_key: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
Full option-row update based on the selected field’s metadata. All non-auto-increment columns are required, even if only one value changes. The option ID comes from the path.
Fields§
§name: Option<String>Common option label. Custom selection-table labels contain 1–30 characters.
sort_key: Option<i64>Display order, required for custom selection tables and any metadata exposing a non-auto-increment sortKey column.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for DbFieldOptionUpdate
impl Clone for DbFieldOptionUpdate
Source§impl Debug for DbFieldOptionUpdate
impl Debug for DbFieldOptionUpdate
Source§impl Default for DbFieldOptionUpdate
impl Default for DbFieldOptionUpdate
Source§impl<'de> Deserialize<'de> for DbFieldOptionUpdate
impl<'de> Deserialize<'de> for DbFieldOptionUpdate
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 DbFieldOptionUpdate
impl PartialEq for DbFieldOptionUpdate
Source§impl Serialize for DbFieldOptionUpdate
impl Serialize for DbFieldOptionUpdate
impl StructuralPartialEq for DbFieldOptionUpdate
Auto Trait Implementations§
impl Freeze for DbFieldOptionUpdate
impl RefUnwindSafe for DbFieldOptionUpdate
impl Send for DbFieldOptionUpdate
impl Sync for DbFieldOptionUpdate
impl Unpin for DbFieldOptionUpdate
impl UnsafeUnpin for DbFieldOptionUpdate
impl UnwindSafe for DbFieldOptionUpdate
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