Struct wasmer_deploy_schema::schema::WorkloadV2
source · pub struct WorkloadV2 {
pub source: StringWebcPackageIdent,
}Expand description
Spawn a new workload on demand.
Fields§
§source: StringWebcPackageIdentTrait Implementations§
source§impl Clone for WorkloadV2
impl Clone for WorkloadV2
source§fn clone(&self) -> WorkloadV2
fn clone(&self) -> WorkloadV2
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 WorkloadV2
impl Debug for WorkloadV2
source§impl<'de> Deserialize<'de> for WorkloadV2
impl<'de> Deserialize<'de> for WorkloadV2
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 JsonSchema for WorkloadV2
impl JsonSchema for WorkloadV2
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq<WorkloadV2> for WorkloadV2
impl PartialEq<WorkloadV2> for WorkloadV2
source§fn eq(&self, other: &WorkloadV2) -> bool
fn eq(&self, other: &WorkloadV2) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WorkloadV2
impl Serialize for WorkloadV2
impl Eq for WorkloadV2
impl StructuralEq for WorkloadV2
impl StructuralPartialEq for WorkloadV2
Auto Trait Implementations§
impl RefUnwindSafe for WorkloadV2
impl Send for WorkloadV2
impl Sync for WorkloadV2
impl Unpin for WorkloadV2
impl UnwindSafe for WorkloadV2
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.