pub struct ReviewSignArgs {
pub state: String,
pub kind: SignKindArg,
pub justification: Option<String>,
pub symbols: Vec<String>,
pub algorithm: String,
pub public_key: String,
pub signature: String,
pub signed_at_unix: i64,
}Fields§
§state: String§kind: SignKindArgReview kind.
justification: Option<String>Optional justification (unused for read/preview/co-review).
symbols: Vec<String>Optional symbol-level scope. Format: file:symbol. Repeat for
multiple. Without any, the signature covers the whole change.
algorithm: StringCryptographic algorithm. Defaults to ed25519.
public_key: StringPublic key in hex. Required.
signature: StringSignature bytes in hex. Required.
signed_at_unix: i64Unix timestamp (seconds) the client signed at. Required — the server verifies the signature over this exact timestamp and rejects values outside a small skew window.
Trait Implementations§
Source§impl Args for ReviewSignArgs
impl Args for ReviewSignArgs
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 ReviewSignArgs
impl Clone for ReviewSignArgs
Source§fn clone(&self) -> ReviewSignArgs
fn clone(&self) -> ReviewSignArgs
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 ReviewSignArgs
impl Debug for ReviewSignArgs
Source§impl FromArgMatches for ReviewSignArgs
impl FromArgMatches for ReviewSignArgs
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 ReviewSignArgs
impl RefUnwindSafe for ReviewSignArgs
impl Send for ReviewSignArgs
impl Sync for ReviewSignArgs
impl Unpin for ReviewSignArgs
impl UnsafeUnpin for ReviewSignArgs
impl UnwindSafe for ReviewSignArgs
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
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