#[non_exhaustive]pub struct PipelineTaskExecutorDetail {
pub details: Option<Details>,
/* private fields */
}Expand description
The runtime detail of a pipeline executor.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.details: Option<Details>Implementations§
Source§impl PipelineTaskExecutorDetail
impl PipelineTaskExecutorDetail
pub fn new() -> Self
Sourcepub fn set_details<T: Into<Option<Details>>>(self, v: T) -> Self
pub fn set_details<T: Into<Option<Details>>>(self, v: T) -> Self
Sets the value of details.
Note that all the setters affecting details are mutually
exclusive.
Sourcepub fn container_detail(&self) -> Option<&Box<ContainerDetail>>
pub fn container_detail(&self) -> Option<&Box<ContainerDetail>>
The value of details
if it holds a ContainerDetail, None if the field is not set or
holds a different branch.
Sourcepub fn set_container_detail<T: Into<Box<ContainerDetail>>>(self, v: T) -> Self
pub fn set_container_detail<T: Into<Box<ContainerDetail>>>(self, v: T) -> Self
Sets the value of details
to hold a ContainerDetail.
Note that all the setters affecting details are
mutually exclusive.
Sourcepub fn custom_job_detail(&self) -> Option<&Box<CustomJobDetail>>
pub fn custom_job_detail(&self) -> Option<&Box<CustomJobDetail>>
The value of details
if it holds a CustomJobDetail, None if the field is not set or
holds a different branch.
Sourcepub fn set_custom_job_detail<T: Into<Box<CustomJobDetail>>>(self, v: T) -> Self
pub fn set_custom_job_detail<T: Into<Box<CustomJobDetail>>>(self, v: T) -> Self
Sets the value of details
to hold a CustomJobDetail.
Note that all the setters affecting details are
mutually exclusive.
Trait Implementations§
Source§impl Clone for PipelineTaskExecutorDetail
impl Clone for PipelineTaskExecutorDetail
Source§fn clone(&self) -> PipelineTaskExecutorDetail
fn clone(&self) -> PipelineTaskExecutorDetail
Returns a copy 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 PipelineTaskExecutorDetail
impl Debug for PipelineTaskExecutorDetail
Source§impl Default for PipelineTaskExecutorDetail
impl Default for PipelineTaskExecutorDetail
Source§fn default() -> PipelineTaskExecutorDetail
fn default() -> PipelineTaskExecutorDetail
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PipelineTaskExecutorDetailwhere
PipelineTaskExecutorDetail: Default,
impl<'de> Deserialize<'de> for PipelineTaskExecutorDetailwhere
PipelineTaskExecutorDetail: Default,
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 Message for PipelineTaskExecutorDetail
impl Message for PipelineTaskExecutorDetail
impl StructuralPartialEq for PipelineTaskExecutorDetail
Auto Trait Implementations§
impl Freeze for PipelineTaskExecutorDetail
impl RefUnwindSafe for PipelineTaskExecutorDetail
impl Send for PipelineTaskExecutorDetail
impl Sync for PipelineTaskExecutorDetail
impl Unpin for PipelineTaskExecutorDetail
impl UnwindSafe for PipelineTaskExecutorDetail
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