Struct wasmer_deploy_schema::schema::EntityUri
source · pub struct EntityUri { /* private fields */ }Expand description
Represents an entity URI.
Must start with the [EntityKind], followed by a colon (:) and the path to
the entity.
The path may either be just a name, which must refer to an entity in the same scope, a full path to the entity, separated by slashes, or just a UUID.
Example: my.namespace/MyEntityKind.v1:my-entity-name Example: my.namespace/MyEntityKind.v1:parent/middleman/my-entity-name Example: my.namespace/MyEntityKind.v1:parent/middleman/my-entity-name
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for EntityUri
impl<'de> Deserialize<'de> for EntityUri
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for EntityUri
impl JsonSchema for EntityUri
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<EntityUri> for EntityUri
impl PartialEq<EntityUri> for EntityUri
impl Eq for EntityUri
impl StructuralEq for EntityUri
impl StructuralPartialEq for EntityUri
Auto Trait Implementations§
impl RefUnwindSafe for EntityUri
impl Send for EntityUri
impl Sync for EntityUri
impl Unpin for EntityUri
impl UnwindSafe for EntityUri
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.