pub struct NewAnnotation {
pub quote: String,
pub ranges: Vec<Range>,
pub text: String,
}Expand description
Represents an annotation to be created (hence no ID yet). Fields are defined as in a full annotation.
Fields§
§quote: StringTODO, XXX: quote must not be an empty string.
ranges: Vec<Range>§text: StringTrait Implementations§
Source§impl Debug for NewAnnotation
impl Debug for NewAnnotation
Auto Trait Implementations§
impl Freeze for NewAnnotation
impl RefUnwindSafe for NewAnnotation
impl Send for NewAnnotation
impl Sync for NewAnnotation
impl Unpin for NewAnnotation
impl UnwindSafe for NewAnnotation
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