pub struct PdfConfig {
pub title: String,
pub author: String,
pub include_charts: bool,
pub include_metrics: bool,
pub include_recommendations: bool,
}
Expand description
PDF generation configuration
Fields§
§title: String
§include_charts: bool
§include_metrics: bool
§include_recommendations: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PdfConfig
impl<'de> Deserialize<'de> for PdfConfig
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 PdfConfig
impl RefUnwindSafe for PdfConfig
impl Send for PdfConfig
impl Sync for PdfConfig
impl Unpin for PdfConfig
impl UnwindSafe for PdfConfig
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