Struct fuel_core::schema::scalars::Tai64Timestamp
source · pub struct Tai64Timestamp(pub Tai64);
Expand description
Need our own u64 type since GraphQL integers are restricted to i32.
Tuple Fields§
§0: Tai64
Trait Implementations§
source§impl Clone for Tai64Timestamp
impl Clone for Tai64Timestamp
source§fn clone(&self) -> Tai64Timestamp
fn clone(&self) -> Tai64Timestamp
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Tai64Timestamp
impl Debug for Tai64Timestamp
source§impl From<Tai64> for Tai64Timestamp
impl From<Tai64> for Tai64Timestamp
source§fn from(original: Tai64) -> Tai64Timestamp
fn from(original: Tai64) -> Tai64Timestamp
Converts to this type from the input type.
source§impl From<Tai64Timestamp> for Tai64
impl From<Tai64Timestamp> for Tai64
source§fn from(original: Tai64Timestamp) -> Self
fn from(original: Tai64Timestamp) -> Self
Converts to this type from the input type.
source§impl InputType for Tai64Timestamp
impl InputType for Tai64Timestamp
§type RawValueType = Tai64Timestamp
type RawValueType = Tai64Timestamp
The raw type used for validator. Read more
source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value
. None represents undefined.source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
source§impl OutputType for Tai64Timestamp
impl OutputType for Tai64Timestamp
source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
__arg1: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
__arg1: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Resolve an output value to
async_graphql::Value
.source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.