pub struct NewEntity<'a> {
pub scope_kind: GlossaryScopeKind,
pub scope_id: Option<&'a str>,
pub source_name: &'a str,
pub target_name: &'a str,
pub gender_target: Option<EntityGender>,
pub role: Option<&'a str>,
pub notes: Option<&'a str>,
pub source_language: &'a str,
pub target_language: &'a str,
}Fields§
§scope_kind: GlossaryScopeKind§scope_id: Option<&'a str>§source_name: &'a str§target_name: &'a str§gender_target: Option<EntityGender>§role: Option<&'a str>§notes: Option<&'a str>§source_language: &'a str§target_language: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NewEntity<'a>
impl<'a> RefUnwindSafe for NewEntity<'a>
impl<'a> Send for NewEntity<'a>
impl<'a> Sync for NewEntity<'a>
impl<'a> Unpin for NewEntity<'a>
impl<'a> UnsafeUnpin for NewEntity<'a>
impl<'a> UnwindSafe for NewEntity<'a>
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