pub struct Tier {
pub id: String,
pub participant: String,
pub annotator: String,
pub linguistic_type_ref: String,
pub parent_id: Option<String>,
pub child_ids: Option<Vec<String>>,
pub annotations: Vec<Annotation>,
}Expand description
A tier (annotation layer) within an ELAN file.
Fields§
§id: StringTier ID (e.g. “G-jyutping”).
participant: StringParticipant name.
annotator: StringAnnotator name.
linguistic_type_ref: StringLinguistic type reference.
parent_id: Option<String>Parent tier ID, if this is a dependent tier.
child_ids: Option<Vec<String>>Child tier IDs, or None if no children.
annotations: Vec<Annotation>Annotations in this tier.
Trait Implementations§
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnsafeUnpin for Tier
impl UnwindSafe for Tier
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more