pub struct SetField {
pub name: String,
pub field_type: FieldType,
pub options: ParseMap,
pub is_new: bool,
}Expand description
One submitted field spec, split into the parts that are stored in two different places.
Fields§
§name: String§field_type: FieldType§options: ParseMapEvery key of the spec except type and targetClass. Empty is a value, not an absence.
is_new: boolAbsent from the stored schema, so this submission reserves it rather than updating it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetField
impl RefUnwindSafe for SetField
impl Send for SetField
impl Sync for SetField
impl Unpin for SetField
impl UnsafeUnpin for SetField
impl UnwindSafe for SetField
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