pub struct StampAnnotVo {
pub stamp_annots: Vec<String>,
pub img_byte: Vec<u8>,
pub image_type: String,
}👎Deprecated since 1.0.0:
使用 easyofd_core::StampAnnotEntity 替代
Expand description
签章注释视图对象,包含签章注释列表和印章图片数据。
对应 Java: org.ofdrw.reader.model.StampAnnotVo
废弃:Java 原始类标记为 @Deprecated,
建议使用 StampAnnotEntity。
Fields§
§stamp_annots: Vec<String>👎Deprecated since 1.0.0:
使用 easyofd_core::StampAnnotEntity 替代
签章注释的 XML 描述列表。
img_byte: Vec<u8>👎Deprecated since 1.0.0:
使用 easyofd_core::StampAnnotEntity 替代
印章图片的原始字节。
image_type: String👎Deprecated since 1.0.0:
使用 easyofd_core::StampAnnotEntity 替代
印章图片类型(如 “PNG”、“JPEG”)。
Implementations§
Source§impl StampAnnotVo
impl StampAnnotVo
Sourcepub fn set_img_byte(&mut self, data: Vec<u8>)
pub fn set_img_byte(&mut self, data: Vec<u8>)
设置印章图片数据。
Sourcepub fn set_image_type(&mut self, image_type: impl Into<String>)
pub fn set_image_type(&mut self, image_type: impl Into<String>)
设置印章图片类型。
Sourcepub fn add_stamp_annot(&mut self, annot: impl Into<String>)
pub fn add_stamp_annot(&mut self, annot: impl Into<String>)
添加签章注释描述。
Trait Implementations§
Source§impl Clone for StampAnnotVo
impl Clone for StampAnnotVo
Source§fn clone(&self) -> StampAnnotVo
fn clone(&self) -> StampAnnotVo
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 moreSource§impl Debug for StampAnnotVo
impl Debug for StampAnnotVo
Auto Trait Implementations§
impl Freeze for StampAnnotVo
impl RefUnwindSafe for StampAnnotVo
impl Send for StampAnnotVo
impl Sync for StampAnnotVo
impl Unpin for StampAnnotVo
impl UnsafeUnpin for StampAnnotVo
impl UnwindSafe for StampAnnotVo
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