pub struct FieldInstance {
pub __identifier: String,
pub __type: String,
pub def_uid: i32,
pub real_editor_values: Vec<Value>,
pub __value: Value,
}
Expand description
Fields§
§__identifier: String
Field definition identifier
__type: String
Type of the field, such as Int
, Float
, Enum(my_enum_name)
, Bool
, etc.
def_uid: i32
Reference of the Field definition UID
real_editor_values: Vec<Value>
Editor internal raw values
__value: Value
Actual value of the field instance. The value type may vary, depending on __type
(Integer, Boolean, String etc.)
It can also be an Array
of those same types.
Trait Implementations§
Source§impl Clone for FieldInstance
impl Clone for FieldInstance
Source§fn clone(&self) -> FieldInstance
fn clone(&self) -> FieldInstance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FieldInstance
impl Debug for FieldInstance
Source§impl<'de> Deserialize<'de> for FieldInstance
impl<'de> Deserialize<'de> for FieldInstance
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
Auto Trait Implementations§
impl Freeze for FieldInstance
impl RefUnwindSafe for FieldInstance
impl Send for FieldInstance
impl Sync for FieldInstance
impl Unpin for FieldInstance
impl UnwindSafe for FieldInstance
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