pub enum PurgeCommands {
Apply(PurgeApplyArgs),
List(PurgeListArgs),
}Variants§
Apply(PurgeApplyArgs)
Physically remove the blob bytes referenced by an existing redaction. Refuses if no redaction declared the blob first.
Workspace-owner capability today; the surface is documented in
the build brief at .agents/redaction-primitive.md. The
capability check is a TODO until Biscuit wiring lands; for now
--force is the explicit confirmation step.
List(PurgeListArgs)
List every Purge oplog entry — who removed bytes, when, and
which redaction the purge acted on.
Trait Implementations§
Source§impl Clone for PurgeCommands
impl Clone for PurgeCommands
Source§fn clone(&self) -> PurgeCommands
fn clone(&self) -> PurgeCommands
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 PurgeCommands
impl Debug for PurgeCommands
Source§impl FromArgMatches for PurgeCommands
impl FromArgMatches for PurgeCommands
Source§fn from_arg_matches(
__clap_arg_matches: &ArgMatches,
) -> Result<PurgeCommands, Error>
fn from_arg_matches( __clap_arg_matches: &ArgMatches, ) -> Result<PurgeCommands, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<PurgeCommands, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<PurgeCommands, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for PurgeCommands
impl Subcommand for PurgeCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for PurgeCommands
impl RefUnwindSafe for PurgeCommands
impl Send for PurgeCommands
impl Sync for PurgeCommands
impl Unpin for PurgeCommands
impl UnsafeUnpin for PurgeCommands
impl UnwindSafe for PurgeCommands
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request