Struct hydrate_data::BooleanField
source · pub struct BooleanField(pub PropertyPath, _);Tuple Fields§
§0: PropertyPathImplementations§
source§impl BooleanField
impl BooleanField
pub fn get(&self) -> DataSetResult<bool>
pub fn set(&self, value: bool) -> DataSetResult<Option<Value>>
Trait Implementations§
source§impl Field for BooleanField
impl Field for BooleanField
fn new( property_path: PropertyPath, data_container: &Rc<RefCell<Option<DataContainer>>> ) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for BooleanField
impl !Send for BooleanField
impl !Sync for BooleanField
impl Unpin for BooleanField
impl !UnwindSafe for BooleanField
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