pub struct Manual {
pub name: String,
pub synopsis: String,
pub description: String,
pub commandline_options: IndexMap<String, String>,
pub signals: IndexMap<String, String>,
pub files: IndexMap<String, String>,
pub config_options: IndexMap<String, ConfigOption>,
pub man_commit: Option<String>,
pub stem_commit: Option<String>,
pub schema: Option<i64>,
}Fields§
§name: String§synopsis: String§description: String§commandline_options: IndexMap<String, String>§signals: IndexMap<String, String>§files: IndexMap<String, String>§config_options: IndexMap<String, ConfigOption>§man_commit: Option<String>§stem_commit: Option<String>§schema: Option<i64>Implementations§
Source§impl Manual
impl Manual
pub fn from_cache(path: Option<&Path>) -> Result<Self>
pub fn from_man(man_path: &str) -> Result<Self>
pub async fn from_remote(timeout: Duration) -> Result<Self>
pub async fn from_url(url: &str, timeout: Duration) -> Result<Self>
pub fn save(&self, path: &Path) -> Result<()>
Trait Implementations§
impl Eq for Manual
impl StructuralPartialEq for Manual
Auto Trait Implementations§
impl Freeze for Manual
impl RefUnwindSafe for Manual
impl Send for Manual
impl Sync for Manual
impl Unpin for Manual
impl UnsafeUnpin for Manual
impl UnwindSafe for Manual
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.