pub struct NetworkBoot {
pub tftp_root: Option<String>,
pub file: Option<String>,
pub server: Option<String>,
}Expand description
A network boot: what the network’s DHCP and TFTP server hand a booting machine.
Fields§
§tftp_root: Option<String>The folder the network’s TFTP server serves, on the hypervisor’s host.
file: Option<String>The boot file DHCP hands out (pxelinux.0), from the TFTP folder.
server: Option<String>The address of the TFTP server holding file, when it isn’t the host’s own.
Trait Implementations§
Source§impl Clone for NetworkBoot
impl Clone for NetworkBoot
Source§impl Debug for NetworkBoot
impl Debug for NetworkBoot
Source§impl Default for NetworkBoot
impl Default for NetworkBoot
Source§impl<'de> Deserialize<'de> for NetworkBoot
impl<'de> Deserialize<'de> for NetworkBoot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NetworkBoot
Source§impl JsonSchema for NetworkBoot
impl JsonSchema for NetworkBoot
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for NetworkBoot
impl PartialEq for NetworkBoot
Source§impl Serialize for NetworkBoot
impl Serialize for NetworkBoot
impl StructuralPartialEq for NetworkBoot
Auto Trait Implementations§
impl Freeze for NetworkBoot
impl RefUnwindSafe for NetworkBoot
impl Send for NetworkBoot
impl Sync for NetworkBoot
impl Unpin for NetworkBoot
impl UnsafeUnpin for NetworkBoot
impl UnwindSafe for NetworkBoot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.