pub struct ValidSortByParse;Trait Implementations§
Source§impl Clone for ValidSortByParse
impl Clone for ValidSortByParse
Source§fn clone(&self) -> ValidSortByParse
fn clone(&self) -> ValidSortByParse
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 ValidSortByParse
impl Debug for ValidSortByParse
Source§impl ParseFromFlags for ValidSortByParse
impl ParseFromFlags for ValidSortByParse
Source§type Config = ValidSortByConfig
type Config = ValidSortByConfig
Typ konfiguracji, który zostanie zwrócony
Source§fn parse(s: &str) -> Result<Self, String>
fn parse(s: &str) -> Result<Self, String>
Parsuje pojedynczego stringa (flagę CLI) na wariant Enuma.
Zwraca Result, aby umożliwić obsługę lub zignorowanie nieznanych flag.
Source§fn parse_vec_as_config<I>(inputs: I) -> Self::Config
fn parse_vec_as_config<I>(inputs: I) -> Self::Config
Przetwarza wektor stringów (flag) na zwalidowaną strukturę konfiguracyjną
Auto Trait Implementations§
impl Freeze for ValidSortByParse
impl RefUnwindSafe for ValidSortByParse
impl Send for ValidSortByParse
impl Sync for ValidSortByParse
impl Unpin for ValidSortByParse
impl UnsafeUnpin for ValidSortByParse
impl UnwindSafe for ValidSortByParse
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