pub struct PruneConfig {
pub keep_fields: Option<Vec<String>>,
}Expand description
Configuration for build-time record pruning.
Fields§
§keep_fields: Option<Vec<String>>Optional dot-separated field paths to retain (e.g. ["country.iso_code", "location", "city.name"]).
When None, all fields are retained.
Implementations§
Trait Implementations§
Source§impl Clone for PruneConfig
impl Clone for PruneConfig
Source§impl Debug for PruneConfig
impl Debug for PruneConfig
Auto Trait Implementations§
impl Forget for PruneConfig
impl Freeze for PruneConfig
impl Move for PruneConfig
impl RefUnwindSafe for PruneConfig
impl Send for PruneConfigwhere
RawVecInner: Send,
impl Sync for PruneConfigwhere
RawVecInner: Sync,
impl Unpin for PruneConfig
impl UnsafeUnpin for PruneConfig
impl UnwindSafe for PruneConfigwhere
RawVecInner: 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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