Struct graphannis::corpusstorage::CorpusInfo[][src]

pub struct CorpusInfo {
    pub name: String,
    pub load_status: LoadStatus,
    pub node_annos_load_size: Option<usize>,
    pub graphstorages: Vec<GraphStorageInfo>,
    pub config: CorpusConfiguration,
}

Information about a corpus that is part of the corpus storage.

Fields

name: String

Name of the corpus.

load_status: LoadStatus

Indicates if the corpus is partially or fully loaded.

node_annos_load_size: Option<usize>

The amount of memory that the node annotations are using

graphstorages: Vec<GraphStorageInfo>

A list of descriptions for the graph storages of this corpus.

config: CorpusConfiguration

The current configuration of this corpus. This information is stored in the “corpus-config.toml` file in the data directory and loaded on demand.

Trait Implementations

impl Display for CorpusInfo[src]

Auto Trait Implementations

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

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,