pub struct CurateScope {
pub origin: Option<String>,
pub skill_name: Option<String>,
pub dry_run: bool,
}Expand description
Scope for a single Curate run — allows limiting governance to a subset of chunks.
Fields§
§origin: Option<String>If set, only process chunks with this origin (e.g. “distilled”).
skill_name: Option<String>If set, only process chunks belonging to this skill.
dry_run: boolWhen true, compute the report but do not write any changes.
Trait Implementations§
Source§impl Clone for CurateScope
impl Clone for CurateScope
Source§fn clone(&self) -> CurateScope
fn clone(&self) -> CurateScope
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 CurateScope
impl Debug for CurateScope
Source§impl Default for CurateScope
impl Default for CurateScope
Source§fn default() -> CurateScope
fn default() -> CurateScope
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CurateScope
impl RefUnwindSafe for CurateScope
impl Send for CurateScope
impl Sync for CurateScope
impl Unpin for CurateScope
impl UnsafeUnpin for CurateScope
impl UnwindSafe for CurateScope
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