pub struct TrustPinCommand {
pub did: String,
pub key: String,
pub kel_tip: Option<String>,
pub note: Option<String>,
}Expand description
Manually pin an identity as trusted.
Fields§
§did: StringThe DID of the identity to pin (e.g., did:keri:E…).
key: StringThe public key in hex format (64 chars for Ed25519).
kel_tip: Option<String>Optional KEL tip SAID for rotation tracking.
note: Option<String>Optional note about this identity.
Trait Implementations§
Source§impl Args for TrustPinCommand
impl Args for TrustPinCommand
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 TrustPinCommand
impl Clone for TrustPinCommand
Source§fn clone(&self) -> TrustPinCommand
fn clone(&self) -> TrustPinCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandFactory for TrustPinCommand
impl CommandFactory for TrustPinCommand
Source§impl Debug for TrustPinCommand
impl Debug for TrustPinCommand
Source§impl FromArgMatches for TrustPinCommand
impl FromArgMatches for TrustPinCommand
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.Source§impl Parser for TrustPinCommand
impl Parser for TrustPinCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for TrustPinCommand
impl RefUnwindSafe for TrustPinCommand
impl Send for TrustPinCommand
impl Sync for TrustPinCommand
impl Unpin for TrustPinCommand
impl UnsafeUnpin for TrustPinCommand
impl UnwindSafe for TrustPinCommand
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