pub struct MnxDocumentGlobalMeasuresItemKey {
pub class: Option<StyleClass>,
pub color: Option<Color>,
pub fifths: i64,
}
Expand description
MnxDocumentGlobalMeasuresItemKey
JSON schema
{
"type": "object",
"required": [
"fifths"
],
"properties": {
"class": {
"$ref": "#/$defs/style-class"
},
"color": {
"$ref": "#/$defs/color"
},
"fifths": {
"type": "integer"
}
},
"additionalProperties": false
}
Fields§
§class: Option<StyleClass>
§color: Option<Color>
§fifths: i64
Trait Implementations§
Source§impl Clone for MnxDocumentGlobalMeasuresItemKey
impl Clone for MnxDocumentGlobalMeasuresItemKey
Source§fn clone(&self) -> MnxDocumentGlobalMeasuresItemKey
fn clone(&self) -> MnxDocumentGlobalMeasuresItemKey
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<'de> Deserialize<'de> for MnxDocumentGlobalMeasuresItemKey
impl<'de> Deserialize<'de> for MnxDocumentGlobalMeasuresItemKey
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<&MnxDocumentGlobalMeasuresItemKey> for MnxDocumentGlobalMeasuresItemKey
impl From<&MnxDocumentGlobalMeasuresItemKey> for MnxDocumentGlobalMeasuresItemKey
Source§fn from(value: &MnxDocumentGlobalMeasuresItemKey) -> Self
fn from(value: &MnxDocumentGlobalMeasuresItemKey) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MnxDocumentGlobalMeasuresItemKey
impl RefUnwindSafe for MnxDocumentGlobalMeasuresItemKey
impl Send for MnxDocumentGlobalMeasuresItemKey
impl Sync for MnxDocumentGlobalMeasuresItemKey
impl Unpin for MnxDocumentGlobalMeasuresItemKey
impl UnwindSafe for MnxDocumentGlobalMeasuresItemKey
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