pub struct ShowArgs {
pub feed_url: String,
pub id: String,
pub refresh: bool,
pub content: ContentArg,
pub max_content_chars: Option<usize>,
pub format: FormatArg,
}Fields§
§feed_url: StringFeed URL containing the item.
id: StringStable item id, raw guid, or item permalink URL (from a prior fetch). A guid is the
reliable key across different feed URLs (the id is namespaced by feed URL).
refresh: boolBypass the cache-first read and revalidate the live feed (may miss items that have rolled out of the feed window).
content: ContentArgContent extraction format.
max_content_chars: Option<usize>Truncate the item body to at most this many characters (flagged content_truncated).
format: FormatArgOutput format.
Trait Implementations§
Source§impl Args for ShowArgs
impl Args for ShowArgs
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 FromArgMatches for ShowArgs
impl FromArgMatches for ShowArgs
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 ShowArgs
impl RefUnwindSafe for ShowArgs
impl Send for ShowArgs
impl Sync for ShowArgs
impl Unpin for ShowArgs
impl UnsafeUnpin for ShowArgs
impl UnwindSafe for ShowArgs
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