pub struct PrintToPDFReturnObjectBuilder { /* private fields */ }Expand description
Builder for PrintToPDFReturnObject.
Implementations§
Source§impl PrintToPDFReturnObjectBuilder
impl PrintToPDFReturnObjectBuilder
Sourcepub fn data(&mut self, value: String) -> &mut Self
pub fn data(&mut self, value: String) -> &mut Self
Base64-encoded pdf data. Empty if |returnAsStream| is specified.
Sourcepub fn stream(&mut self, value: Option<StreamHandle>) -> &mut Self
pub fn stream(&mut self, value: Option<StreamHandle>) -> &mut Self
A handle of the stream that holds resulting PDF data.
Sourcepub fn build(
&self,
) -> Result<PrintToPDFReturnObject, PrintToPDFReturnObjectBuilderError>
pub fn build( &self, ) -> Result<PrintToPDFReturnObject, PrintToPDFReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for PrintToPDFReturnObjectBuilder
impl Clone for PrintToPDFReturnObjectBuilder
Source§fn clone(&self) -> PrintToPDFReturnObjectBuilder
fn clone(&self) -> PrintToPDFReturnObjectBuilder
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 moreAuto Trait Implementations§
impl Freeze for PrintToPDFReturnObjectBuilder
impl RefUnwindSafe for PrintToPDFReturnObjectBuilder
impl Send for PrintToPDFReturnObjectBuilder
impl Sync for PrintToPDFReturnObjectBuilder
impl Unpin for PrintToPDFReturnObjectBuilder
impl UnsafeUnpin for PrintToPDFReturnObjectBuilder
impl UnwindSafe for PrintToPDFReturnObjectBuilder
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