[−][src]Struct enqueuemail::Options
Options contains the CLI available options offered to the binary tool.
This struct maps all the options that are available to the CLI user.
of the binary enqueue-email
.
Fields
url: Option<String>
The URL to bookmark and enqueue. This excludes scheme, host, port and domain. This option has the priority over the Clipboard.
clipboard: bool
Use the URL currently on the top of the Clipboard. This option disables all the other defined options.
host: Option<String>
The host to connect to.
port: u16
The port to connect to.
scheme: String
The scheme protocol of the URI.
path: String
The path component in the URI. This follows the definitions of RFC2396 and RFC3986 (https://en.wikipedia.org/wiki/Uniform_Resource_Identifier).
query: Option<String>
An optional query component preceded by a question mark (?), containing a query string of non-hierarchical data.
fragment: Option<String>
An optional fragment component preceded by a hash (#).
domain: Option<String>
The domain to connect to. This may be different from the host!
cafile: Option<PathBuf>
A file with a certificate authority chain, allows to connect to certificate authories not included in the default set.
run: bool
Run msmt-queue and flush all mail currently in queue. This wraps the command 'msmtp-queue -r'.
Trait Implementations
impl Debug for Options
[src]
impl StructOpt for Options
[src]
fn clap<'a, 'b>() -> App<'a, 'b>
[src]
fn from_clap(matches: &ArgMatches<'_>) -> Self
[src]
fn from_args() -> Self
[src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
impl StructOptInternal for Options
[src]
fn augment_clap<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b>
[src]
fn is_subcommand() -> bool
[src]
fn from_subcommand(_sub: (&'b str, Option<&'b ArgMatches<'a>>)) -> Option<Self>
[src]
impl<'_> TryFrom<&'_ Options> for Parts
[src]
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,