pub struct JsonReading {
pub question: Option<String>,
pub lines: [u8; 6],
pub primary_hexagram: JsonHexagram,
pub changing_lines: Vec<JsonLineInterpretation>,
pub transformed_hexagram: Option<JsonHexagram>,
pub upper_trigram: [String; 3],
pub lower_trigram: [String; 3],
}Fields§
§question: Option<String>§lines: [u8; 6]§primary_hexagram: JsonHexagram§changing_lines: Vec<JsonLineInterpretation>§transformed_hexagram: Option<JsonHexagram>§upper_trigram: [String; 3]§lower_trigram: [String; 3]Trait Implementations§
Source§impl Clone for JsonReading
impl Clone for JsonReading
Source§fn clone(&self) -> JsonReading
fn clone(&self) -> JsonReading
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 JsonReading
impl Debug for JsonReading
Source§impl<'de> Deserialize<'de> for JsonReading
impl<'de> Deserialize<'de> for JsonReading
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
Auto Trait Implementations§
impl Freeze for JsonReading
impl RefUnwindSafe for JsonReading
impl Send for JsonReading
impl Sync for JsonReading
impl Unpin for JsonReading
impl UnsafeUnpin for JsonReading
impl UnwindSafe for JsonReading
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