pub struct PrintToPdfReturns {
pub data: String,
pub stream: Option<StreamHandle>,
}Expand description
What Page.printToPDF answers with.
Fields§
§data: StringBase64-encoded pdf data. Empty if |returnAsStream| is specified. (Encoded as a base64 string when passed over JSON)
stream: Option<StreamHandle>A handle of the stream that holds resulting PDF data.
Experimental: may change without notice.
Trait Implementations§
Source§impl Clone for PrintToPdfReturns
impl Clone for PrintToPdfReturns
Source§impl Debug for PrintToPdfReturns
impl Debug for PrintToPdfReturns
Source§impl Default for PrintToPdfReturns
impl Default for PrintToPdfReturns
Source§impl<'de> Deserialize<'de> for PrintToPdfReturns
impl<'de> Deserialize<'de> for PrintToPdfReturns
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
Source§impl PartialEq for PrintToPdfReturns
impl PartialEq for PrintToPdfReturns
Source§impl Serialize for PrintToPdfReturns
impl Serialize for PrintToPdfReturns
impl StructuralPartialEq for PrintToPdfReturns
Auto Trait Implementations§
impl Forget for PrintToPdfReturns
impl Freeze for PrintToPdfReturns
impl RefUnwindSafe for PrintToPdfReturns
impl Send for PrintToPdfReturns
impl Sync for PrintToPdfReturns
impl Unpin for PrintToPdfReturns
impl UnsafeUnpin for PrintToPdfReturns
impl UnwindSafe for PrintToPdfReturns
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