pub struct OrphanSweepConfig {
pub subject_id_allowlist: Option<Vec<Uuid>>,
pub namespaces: Vec<String>,
pub substrate_kinds: Vec<SubstrateKind>,
pub max_delete: u32,
pub dry_run: bool,
}Expand description
Configuration for a vector orphan-sweep pass.
Fields§
§subject_id_allowlist: Option<Vec<Uuid>>Optional allowlist of subject IDs to check. None = scan all rows.
Some(ids) restricts the sweep to only those IDs; rows not in the list
are untouched even if orphaned.
namespaces: Vec<String>§substrate_kinds: Vec<SubstrateKind>§max_delete: u32§dry_run: boolTrait Implementations§
Source§impl Clone for OrphanSweepConfig
impl Clone for OrphanSweepConfig
Source§fn clone(&self) -> OrphanSweepConfig
fn clone(&self) -> OrphanSweepConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrphanSweepConfig
impl Debug for OrphanSweepConfig
Source§impl<'de> Deserialize<'de> for OrphanSweepConfig
impl<'de> Deserialize<'de> for OrphanSweepConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OrphanSweepConfig
impl RefUnwindSafe for OrphanSweepConfig
impl Send for OrphanSweepConfig
impl Sync for OrphanSweepConfig
impl Unpin for OrphanSweepConfig
impl UnsafeUnpin for OrphanSweepConfig
impl UnwindSafe for OrphanSweepConfig
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