pub struct EmbeddedSpec { /* private fields */ }Expand description
Desired state of an embedded task implementation.
The revision participates in desired-state comparison. The runtime task handle is supplied separately by a higher layer.
Implementations§
Source§impl EmbeddedSpec
impl EmbeddedSpec
Sourcepub fn new(revision: impl Into<String>) -> ModelResult<Self>
pub fn new(revision: impl Into<String>) -> ModelResult<Self>
Trait Implementations§
Source§impl Clone for EmbeddedSpec
impl Clone for EmbeddedSpec
Source§fn clone(&self) -> EmbeddedSpec
fn clone(&self) -> EmbeddedSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmbeddedSpec
impl Debug for EmbeddedSpec
Source§impl<'de> Deserialize<'de> for EmbeddedSpec
impl<'de> Deserialize<'de> for EmbeddedSpec
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 EmbeddedSpec
Source§impl JsonSchema for EmbeddedSpec
impl JsonSchema for EmbeddedSpec
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 EmbeddedSpec
impl PartialEq for EmbeddedSpec
Source§impl Serialize for EmbeddedSpec
impl Serialize for EmbeddedSpec
impl StructuralPartialEq for EmbeddedSpec
Auto Trait Implementations§
impl Freeze for EmbeddedSpec
impl RefUnwindSafe for EmbeddedSpec
impl Send for EmbeddedSpec
impl Sync for EmbeddedSpec
impl Unpin for EmbeddedSpec
impl UnsafeUnpin for EmbeddedSpec
impl UnwindSafe for EmbeddedSpec
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