pub struct ServiceTaskSpecContainerSpecHost {
pub host: Box<String>,
pub ip: Box<String>,
}
Fields§
§host: Box<String>
The name of the host
ip: Box<String>
The ip of the host
Implementations§
source§impl ServiceTaskSpecContainerSpecHost
impl ServiceTaskSpecContainerSpecHost
sourcepub fn builder() -> ServiceTaskSpecContainerSpecHostBuilder
pub fn builder() -> ServiceTaskSpecContainerSpecHostBuilder
Create an instance of ServiceTaskSpecContainerSpecHost
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecHost
impl<'de> Deserialize<'de> for ServiceTaskSpecContainerSpecHost
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 ServiceTaskSpecContainerSpecHost
impl RefUnwindSafe for ServiceTaskSpecContainerSpecHost
impl Send for ServiceTaskSpecContainerSpecHost
impl Sync for ServiceTaskSpecContainerSpecHost
impl Unpin for ServiceTaskSpecContainerSpecHost
impl UnwindSafe for ServiceTaskSpecContainerSpecHost
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