pub struct Print {
pub printable: Option<bool>,
pub copies: Option<i64>,
}Expand description
打印权限(见表 8)。
Fields§
§printable: Option<bool>文档是否允许被打印,默认 true。
copies: Option<i64>打印份数;<0 不受限、0 不允许、>0 为实际份数。
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Print
impl<'de> Deserialize<'de> for Print
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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