pub struct MmdsConfig {
pub ipv4_address: Option<String>,
pub network_interfaces: Vec<String>,
pub version: Option<String>,
}
Expand description
Configures the Microvm Metadata Service (MMDS), which provides a way for the guest to securely access metadata and user data. This is similar to AWS EC2’s instance metadata service.
Fields§
§ipv4_address: Option<String>
IPv4 address for the MMDS
network_interfaces: Vec<String>
List of network interfaces for MMDS
version: Option<String>
Version of the MMDS
Trait Implementations§
Source§impl Debug for MmdsConfig
impl Debug for MmdsConfig
Source§impl Default for MmdsConfig
impl Default for MmdsConfig
Source§fn default() -> MmdsConfig
fn default() -> MmdsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MmdsConfig
impl<'de> Deserialize<'de> for MmdsConfig
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
Auto Trait Implementations§
impl Freeze for MmdsConfig
impl RefUnwindSafe for MmdsConfig
impl Send for MmdsConfig
impl Sync for MmdsConfig
impl Unpin for MmdsConfig
impl UnwindSafe for MmdsConfig
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