pub struct RedactTrustAddArgs {
pub from_pem: Option<PathBuf>,
pub algorithm: Option<String>,
pub public_key: Option<String>,
pub label: Option<String>,
}Fields§
§from_pem: Option<PathBuf>Path to a PEM file (public or private key — the public half
is extracted either way). Algorithm autodetected from the PEM
header. This is the operator-friendly path: same PEM you
passed to heddle redact apply --sign-with.
algorithm: Option<String>Algorithm identifier (ed25519, rsa, p256) when supplying
the raw hex-encoded public key directly via --public-key.
public_key: Option<String>Hex-encoded raw public key bytes. Use alongside --algorithm
when the operator already has the key in hex form (e.g. from
a signed-redaction’s signature.public_key field).
label: Option<String>Optional free-text label for the trust entry ("luke-laptop",
"ci-signing"). Doesn’t affect matching semantics.
Trait Implementations§
Source§impl Args for RedactTrustAddArgs
impl Args for RedactTrustAddArgs
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 RedactTrustAddArgs
impl Clone for RedactTrustAddArgs
Source§fn clone(&self) -> RedactTrustAddArgs
fn clone(&self) -> RedactTrustAddArgs
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 RedactTrustAddArgs
impl Debug for RedactTrustAddArgs
Source§impl FromArgMatches for RedactTrustAddArgs
impl FromArgMatches for RedactTrustAddArgs
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 RedactTrustAddArgs
impl RefUnwindSafe for RedactTrustAddArgs
impl Send for RedactTrustAddArgs
impl Sync for RedactTrustAddArgs
impl Unpin for RedactTrustAddArgs
impl UnsafeUnpin for RedactTrustAddArgs
impl UnwindSafe for RedactTrustAddArgs
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