pub struct TerminologyEntry {
pub source: String,
pub target: String,
}Expand description
A single terminology entry returned by the AI extraction pass.
Fields§
§source: StringSource-language term as it appears in subtitle text.
target: StringTranslated term to use consistently in the target language.
Trait Implementations§
Source§impl Clone for TerminologyEntry
impl Clone for TerminologyEntry
Source§fn clone(&self) -> TerminologyEntry
fn clone(&self) -> TerminologyEntry
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 TerminologyEntry
impl Debug for TerminologyEntry
Source§impl<'de> Deserialize<'de> for TerminologyEntry
impl<'de> Deserialize<'de> for TerminologyEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TerminologyEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TerminologyEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TerminologyEntry
Source§impl PartialEq for TerminologyEntry
impl PartialEq for TerminologyEntry
Source§impl Serialize for TerminologyEntry
impl Serialize for TerminologyEntry
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TerminologyEntry
Auto Trait Implementations§
impl Freeze for TerminologyEntry
impl RefUnwindSafe for TerminologyEntry
impl Send for TerminologyEntry
impl Sync for TerminologyEntry
impl Unpin for TerminologyEntry
impl UnsafeUnpin for TerminologyEntry
impl UnwindSafe for TerminologyEntry
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§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.