Struct mathml::acset::RegTransition
source · pub struct RegTransition {
pub id: String,
pub source: Option<String>,
pub target: Option<String>,
pub sign: Option<bool>,
pub grounding: Option<Grounding>,
pub properties: Option<Properties>,
}
Fields§
§id: String
§source: Option<String>
Note: source is a required field in the schema, but we make it optional since we want to reuse this schema for partial extractions as well.
target: Option<String>
Note: target is a required field in the schema, but we make it optional since we want to reuse this schema for partial extractions as well.
sign: Option<bool>
§grounding: Option<Grounding>
§properties: Option<Properties>
Trait Implementations§
source§impl Clone for RegTransition
impl Clone for RegTransition
source§fn clone(&self) -> RegTransition
fn clone(&self) -> RegTransition
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 RegTransition
impl Debug for RegTransition
source§impl Default for RegTransition
impl Default for RegTransition
source§fn default() -> RegTransition
fn default() -> RegTransition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RegTransition
impl<'de> Deserialize<'de> for RegTransition
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 RegTransition
impl JsonSchema for RegTransition
source§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(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 Ord for RegTransition
impl Ord for RegTransition
source§fn cmp(&self, other: &RegTransition) -> Ordering
fn cmp(&self, other: &RegTransition) -> Ordering
1.21.0 · 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 RegTransition
impl PartialEq for RegTransition
source§fn eq(&self, other: &RegTransition) -> bool
fn eq(&self, other: &RegTransition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RegTransition
impl PartialOrd for RegTransition
source§fn partial_cmp(&self, other: &RegTransition) -> Option<Ordering>
fn partial_cmp(&self, other: &RegTransition) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for RegTransition
impl Serialize for RegTransition
source§impl<'__s> ToSchema<'__s> for RegTransition
impl<'__s> ToSchema<'__s> for RegTransition
impl Eq for RegTransition
impl StructuralPartialEq for RegTransition
Auto Trait Implementations§
impl RefUnwindSafe for RegTransition
impl Send for RegTransition
impl Sync for RegTransition
impl Unpin for RegTransition
impl UnwindSafe for RegTransition
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.