pub struct RedactApplyArgs {
pub state: String,
pub path: String,
pub reason: String,
pub all_states: bool,
pub sign_with: Option<PathBuf>,
pub sign_algo: Option<String>,
}Fields§
§state: StringState that surfaces the file. Accepts short or full state IDs,
marker names, HEAD, @, or HEAD~N.
path: StringPath within the state’s tree.
reason: StringOperator-supplied reason. Lands in the materialized stub so reviewers know why content disappeared.
all_states: boolWalk every reachable state and redact every occurrence of the same blob hash. Default: just the named state.
sign_with: Option<PathBuf>Path to a private key (PEM) used to sign the redaction. The
signature binds operator → declaration; auditors can verify
who hid what when with heddle redact show.
sign_algo: Option<String>Override the signing algorithm. Defaults to autodetect from the
key file’s PEM header. Accepts ed25519, p256.
Trait Implementations§
Source§impl Args for RedactApplyArgs
impl Args for RedactApplyArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for RedactApplyArgs
impl Clone for RedactApplyArgs
Source§fn clone(&self) -> RedactApplyArgs
fn clone(&self) -> RedactApplyArgs
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 RedactApplyArgs
impl Debug for RedactApplyArgs
Source§impl FromArgMatches for RedactApplyArgs
impl FromArgMatches for RedactApplyArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, 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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for RedactApplyArgs
impl RefUnwindSafe for RedactApplyArgs
impl Send for RedactApplyArgs
impl Sync for RedactApplyArgs
impl Unpin for RedactApplyArgs
impl UnsafeUnpin for RedactApplyArgs
impl UnwindSafe for RedactApplyArgs
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