pub struct ResourceProfileInfo {
pub executor_resources: Option<HashMap<String, ExecutorResourceRequest>>,
pub resource_profile_id: Option<i32>,
pub task_resources: Option<HashMap<String, TaskResourceRequest>>,
}Expand description
Resource profile that contains information about all the resources required by executors and tasks.
This type is not used in any activity, and only used as part of another schema.
Fields§
§executor_resources: Option<HashMap<String, ExecutorResourceRequest>>no description provided
resource_profile_id: Option<i32>no description provided
task_resources: Option<HashMap<String, TaskResourceRequest>>no description provided
Trait Implementations§
Source§impl Clone for ResourceProfileInfo
impl Clone for ResourceProfileInfo
Source§fn clone(&self) -> ResourceProfileInfo
fn clone(&self) -> ResourceProfileInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResourceProfileInfo
impl Debug for ResourceProfileInfo
Source§impl Default for ResourceProfileInfo
impl Default for ResourceProfileInfo
Source§fn default() -> ResourceProfileInfo
fn default() -> ResourceProfileInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourceProfileInfo
impl<'de> Deserialize<'de> for ResourceProfileInfo
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
Source§impl Serialize for ResourceProfileInfo
impl Serialize for ResourceProfileInfo
impl Part for ResourceProfileInfo
Auto Trait Implementations§
impl Freeze for ResourceProfileInfo
impl RefUnwindSafe for ResourceProfileInfo
impl Send for ResourceProfileInfo
impl Sync for ResourceProfileInfo
impl Unpin for ResourceProfileInfo
impl UnwindSafe for ResourceProfileInfo
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