pub struct RegisterFields {
pub narration: Option<String>,
pub narration_tense: Option<String>,
pub dialogue_default: Option<String>,
pub loanword_policy: Option<String>,
}Expand description
Narrative register: maps to source-language → target-language voice
conventions. Values are strings so the user can pick conventions
outside this enum (passato_remoto etc.) without us pre-enumerating
every target-language idiom.
Fields§
§narration: Option<String>§narration_tense: Option<String>§dialogue_default: Option<String>§loanword_policy: Option<String>Trait Implementations§
Source§impl Clone for RegisterFields
impl Clone for RegisterFields
Source§fn clone(&self) -> RegisterFields
fn clone(&self) -> RegisterFields
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 RegisterFields
impl Debug for RegisterFields
Source§impl Default for RegisterFields
impl Default for RegisterFields
Source§fn default() -> RegisterFields
fn default() -> RegisterFields
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegisterFields
impl<'de> Deserialize<'de> for RegisterFields
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
impl Eq for RegisterFields
Source§impl PartialEq for RegisterFields
impl PartialEq for RegisterFields
Source§fn eq(&self, other: &RegisterFields) -> bool
fn eq(&self, other: &RegisterFields) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegisterFields
impl Serialize for RegisterFields
impl StructuralPartialEq for RegisterFields
Auto Trait Implementations§
impl Freeze for RegisterFields
impl RefUnwindSafe for RegisterFields
impl Send for RegisterFields
impl Sync for RegisterFields
impl Unpin for RegisterFields
impl UnsafeUnpin for RegisterFields
impl UnwindSafe for RegisterFields
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.