pub struct MatrixTaskSpec {
pub id: String,
pub instructions: String,
pub dependencies: Vec<String>,
pub workspace: String,
pub access: WorkspaceAccess,
pub checks: Vec<String>,
pub resources: BTreeMap<String, u32>,
pub timeout_secs: u64,
pub replay_safe: bool,
pub inputs: Vec<String>,
}Fields§
§id: String§instructions: String§dependencies: Vec<String>§workspace: String§access: WorkspaceAccess§checks: Vec<String>§resources: BTreeMap<String, u32>§timeout_secs: u64§replay_safe: bool§inputs: Vec<String>Trait Implementations§
Source§impl Clone for MatrixTaskSpec
impl Clone for MatrixTaskSpec
Source§impl Debug for MatrixTaskSpec
impl Debug for MatrixTaskSpec
Source§impl<'de> Deserialize<'de> for MatrixTaskSpec
impl<'de> Deserialize<'de> for MatrixTaskSpec
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
impl Eq for MatrixTaskSpec
Source§impl JsonSchema for MatrixTaskSpec
impl JsonSchema for MatrixTaskSpec
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MatrixTaskSpec
impl PartialEq for MatrixTaskSpec
Source§impl Serialize for MatrixTaskSpec
impl Serialize for MatrixTaskSpec
impl StructuralPartialEq for MatrixTaskSpec
Auto Trait Implementations§
impl Freeze for MatrixTaskSpec
impl RefUnwindSafe for MatrixTaskSpec
impl Send for MatrixTaskSpec
impl Sync for MatrixTaskSpec
impl Unpin for MatrixTaskSpec
impl UnsafeUnpin for MatrixTaskSpec
impl UnwindSafe for MatrixTaskSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.