pub struct NullableField<T>(pub PropertyPath, _, _)
where
T: Field;
Tuple Fields§
§0: PropertyPath
Implementations§
Source§impl<T> NullableField<T>where
T: Field,
impl<T> NullableField<T>where
T: Field,
pub fn resolve_null(self) -> Result<Option<T>, DataSetErrorWithBacktrace>
pub fn resolve_null_override( &self, ) -> Result<NullOverride, DataSetErrorWithBacktrace>
pub fn set_null_override( &self, null_override: NullOverride, ) -> Result<Option<T>, DataSetErrorWithBacktrace>
Trait Implementations§
Source§impl<T> Field for NullableField<T>where
T: Field,
impl<T> Field for NullableField<T>where
T: Field,
fn new( property_path: PropertyPath, data_container: &Rc<RefCell<Option<DataContainer>>>, ) -> NullableField<T>
Auto Trait Implementations§
impl<T> Freeze for NullableField<T>
impl<T> !RefUnwindSafe for NullableField<T>
impl<T> !Send for NullableField<T>
impl<T> !Sync for NullableField<T>
impl<T> Unpin for NullableField<T>where
T: Unpin,
impl<T> !UnwindSafe for NullableField<T>
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