Struct pulumi_wasm_docker::ContainerHost
source · pub struct ContainerHost {
pub host: Box<String>,
pub ip: Box<String>,
}
Fields§
§host: Box<String>
Hostname to add
ip: Box<String>
IP address this hostname should resolve to.
Implementations§
source§impl ContainerHost
impl ContainerHost
sourcepub fn builder() -> ContainerHostBuilder
pub fn builder() -> ContainerHostBuilder
Create an instance of ContainerHost
using the builder syntax
Trait Implementations§
source§impl Debug for ContainerHost
impl Debug for ContainerHost
source§impl<'de> Deserialize<'de> for ContainerHost
impl<'de> Deserialize<'de> for ContainerHost
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 ContainerHost
impl RefUnwindSafe for ContainerHost
impl Send for ContainerHost
impl Sync for ContainerHost
impl Unpin for ContainerHost
impl UnwindSafe for ContainerHost
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