pub struct AnnotionEntity {
pub page_id: String,
pub annot_xmls: Vec<String>,
}Expand description
注释实体,描述一个页面上的注释集合。
对应 Java: org.ofdrw.reader.model.AnnotionEntity
注意:Java 原始类名为 AnnotionEntity(拼写错误,应为 AnnotationEntity),
此处保留原名以保持 API 兼容。
Fields§
§page_id: String注释所在页面 ID。
annot_xmls: Vec<String>注释列表(原始 XML 字符串表示)。
Java 版使用 List<Annot> 对象,Rust 版存储为原始 XML 字符串,
因为 easyofd-core 的 Annot 类型已提供完整解析。
Implementations§
Trait Implementations§
Source§impl Clone for AnnotionEntity
impl Clone for AnnotionEntity
Source§fn clone(&self) -> AnnotionEntity
fn clone(&self) -> AnnotionEntity
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 moreAuto Trait Implementations§
impl Freeze for AnnotionEntity
impl RefUnwindSafe for AnnotionEntity
impl Send for AnnotionEntity
impl Sync for AnnotionEntity
impl Unpin for AnnotionEntity
impl UnsafeUnpin for AnnotionEntity
impl UnwindSafe for AnnotionEntity
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