[][src]Struct gnverify::Output

pub struct Output {
    pub id: Option<String>,
    pub name: String,
    pub match_type: MatchType,
    pub data_sources_num: i64,
    pub data_source_curation: Option<CurationType>,
    pub retries: i64,
    pub error: Option<String>,
    pub best_result: Option<ResultData>,
    pub preferred_results: Option<Vec<ResultData>>,
}

Fields

id: Option<String>name: Stringmatch_type: MatchTypedata_sources_num: i64data_source_curation: Option<CurationType>retries: i64error: Option<String>best_result: Option<ResultData>preferred_results: Option<Vec<ResultData>>

Methods

impl Output[src]

pub fn new<'b>(
    item: ResolverNameResolverResponses,
    retries: i64,
    preferred_only: bool
) -> Self
[src]

pub fn to_csv(&self, preferred_only: bool) -> Vec<OutputCSV>[src]

Trait Implementations

impl Debug for Output[src]

impl Default for Output[src]

impl Serialize for Output[src]

Auto Trait Implementations

impl RefUnwindSafe for Output

impl Send for Output

impl Sync for Output

impl Unpin for Output

impl UnwindSafe for Output

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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, U> TryInto<U> for T where
    U: TryFrom<T>, 

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