pub enum Status {
Get {
id: String,
},
GetAll,
Create {
emoji: String,
content: String,
external_url: String,
},
EasyCreate {
status: String,
},
Update {
id: String,
emoji: String,
content: String,
},
GetBio,
SetBio {
content: String,
},
GetAllHistorical,
Timeline,
}Variants§
Get
Get a single statuslog entry for an omg.lol address
GetAll
Get entire statuslog for an omg.lol address
Create
Create a new statuslog entry for an omg.lol address
Fields
EasyCreate
Create a new statuslog entry for an omg.lol address from a single string
Update
Update the content of an existing statuslog entry for an omg.lol address
Fields
GetBio
Get a statuslog bio
SetBio
Update a statuslog bio
GetAllHistorical
Get all statuslog entries for all addresses
Timeline
Get the most recent statuslog entries across omg.lol
Implementations§
Trait Implementations§
Source§impl FromArgMatches for Status
impl FromArgMatches for Status
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for Status
impl Subcommand for Status
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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