pub struct EventNotesItemPitch {
pub alter: Option<i64>,
pub octave: i64,
pub step: EventNotesItemPitchStep,
}Expand description
EventNotesItemPitch
JSON schema
{
"type": "object",
"required": [
"octave",
"step"
],
"properties": {
"alter": {
"type": "integer"
},
"octave": {
"type": "integer"
},
"step": {
"type": "string",
"enum": [
"A",
"B",
"C",
"D",
"E",
"F",
"G"
]
}
},
"additionalProperties": false
}Fields§
§alter: Option<i64>§octave: i64§step: EventNotesItemPitchStepImplementations§
Source§impl EventNotesItemPitch
impl EventNotesItemPitch
pub fn builder() -> EventNotesItemPitch
Trait Implementations§
Source§impl Clone for EventNotesItemPitch
impl Clone for EventNotesItemPitch
Source§fn clone(&self) -> EventNotesItemPitch
fn clone(&self) -> EventNotesItemPitch
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 EventNotesItemPitch
impl Debug for EventNotesItemPitch
Source§impl<'de> Deserialize<'de> for EventNotesItemPitch
impl<'de> Deserialize<'de> for EventNotesItemPitch
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<&EventNotesItemPitch> for EventNotesItemPitch
impl From<&EventNotesItemPitch> for EventNotesItemPitch
Source§fn from(value: &EventNotesItemPitch) -> Self
fn from(value: &EventNotesItemPitch) -> Self
Converts to this type from the input type.
Source§impl From<EventNotesItemPitch> for EventNotesItemPitch
impl From<EventNotesItemPitch> for EventNotesItemPitch
Source§fn from(value: EventNotesItemPitch) -> Self
fn from(value: EventNotesItemPitch) -> Self
Converts to this type from the input type.
Source§impl Serialize for EventNotesItemPitch
impl Serialize for EventNotesItemPitch
Source§impl TryFrom<EventNotesItemPitch> for EventNotesItemPitch
impl TryFrom<EventNotesItemPitch> for EventNotesItemPitch
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EventNotesItemPitch) -> Result<Self, ConversionError>
fn try_from(value: EventNotesItemPitch) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EventNotesItemPitch
impl RefUnwindSafe for EventNotesItemPitch
impl Send for EventNotesItemPitch
impl Sync for EventNotesItemPitch
impl Unpin for EventNotesItemPitch
impl UnwindSafe for EventNotesItemPitch
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