[][src]Struct wsdclient::types::PlotParameters

pub struct PlotParameters {
    pub style: Style,
    pub format: Format,
    pub paper_size: Option<PaperSize>,
    pub paper_orientation: Option<PaperOrientation>,
    pub scale: Option<u32>,
    pub api_key: Option<String>,
}

represent parameters for plotting

Fields

style: Style

style to used. By default default style is used

format: Format

output format. By default png is used

paper_size: Option<PaperSize>

paper size of output. Only useful with pdf output format

paper_orientation: Option<PaperOrientation>

paper orientation of output. Only useful with pdf output format

scale: Option<u32>

scale of output image. Useful with png output format. To obtain high-res png use scale=200

api_key: Option<String>

API key. Some features requires premium account.

Trait Implementations

impl Eq for PlotParameters[src]

impl Default for PlotParameters[src]

impl PartialEq<PlotParameters> for PlotParameters[src]

impl Clone for PlotParameters[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PlotParameters[src]

impl Serialize for PlotParameters[src]

impl<'de> Deserialize<'de> for PlotParameters[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err