pub struct StoredEntity {
pub id: i64,
pub scope_kind: GlossaryScopeKind,
pub scope_id: Option<String>,
pub source_name: String,
pub target_name: String,
pub gender_target: Option<EntityGender>,
pub role: Option<String>,
pub notes: Option<String>,
pub source_language: String,
pub target_language: String,
}Fields§
§id: i64§scope_kind: GlossaryScopeKind§scope_id: Option<String>§source_name: String§target_name: String§gender_target: Option<EntityGender>§role: Option<String>§notes: Option<String>§source_language: String§target_language: StringTrait Implementations§
Source§impl Clone for StoredEntity
impl Clone for StoredEntity
Source§fn clone(&self) -> StoredEntity
fn clone(&self) -> StoredEntity
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 StoredEntity
impl Debug for StoredEntity
impl Eq for StoredEntity
Source§impl PartialEq for StoredEntity
impl PartialEq for StoredEntity
Source§fn eq(&self, other: &StoredEntity) -> bool
fn eq(&self, other: &StoredEntity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoredEntity
Auto Trait Implementations§
impl Freeze for StoredEntity
impl RefUnwindSafe for StoredEntity
impl Send for StoredEntity
impl Sync for StoredEntity
impl Unpin for StoredEntity
impl UnsafeUnpin for StoredEntity
impl UnwindSafe for StoredEntity
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.