pub struct PackFormulaIdentifier {
pub name: String,
pub type_: PackFormulaType,
}
Expand description
PackFormulaIdentifier
JSON schema
{
"type": "object",
"required": [
"name",
"type"
],
"properties": {
"name": {
"description": "The Pack formula name.",
"examples": [
"SquareRoot"
],
"type": "string"
},
"type": {
"$ref": "#/components/schemas/PackFormulaType"
}
},
"additionalProperties": false,
"x-schema-name": "PackFormulaIdentifier"
}
Fields§
§name: String
The Pack formula name.
type_: PackFormulaType
Trait Implementations§
Source§impl Clone for PackFormulaIdentifier
impl Clone for PackFormulaIdentifier
Source§fn clone(&self) -> PackFormulaIdentifier
fn clone(&self) -> PackFormulaIdentifier
Returns a duplicate 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 PackFormulaIdentifier
impl Debug for PackFormulaIdentifier
Source§impl<'de> Deserialize<'de> for PackFormulaIdentifier
impl<'de> Deserialize<'de> for PackFormulaIdentifier
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 From<&PackFormulaIdentifier> for PackFormulaIdentifier
impl From<&PackFormulaIdentifier> for PackFormulaIdentifier
Source§fn from(value: &PackFormulaIdentifier) -> Self
fn from(value: &PackFormulaIdentifier) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackFormulaIdentifier
impl RefUnwindSafe for PackFormulaIdentifier
impl Send for PackFormulaIdentifier
impl Sync for PackFormulaIdentifier
impl Unpin for PackFormulaIdentifier
impl UnwindSafe for PackFormulaIdentifier
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