pub struct NetdevUserOptions {
Show 22 fields pub ipv6_prefixlen: Option<isize>, pub ipv6_host: Option<String>, pub bootfile: Option<String>, pub ipv6_prefix: Option<String>, pub dns: Option<String>, pub hostname: Option<String>, pub ipv4: Option<bool>, pub restrict: Option<bool>, pub host: Option<String>, pub ipv6_dns: Option<String>, pub smb: Option<String>, pub smbserver: Option<String>, pub ip: Option<String>, pub tftp: Option<String>, pub domainname: Option<String>, pub guestfwd: Option<Vec<String>>, pub tftp_server_name: Option<String>, pub net: Option<String>, pub dhcpstart: Option<String>, pub dnssearch: Option<Vec<String>>, pub ipv6: Option<bool>, pub hostfwd: Option<Vec<String>>,
}

Fields§

§ipv6_prefixlen: Option<isize>§ipv6_host: Option<String>§bootfile: Option<String>§ipv6_prefix: Option<String>§dns: Option<String>§hostname: Option<String>§ipv4: Option<bool>§restrict: Option<bool>§host: Option<String>§ipv6_dns: Option<String>§smb: Option<String>§smbserver: Option<String>§ip: Option<String>§tftp: Option<String>§domainname: Option<String>§guestfwd: Option<Vec<String>>§tftp_server_name: Option<String>§net: Option<String>§dhcpstart: Option<String>§dnssearch: Option<Vec<String>>§ipv6: Option<bool>§hostfwd: Option<Vec<String>>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.