pub struct Table {
pub rows: Vec<Vec<String>>,
pub span: Span,
pub position: LineCol,
}Expand description
A data table
Fields§
§rows: Vec<Vec<String>>The rows of the data table. Each row is always the same length as the first row.
span: SpanThe (start, end) offset the table directive was found in the .feature file.
position: LineColThe (line, col) position the table directive was found in the .feature file.
Implementations§
Trait Implementations§
Source§impl<__S> BaseSubTypes<__S> for Tablewhere
__S: ScalarValue,
impl<__S> BaseSubTypes<__S> for Tablewhere
__S: ScalarValue,
Source§const NAMES: Types
const NAMES: Types
Sub-[
Types] of the GraphQL object.Source§impl<__S> BaseType<__S> for Tablewhere
__S: ScalarValue,
impl<__S> BaseType<__S> for Tablewhere
__S: ScalarValue,
Source§impl<'de> Deserialize<'de> for Table
impl<'de> Deserialize<'de> for Table
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<__S> Field<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
impl<__S> Field<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
Source§impl<__S> Field<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
impl<__S> Field<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
Source§impl<__S> Field<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
impl<__S> Field<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
Source§impl<__S> FieldMeta<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
[
Types] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Sub-types of GraphQL field’s return type.
Source§const WRAPPED_VALUE: WrappedValue
const WRAPPED_VALUE: WrappedValue
[
WrappedValue] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
GraphQL field’s [
Arguments].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo of this GraphQL field.Source§impl<__S> FieldMeta<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
[
Types] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Sub-types of GraphQL field’s return type.
Source§const WRAPPED_VALUE: WrappedValue
const WRAPPED_VALUE: WrappedValue
[
WrappedValue] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
GraphQL field’s [
Arguments].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo of this GraphQL field.Source§impl<__S> FieldMeta<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, juniper::GraphQLObject> for Tablewhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
[
Types] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Sub-types of GraphQL field’s return type.
Source§const WRAPPED_VALUE: WrappedValue
const WRAPPED_VALUE: WrappedValue
[
WrappedValue] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
GraphQL field’s [
Arguments].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo of this GraphQL field.Source§impl<__S> GraphQLObject<__S> for Tablewhere
__S: ScalarValue,
impl<__S> GraphQLObject<__S> for Tablewhere
__S: ScalarValue,
Source§impl<__S> GraphQLType<__S> for Tablewhere
__S: ScalarValue,
impl<__S> GraphQLType<__S> for Tablewhere
__S: ScalarValue,
Source§impl<__S> GraphQLValue<__S> for Tablewhere
__S: ScalarValue,
impl<__S> GraphQLValue<__S> for Tablewhere
__S: ScalarValue,
Source§type TypeInfo = ()
type TypeInfo = ()
Type that may carry additional schema information for this
GraphQLValue. Read moreSource§fn resolve_field(
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, '_, Self::Context, __S>,
) -> ExecutionResult<__S>
fn resolve_field( &self, info: &Self::TypeInfo, field: &str, args: &Arguments<'_, __S>, executor: &Executor<'_, '_, Self::Context, __S>, ) -> ExecutionResult<__S>
Resolves the value of a single field on this
GraphQLValue. Read moreSource§fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
Returns the concrete
GraphQLType name for this GraphQLValue being an interface,
an union or an object. Read moreSource§fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, '_, Self::Context, S>,
) -> Result<Value<S>, FieldError<S>>
fn resolve_into_type( &self, info: &Self::TypeInfo, type_name: &str, selection_set: Option<&[Selection<'_, S>]>, executor: &Executor<'_, '_, Self::Context, S>, ) -> Result<Value<S>, FieldError<S>>
Resolves this
GraphQLValue (being an interface or an union) into a concrete
downstream object type. Read moreSource§impl<__S> GraphQLValueAsync<__S> for Table
impl<__S> GraphQLValueAsync<__S> for Table
Source§fn resolve_field_async<'b>(
&'b self,
info: &'b Self::TypeInfo,
field: &'b str,
args: &'b Arguments<'_, __S>,
executor: &'b Executor<'_, '_, Self::Context, __S>,
) -> BoxFuture<'b, ExecutionResult<__S>>
fn resolve_field_async<'b>( &'b self, info: &'b Self::TypeInfo, field: &'b str, args: &'b Arguments<'_, __S>, executor: &'b Executor<'_, '_, Self::Context, __S>, ) -> BoxFuture<'b, ExecutionResult<__S>>
Resolves the value of a single field on this
GraphQLValueAsync. Read moreSource§fn resolve_into_type_async<'a>(
&'a self,
info: &'a Self::TypeInfo,
type_name: &str,
selection_set: Option<&'a [Selection<'a, S>]>,
executor: &'a Executor<'a, 'a, Self::Context, S>,
) -> Pin<Box<dyn Future<Output = Result<Value<S>, FieldError<S>>> + Send + 'a>>
fn resolve_into_type_async<'a>( &'a self, info: &'a Self::TypeInfo, type_name: &str, selection_set: Option<&'a [Selection<'a, S>]>, executor: &'a Executor<'a, 'a, Self::Context, S>, ) -> Pin<Box<dyn Future<Output = Result<Value<S>, FieldError<S>>> + Send + 'a>>
Resolves this
GraphQLValueAsync (being an interface or an union) into a
concrete downstream object type. Read moreSource§impl<__S> Implements<__S> for Tablewhere
__S: ScalarValue,
impl<__S> Implements<__S> for Tablewhere
__S: ScalarValue,
Source§const NAMES: Types
const NAMES: Types
[
Types] of the GraphQL interfaces implemented by this type.Source§impl<__S> IsOutputType<__S> for Tablewhere
__S: ScalarValue,
impl<__S> IsOutputType<__S> for Tablewhere
__S: ScalarValue,
Source§impl<__S> WrappedType<__S> for Tablewhere
__S: ScalarValue,
impl<__S> WrappedType<__S> for Tablewhere
__S: ScalarValue,
impl Eq for Table
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more