pub struct PdfOptions {Show 17 fields
pub http_auth: Option<String>,
pub user_agent: Option<String>,
pub width: Option<String>,
pub height: Option<String>,
pub format: Option<String>,
pub margin_top: Option<String>,
pub margin_right: Option<String>,
pub margin_bottom: Option<String>,
pub margin_left: Option<String>,
pub scale: Option<f64>,
pub landscape: Option<bool>,
pub delay: Option<u32>,
pub file_name: Option<String>,
pub s3_acl: Option<String>,
pub s3_redirect: Option<bool>,
pub timestamp: Option<bool>,
pub additional_options: Option<RequestOptions>,
}Fields§
§http_auth: Option<String>§user_agent: Option<String>§width: Option<String>§height: Option<String>§format: Option<String>§margin_top: Option<String>§margin_right: Option<String>§margin_bottom: Option<String>§margin_left: Option<String>§scale: Option<f64>§landscape: Option<bool>§delay: Option<u32>§file_name: Option<String>§s3_acl: Option<String>§s3_redirect: Option<bool>§timestamp: Option<bool>§additional_options: Option<RequestOptions>Implementations§
Source§impl PdfOptions
impl PdfOptions
pub fn to_request_options(&self) -> RequestOptions
Trait Implementations§
Source§impl Clone for PdfOptions
impl Clone for PdfOptions
Source§fn clone(&self) -> PdfOptions
fn clone(&self) -> PdfOptions
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 PdfOptions
impl Debug for PdfOptions
Source§impl Default for PdfOptions
impl Default for PdfOptions
Source§fn default() -> PdfOptions
fn default() -> PdfOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PdfOptions
impl RefUnwindSafe for PdfOptions
impl Send for PdfOptions
impl Sync for PdfOptions
impl Unpin for PdfOptions
impl UnwindSafe for PdfOptions
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