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

Fields

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

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

Returns the “default value” for a type. 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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.