pub struct ServiceTaskSpecPlacementPlatform {
pub architecture: Box<String>,
pub os: Box<String>,
}
Fields§
§architecture: Box<String>
The architecture, e.g. amd64
os: Box<String>
The operation system, e.g. linux
Implementations§
source§impl ServiceTaskSpecPlacementPlatform
impl ServiceTaskSpecPlacementPlatform
sourcepub fn builder() -> ServiceTaskSpecPlacementPlatformBuilder
pub fn builder() -> ServiceTaskSpecPlacementPlatformBuilder
Create an instance of ServiceTaskSpecPlacementPlatform
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecPlacementPlatform
impl<'de> Deserialize<'de> for ServiceTaskSpecPlacementPlatform
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 ServiceTaskSpecPlacementPlatform
impl RefUnwindSafe for ServiceTaskSpecPlacementPlatform
impl Send for ServiceTaskSpecPlacementPlatform
impl Sync for ServiceTaskSpecPlacementPlatform
impl Unpin for ServiceTaskSpecPlacementPlatform
impl UnwindSafe for ServiceTaskSpecPlacementPlatform
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