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

Fields

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

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.