pub struct OutcomeSchemaId(pub String);Expand description
Opaque identifier for an outcome-schema artifact.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for OutcomeSchemaId
impl AsRef<str> for OutcomeSchemaId
Source§impl Clone for OutcomeSchemaId
impl Clone for OutcomeSchemaId
Source§fn clone(&self) -> OutcomeSchemaId
fn clone(&self) -> OutcomeSchemaId
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 OutcomeSchemaId
impl Debug for OutcomeSchemaId
Source§impl<'de> Deserialize<'de> for OutcomeSchemaId
impl<'de> Deserialize<'de> for OutcomeSchemaId
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 Display for OutcomeSchemaId
impl Display for OutcomeSchemaId
Source§impl From<&str> for OutcomeSchemaId
impl From<&str> for OutcomeSchemaId
Source§impl From<String> for OutcomeSchemaId
impl From<String> for OutcomeSchemaId
Source§impl FromStr for OutcomeSchemaId
impl FromStr for OutcomeSchemaId
Source§impl Hash for OutcomeSchemaId
impl Hash for OutcomeSchemaId
Source§impl JsonSchema for OutcomeSchemaId
impl JsonSchema for OutcomeSchemaId
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§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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§impl Ord for OutcomeSchemaId
impl Ord for OutcomeSchemaId
Source§fn cmp(&self, other: &OutcomeSchemaId) -> Ordering
fn cmp(&self, other: &OutcomeSchemaId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OutcomeSchemaId
impl PartialEq for OutcomeSchemaId
Source§fn eq(&self, other: &OutcomeSchemaId) -> bool
fn eq(&self, other: &OutcomeSchemaId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OutcomeSchemaId
impl PartialOrd for OutcomeSchemaId
Source§impl Serialize for OutcomeSchemaId
impl Serialize for OutcomeSchemaId
impl Eq for OutcomeSchemaId
impl StructuralPartialEq for OutcomeSchemaId
Auto Trait Implementations§
impl Freeze for OutcomeSchemaId
impl RefUnwindSafe for OutcomeSchemaId
impl Send for OutcomeSchemaId
impl Sync for OutcomeSchemaId
impl Unpin for OutcomeSchemaId
impl UnsafeUnpin for OutcomeSchemaId
impl UnwindSafe for OutcomeSchemaId
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