pub struct ServiceTaskSpecResourcesReservationGenericResources {
pub discrete_resources_specs: Box<Option<Vec<String>>>,
pub named_resources_specs: Box<Option<Vec<String>>>,
}
Fields§
§discrete_resources_specs: Box<Option<Vec<String>>>
The Integer resources
named_resources_specs: Box<Option<Vec<String>>>
The String resources
Implementations§
source§impl ServiceTaskSpecResourcesReservationGenericResources
impl ServiceTaskSpecResourcesReservationGenericResources
sourcepub fn builder() -> ServiceTaskSpecResourcesReservationGenericResourcesBuilder
pub fn builder() -> ServiceTaskSpecResourcesReservationGenericResourcesBuilder
Create an instance of ServiceTaskSpecResourcesReservationGenericResources
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecResourcesReservationGenericResources
impl<'de> Deserialize<'de> for ServiceTaskSpecResourcesReservationGenericResources
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 ServiceTaskSpecResourcesReservationGenericResources
impl RefUnwindSafe for ServiceTaskSpecResourcesReservationGenericResources
impl Send for ServiceTaskSpecResourcesReservationGenericResources
impl Sync for ServiceTaskSpecResourcesReservationGenericResources
impl Unpin for ServiceTaskSpecResourcesReservationGenericResources
impl UnwindSafe for ServiceTaskSpecResourcesReservationGenericResources
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