pub struct RegisteredFlag {
pub name: String,
pub description: String,
}Expand description
A CLI flag declared by a native extension. Values are supplied by the
host’s parsed Args::unknown_flags map and read by the plugin through the
RuntimeActionId::GetCliFlag action.
Fields§
§name: String§description: StringTrait Implementations§
Source§impl Clone for RegisteredFlag
impl Clone for RegisteredFlag
Source§impl Debug for RegisteredFlag
impl Debug for RegisteredFlag
impl Eq for RegisteredFlag
Source§impl PartialEq for RegisteredFlag
impl PartialEq for RegisteredFlag
impl StructuralPartialEq for RegisteredFlag
Auto Trait Implementations§
impl Freeze for RegisteredFlag
impl RefUnwindSafe for RegisteredFlag
impl Send for RegisteredFlag
impl Sync for RegisteredFlag
impl Unpin for RegisteredFlag
impl UnsafeUnpin for RegisteredFlag
impl UnwindSafe for RegisteredFlag
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.