[][src]Struct wsdclient::client::WSDResult

pub struct WSDResult {
    pub diagram: Vec<u8>,
    pub errors: Vec<DiagramError>,
    pub actual_format: Format,
}

Contains result of plotting diagram

Fields

diagram: Vec<u8>

Content of the diagram

errors: Vec<DiagramError>

Vector with errors. Errors are not fatal. Even if there are errors rest lines may be plotted.

actual_format: Format

Actual format of the diagram Actual format may be different from requested. For example when pdf is requested but no api key are provided. Format is determined from returned url "?png=mscKTO107" for png

Auto Trait Implementations

impl Send for WSDResult

impl Sync for WSDResult

Blanket Implementations

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

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> Erased for T

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

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