pub struct TaskManifestMeta { /* private fields */ }Expand description
User-owned metadata accepted in a TaskManifest.
Runtime identity, resource version, generation, creation time and status are deliberately absent because the state store owns them.
Implementations§
Source§impl TaskManifestMeta
impl TaskManifestMeta
Sourcepub fn new(name: impl AsRef<str>) -> ModelResult<Self>
pub fn new(name: impl AsRef<str>) -> ModelResult<Self>
Sourcepub fn annotations(&self) -> &Annotations
pub fn annotations(&self) -> &Annotations
Free-form metadata.
Trait Implementations§
Source§impl Clone for TaskManifestMeta
impl Clone for TaskManifestMeta
Source§fn clone(&self) -> TaskManifestMeta
fn clone(&self) -> TaskManifestMeta
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 TaskManifestMeta
impl Debug for TaskManifestMeta
Source§impl<'de> Deserialize<'de> for TaskManifestMeta
impl<'de> Deserialize<'de> for TaskManifestMeta
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 TaskManifestMeta
Source§impl JsonSchema for TaskManifestMeta
impl JsonSchema for TaskManifestMeta
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 TaskManifestMeta
impl PartialEq for TaskManifestMeta
Source§impl Serialize for TaskManifestMeta
impl Serialize for TaskManifestMeta
impl StructuralPartialEq for TaskManifestMeta
Auto Trait Implementations§
impl Freeze for TaskManifestMeta
impl RefUnwindSafe for TaskManifestMeta
impl Send for TaskManifestMeta
impl Sync for TaskManifestMeta
impl Unpin for TaskManifestMeta
impl UnsafeUnpin for TaskManifestMeta
impl UnwindSafe for TaskManifestMeta
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