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