Struct google_language1_beta1::DependencyEdge[][src]

pub struct DependencyEdge {
    pub head_token_index: Option<i32>,
    pub label: Option<String>,
}

Represents dependency parse tree information for a token.

This type is not used in any activity, and only used as part of another schema.

Fields

Represents the head of this token in the dependency tree. This is the index of the token which has an arc going to this token. The index is the position of the token in the array of tokens returned by the API method. If this token is a root token, then the head_token_index is its own index.

The parse label for the token.

Trait Implementations

impl Default for DependencyEdge
[src]

Returns the "default value" for a type. Read more

impl Clone for DependencyEdge
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DependencyEdge
[src]

Formats the value using the given formatter. Read more

impl Part for DependencyEdge
[src]

Auto Trait Implementations