Struct hydrate_pipeline::BytesFieldAccessor
source · 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 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