pub fn as_api_str(&self) -> &str {
        use self::ExecutionNodeType::*;
        match *self {
            SingletonNode => EXECUTION_NODE_TYPE_SINGLETON_NODE,
            EnumerateCollectionNode => EXECUTION_NODE_TYPE_ENUMERATE_COLLECTION_NODE,
            IndexNode => EXECUTION_NODE_TYPE_INDEX_NODE,
            EnumerateListNode => EXECUTION_NODE_TYPE_ENUMERATE_LIST_NODE,
            FilterNode => EXECUTION_NODE_TYPE_FILTER_NODE,
            LimitNode => EXECUTION_NODE_TYPE_LIMIT_NODE,
            CalculationNode => EXECUTION_NODE_TYPE_CALCULATION_NODE,
            SubQueryNode => EXECUTION_NODE_TYPE_SUBQUERY_NODE,
            SortNode => EXECUTION_NODE_TYPE_SORT_NODE,
            AggregateNode => EXECUTION_NODE_TYPE_COLLECT_NODE,
            ReturnNode => EXECUTION_NODE_TYPE_RETURN_NODE,
            InsertNode => EXECUTION_NODE_TYPE_INSERT_NODE,
            RemoveNode => EXECUTION_NODE_TYPE_REMOVE_NODE,
            ReplaceNode => EXECUTION_NODE_TYPE_REPLACE_NODE,
            UpdateNode => EXECUTION_NODE_TYPE_UPDATE_NODE,
            UpsertNode => EXECUTION_NODE_TYPE_UPSERT_NODE,
            NoResultsNode => EXECUTION_NODE_TYPE_NO_RESULTS_NODE,
            #[cfg(feature = "cluster")]
            ScatterNode => EXECUTION_NODE_TYPE_SCATTER_NODE,
            #[cfg(feature = "cluster")]
            GatherNode => EXECUTION_NODE_TYPE_GATHER_NODE,
            #[cfg(feature = "cluster")]
            DistributeNode => EXECUTION_NODE_TYPE_DISTRIBUTE_NODE,
            #[cfg(feature = "cluster")]
            RemoteNode => EXECUTION_NODE_TYPE_REMOTE_NODE,
            Unlisted(ref node) => node,
        }
    }
/// Returns this execution node as a string slice to be used with the
/// *ArangoDB* API.
Returns this execution node as a string slice to be used with the
ArangoDB* API.
Returns this execution node as a string slice to be used with the ArangoDB * API .
pub fn as_api_str(&self) -> &str {
        use self::ExecutionNodeType::*;
        match *self {
            SingletonNode => EXECUTION_NODE_TYPE_SINGLETON_NODE,
            EnumerateCollectionNode => EXECUTION_NODE_TYPE_ENUMERATE_COLLECTION_NODE,
            IndexNode => EXECUTION_NODE_TYPE_INDEX_NODE,
            EnumerateListNode => EXECUTION_NODE_TYPE_ENUMERATE_LIST_NODE,
            FilterNode => EXECUTION_NODE_TYPE_FILTER_NODE,
            LimitNode => EXECUTION_NODE_TYPE_LIMIT_NODE,
            CalculationNode => EXECUTION_NODE_TYPE_CALCULATION_NODE,
            SubQueryNode => EXECUTION_NODE_TYPE_SUBQUERY_NODE,
            SortNode => EXECUTION_NODE_TYPE_SORT_NODE,
            AggregateNode => EXECUTION_NODE_TYPE_COLLECT_NODE,
            ReturnNode => EXECUTION_NODE_TYPE_RETURN_NODE,
            InsertNode => EXECUTION_NODE_TYPE_INSERT_NODE,
            RemoveNode => EXECUTION_NODE_TYPE_REMOVE_NODE,
            ReplaceNode => EXECUTION_NODE_TYPE_REPLACE_NODE,
            UpdateNode => EXECUTION_NODE_TYPE_UPDATE_NODE,
            UpsertNode => EXECUTION_NODE_TYPE_UPSERT_NODE,
            NoResultsNode => EXECUTION_NODE_TYPE_NO_RESULTS_NODE,
            #[cfg(feature = "cluster")]
            ScatterNode => EXECUTION_NODE_TYPE_SCATTER_NODE,
            #[cfg(feature = "cluster")]
            GatherNode => EXECUTION_NODE_TYPE_GATHER_NODE,
            #[cfg(feature = "cluster")]
            DistributeNode => EXECUTION_NODE_TYPE_DISTRIBUTE_NODE,
            #[cfg(feature = "cluster")]
            RemoteNode => EXECUTION_NODE_TYPE_REMOTE_NODE,
            Unlisted(ref node) => node,
        }
    }
pub fn as_api_str ( & self ) -> & str { use self :: ExecutionNodeType :: * ; match * self { SingletonNode => EXECUTION_NODE_TYPE_SINGLETON_NODE , EnumerateCollectionNode => EXECUTION_NODE_TYPE_ENUMERATE_COLLECTION_NODE , IndexNode => EXECUTION_NODE_TYPE_INDEX_NODE , EnumerateListNode => EXECUTION_NODE_TYPE_ENUMERATE_LIST_NODE , FilterNode => EXECUTION_NODE_TYPE_FILTER_NODE , LimitNode => EXECUTION_NODE_TYPE_LIMIT_NODE , CalculationNode => EXECUTION_NODE_TYPE_CALCULATION_NODE , SubQueryNode => EXECUTION_NODE_TYPE_SUBQUERY_NODE , SortNode => EXECUTION_NODE_TYPE_SORT_NODE , AggregateNode => EXECUTION_NODE_TYPE_COLLECT_NODE , ReturnNode => EXECUTION_NODE_TYPE_RETURN_NODE , InsertNode => EXECUTION_NODE_TYPE_INSERT_NODE , RemoveNode => EXECUTION_NODE_TYPE_REMOVE_NODE , ReplaceNode => EXECUTION_NODE_TYPE_REPLACE_NODE , UpdateNode => EXECUTION_NODE_TYPE_UPDATE_NODE , UpsertNode => EXECUTION_NODE_TYPE_UPSERT_NODE , NoResultsNode => EXECUTION_NODE_TYPE_NO_RESULTS_NODE , # [ cfg ( feature " " ) ] ScatterNode => EXECUTION_NODE_TYPE_SCATTER_NODE , # [ cfg ( feature " " ) ] GatherNode => EXECUTION_NODE_TYPE_GATHER_NODE , # [ cfg ( feature " " ) ] DistributeNode => EXECUTION_NODE_TYPE_DISTRIBUTE_NODE , # [ cfg ( feature " " ) ] RemoteNode => EXECUTION_NODE_TYPE_REMOTE_NODE , Unlisted ( ref node ) => node , } }
Returns this execution node as a string slice to be used with the
ArangoDB* API.
Returns this execution node as a string slice to be used with the ArangoDB * API .
&self
&self