pub struct PrintToPDFReturns {
pub data: String,
pub stream: Option<StreamHandle>,
}Expand description
Print page as PDF.
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.
Trait Implementations§
Source§impl Clone for PrintToPDFReturns
impl Clone for PrintToPDFReturns
Source§fn clone(&self) -> PrintToPDFReturns
fn clone(&self) -> PrintToPDFReturns
Returns a duplicate of the value. Read more
1.0.0 · 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 PrintToPDFReturns
impl Debug for PrintToPDFReturns
Source§impl Default for PrintToPDFReturns
impl Default for PrintToPDFReturns
Source§fn default() -> PrintToPDFReturns
fn default() -> PrintToPDFReturns
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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