pub struct AddAccountArgs {
pub alias: String,
pub api_key: String,
pub label: Option<String>,
pub email: Option<String>,
pub description: Option<String>,
}Fields§
§alias: StringAlias used to reference this account.
api_key: StringAPI key associated with the Plausible account.
label: Option<String>Optional friendly label.
email: Option<String>Optional contact email.
description: Option<String>Optional description for humans/LLMs.
Trait Implementations§
Source§impl Args for AddAccountArgs
impl Args for AddAccountArgs
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 AddAccountArgs
impl Clone for AddAccountArgs
Source§fn clone(&self) -> AddAccountArgs
fn clone(&self) -> AddAccountArgs
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 Debug for AddAccountArgs
impl Debug for AddAccountArgs
Source§impl Default for AddAccountArgs
impl Default for AddAccountArgs
Source§fn default() -> AddAccountArgs
fn default() -> AddAccountArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for AddAccountArgs
impl FromArgMatches for AddAccountArgs
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 AddAccountArgs
impl RefUnwindSafe for AddAccountArgs
impl Send for AddAccountArgs
impl Sync for AddAccountArgs
impl Unpin for AddAccountArgs
impl UnwindSafe for AddAccountArgs
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