pub struct PrintToPdfResult {
pub data: String,
pub stream: Option<String>,
}Expand description
Result of Page.printToPDF.
Fields§
§data: StringBase64-encoded pdf data.
stream: Option<String>A handle of the stream that holds resulting PDF data.
Trait Implementations§
Source§impl Clone for PrintToPdfResult
impl Clone for PrintToPdfResult
Source§fn clone(&self) -> PrintToPdfResult
fn clone(&self) -> PrintToPdfResult
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 PrintToPdfResult
impl Debug for PrintToPdfResult
Source§impl<'de> Deserialize<'de> for PrintToPdfResult
impl<'de> Deserialize<'de> for PrintToPdfResult
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 PrintToPdfResult
impl RefUnwindSafe for PrintToPdfResult
impl Send for PrintToPdfResult
impl Sync for PrintToPdfResult
impl Unpin for PrintToPdfResult
impl UnwindSafe for PrintToPdfResult
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