pub struct DbFieldOption {
pub id: Value,
pub name: Option<String>,
pub sort_key: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
Option row. Keys and value types depend on the selected masterdata table. Integer SQL columns are returned as JSON integers (including null values coerced to 0); other columns retain their database-returned value. name and sortKey are common aliases, not universal fields.
Fields§
§id: ValueOption identifier; group-visibility expansions use string IDs.
name: Option<String>§sort_key: Option<i64>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for DbFieldOption
impl Clone for DbFieldOption
Source§impl Debug for DbFieldOption
impl Debug for DbFieldOption
Source§impl Default for DbFieldOption
impl Default for DbFieldOption
Source§impl<'de> Deserialize<'de> for DbFieldOption
impl<'de> Deserialize<'de> for DbFieldOption
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 DbFieldOption
impl PartialEq for DbFieldOption
Source§impl Serialize for DbFieldOption
impl Serialize for DbFieldOption
impl StructuralPartialEq for DbFieldOption
Auto Trait Implementations§
impl Freeze for DbFieldOption
impl RefUnwindSafe for DbFieldOption
impl Send for DbFieldOption
impl Sync for DbFieldOption
impl Unpin for DbFieldOption
impl UnsafeUnpin for DbFieldOption
impl UnwindSafe for DbFieldOption
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