pub struct Print {
pub printable: bool,
pub copies: Option<u32>,
}Expand description
对应 Java: org.ofdrw.core.basicStructure.Print
打印权限控制,限制可打印份数。
Fields§
§printable: bool是否允许打印。默认 true。
copies: Option<u32>最大打印份数。None 表示不限制。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Print
impl RefUnwindSafe for Print
impl Send for Print
impl Sync for Print
impl Unpin for Print
impl UnsafeUnpin for Print
impl UnwindSafe for Print
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