pub struct NullableField<T: Field>(pub PropertyPath, _, _);Tuple Fields§
§0: PropertyPathImplementations§
Source§impl<T: Field> NullableField<T>
impl<T: Field> NullableField<T>
pub fn resolve_null(self) -> DataSetResult<Option<T>>
pub fn resolve_null_override(&self) -> DataSetResult<NullOverride>
pub fn set_null_override( &self, null_override: NullOverride, ) -> DataSetResult<Option<T>>
Trait Implementations§
Source§impl<T: Field> Field for NullableField<T>
impl<T: Field> Field for NullableField<T>
fn new( property_path: PropertyPath, data_container: &Rc<RefCell<Option<DataContainer>>>, ) -> Self
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