pub struct ZhReadingIndexPayload {
pub schema_version: u32,
pub payload_type: String,
pub pinyin_view: String,
pub entries: Vec<ZhReadingIndexPayloadEntry>,
}Expand description
Normalized Chinese reading-index payload.
Fields§
§schema_version: u32Payload schema version.
payload_type: StringPayload type identifier.
pinyin_view: StringPinyin representation used by all readings in the payload.
entries: Vec<ZhReadingIndexPayloadEntry>Surface-to-reading entries.
Trait Implementations§
Source§impl Clone for ZhReadingIndexPayload
impl Clone for ZhReadingIndexPayload
Source§fn clone(&self) -> ZhReadingIndexPayload
fn clone(&self) -> ZhReadingIndexPayload
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 ZhReadingIndexPayload
impl Debug for ZhReadingIndexPayload
Source§impl<'de> Deserialize<'de> for ZhReadingIndexPayload
impl<'de> Deserialize<'de> for ZhReadingIndexPayload
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 PartialEq for ZhReadingIndexPayload
impl PartialEq for ZhReadingIndexPayload
Source§fn eq(&self, other: &ZhReadingIndexPayload) -> bool
fn eq(&self, other: &ZhReadingIndexPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ZhReadingIndexPayload
impl Serialize for ZhReadingIndexPayload
impl Eq for ZhReadingIndexPayload
impl StructuralPartialEq for ZhReadingIndexPayload
Auto Trait Implementations§
impl Freeze for ZhReadingIndexPayload
impl RefUnwindSafe for ZhReadingIndexPayload
impl Send for ZhReadingIndexPayload
impl Sync for ZhReadingIndexPayload
impl Unpin for ZhReadingIndexPayload
impl UnsafeUnpin for ZhReadingIndexPayload
impl UnwindSafe for ZhReadingIndexPayload
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.