pub struct AnnotationState {
pub model: Option<String>,
pub state: String,
}Expand description
The state a text annotation sets on the annotation it replies to (ISO 32000-1 §12.5.6.3, Tables 171 and 172).
Fields§
§model: Option<String>/StateModel: Marked or Review, as written; None when the
annotation names a state without its model.
state: String/State, or the model’s default when absent: Unmarked under
Marked, None under Review.
Trait Implementations§
Source§impl Clone for AnnotationState
impl Clone for AnnotationState
Source§impl Debug for AnnotationState
impl Debug for AnnotationState
impl Eq for AnnotationState
Source§impl PartialEq for AnnotationState
impl PartialEq for AnnotationState
impl StructuralPartialEq for AnnotationState
Auto Trait Implementations§
impl Freeze for AnnotationState
impl RefUnwindSafe for AnnotationState
impl Send for AnnotationState
impl Sync for AnnotationState
impl Unpin for AnnotationState
impl UnsafeUnpin for AnnotationState
impl UnwindSafe for AnnotationState
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