pub struct ProstMetadata<M>(pub M);
Expand description
A utility wrapper for Prost metadata serialization.
Tuple Fields§
§0: M
Trait Implementations§
Source§impl ArrayVisitorImpl<ProstMetadata<BoolMetadata>> for BoolArray
impl ArrayVisitorImpl<ProstMetadata<BoolMetadata>> for BoolArray
fn _visit_buffers(&self, visitor: &mut dyn ArrayBufferVisitor)
fn _visit_children(&self, visitor: &mut dyn ArrayChildVisitor)
fn _metadata(&self) -> ProstMetadata<BoolMetadata>
fn _nbuffers(&self) -> usize
fn _nchildren(&self) -> usize
Source§impl ArrayVisitorImpl<ProstMetadata<DecimalMetadata>> for DecimalArray
impl ArrayVisitorImpl<ProstMetadata<DecimalMetadata>> for DecimalArray
fn _metadata(&self) -> ProstMetadata<DecimalMetadata>
fn _visit_buffers(&self, visitor: &mut dyn ArrayBufferVisitor)
fn _visit_children(&self, visitor: &mut dyn ArrayChildVisitor)
fn _nbuffers(&self) -> usize
fn _nchildren(&self) -> usize
Source§impl ArrayVisitorImpl<ProstMetadata<ListMetadata>> for ListArray
impl ArrayVisitorImpl<ProstMetadata<ListMetadata>> for ListArray
fn _visit_children(&self, visitor: &mut dyn ArrayChildVisitor)
fn _metadata(&self) -> ProstMetadata<ListMetadata>
fn _visit_buffers(&self, _visitor: &mut dyn ArrayBufferVisitor)
fn _nbuffers(&self) -> usize
fn _nchildren(&self) -> usize
Source§impl ArrayVisitorImpl<ProstMetadata<VarBinMetadata>> for VarBinArray
impl ArrayVisitorImpl<ProstMetadata<VarBinMetadata>> for VarBinArray
fn _visit_buffers(&self, visitor: &mut dyn ArrayBufferVisitor)
fn _visit_children(&self, visitor: &mut dyn ArrayChildVisitor)
fn _metadata(&self) -> ProstMetadata<VarBinMetadata>
fn _nbuffers(&self) -> usize
fn _nchildren(&self) -> usize
Source§impl<M: Debug> Debug for ProstMetadata<M>
impl<M: Debug> Debug for ProstMetadata<M>
Auto Trait Implementations§
impl<M> Freeze for ProstMetadata<M>where
M: Freeze,
impl<M> RefUnwindSafe for ProstMetadata<M>where
M: RefUnwindSafe,
impl<M> Send for ProstMetadata<M>where
M: Send,
impl<M> Sync for ProstMetadata<M>where
M: Sync,
impl<M> Unpin for ProstMetadata<M>where
M: Unpin,
impl<M> UnwindSafe for ProstMetadata<M>where
M: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more