Struct ashpd::desktop::print::PreparePrint
source · pub struct PreparePrint {
pub settings: Settings,
pub page_setup: PageSetup,
pub token: u32,
}
Expand description
A response to a PrintProxy::prepare_print
request.
Fields§
§settings: Settings
The printing settings.
page_setup: PageSetup
The printed pages setup.
token: u32
A token to pass to the print request.
Trait Implementations§
source§impl Debug for PreparePrint
impl Debug for PreparePrint
source§impl<'de> Deserialize<'de> for PreparePrint
impl<'de> Deserialize<'de> for PreparePrint
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 PreparePrint
impl RefUnwindSafe for PreparePrint
impl Send for PreparePrint
impl Sync for PreparePrint
impl Unpin for PreparePrint
impl UnwindSafe for PreparePrint
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
source§impl<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more