pub struct StringFieldAccessor(pub PropertyPath);
Tuple Fields§
§0: PropertyPath
Implementations§
Source§impl StringFieldAccessor
impl StringFieldAccessor
pub fn get( &self, data_container: DataContainerRef<'_>, ) -> Result<Arc<String>, DataSetErrorWithBacktrace>
pub fn set<'a, T>( &self, data_container: &'a mut DataContainerRefMut<'_>, value: T, ) -> Result<Option<Value>, DataSetErrorWithBacktrace>
Trait Implementations§
Source§impl FieldAccessor for StringFieldAccessor
impl FieldAccessor for StringFieldAccessor
fn new(property_path: PropertyPath) -> StringFieldAccessor
Auto Trait Implementations§
impl Freeze for StringFieldAccessor
impl RefUnwindSafe for StringFieldAccessor
impl Send for StringFieldAccessor
impl Sync for StringFieldAccessor
impl Unpin for StringFieldAccessor
impl UnwindSafe for StringFieldAccessor
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