pub struct EndpointArgs {
pub from_kel: PathBuf,
pub scheme: String,
pub authority: String,
pub url: Option<String>,
pub dt: String,
}Expand description
auths oobi endpoint — serve an AID’s introduction.
Fields§
§from_kel: PathBufReplay this KEL and serve its controller as a discoverable AID.
scheme: StringURL scheme to publish the endpoint under (http/https/tcp).
Network authority (host[:port]) hosting the endpoint — the part of the
OOBI URL before /oobi.
url: Option<String>Absolute endpoint URL embedded in the /loc/scheme reply. Defaults to
<scheme>://<authority>/ when omitted.
dt: StringTimestamp (RFC 3339) to stamp the rpy replies with. Defaults to the
epoch so output stays deterministic; pass the real now to publish.
Trait Implementations§
Source§impl Args for EndpointArgs
impl Args for EndpointArgs
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 EndpointArgs
impl Clone for EndpointArgs
Source§fn clone(&self) -> EndpointArgs
fn clone(&self) -> EndpointArgs
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 CommandFactory for EndpointArgs
impl CommandFactory for EndpointArgs
Source§impl Debug for EndpointArgs
impl Debug for EndpointArgs
Source§impl FromArgMatches for EndpointArgs
impl FromArgMatches for EndpointArgs
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 EndpointArgs
impl Parser for EndpointArgs
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 EndpointArgs
impl RefUnwindSafe for EndpointArgs
impl Send for EndpointArgs
impl Sync for EndpointArgs
impl Unpin for EndpointArgs
impl UnsafeUnpin for EndpointArgs
impl UnwindSafe for EndpointArgs
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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