pub struct Comment {
pub author_id: u32,
pub date_time: String,
pub idx: u32,
pub pos_x: i64,
pub pos_y: i64,
pub text: String,
}Expand description
一条评论(<p:cm>)。
§字段
author_id:作者 ID(指向CommentAuthorList中的作者);date_time:评论时间(ISO 8601 格式字符串,如"2024-01-01T12:00:00Z");idx:评论在该 slide 中的唯一索引(PowerPoint 用此关联批注锚点);pos_x/pos_y:评论锚点在 slide 上的坐标(EMU);text:评论正文。
Fields§
作者 ID(对应 <p:cmAuthor id="...">)。
date_time: String评论时间(ISO 8601 字符串)。
idx: u32评论索引(<p:cm idx="...">)。
pos_x: i64锚点 X 坐标(EMU)。
pos_y: i64锚点 Y 坐标(EMU)。
text: String评论正文。
Implementations§
Trait Implementations§
impl Eq for Comment
impl StructuralPartialEq for Comment
Auto Trait Implementations§
impl Freeze for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnsafeUnpin for Comment
impl UnwindSafe for Comment
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.