[−][src]Struct novatel_oem6_service::GetPowerResponse
Response fields for 'power' query
Fields
state: PowerState
Current power state of the system
uptime: i32
A value of 1 confirms that the system is on. A value of 0 confirms that the system is off or unavailable
Note: This field is named "uptime" to help maintain parity with the other services. The OEM6 does not give a traditional uptime value.
Trait Implementations
impl<__S> GraphQLType<__S> for GetPowerResponse where
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
[src]
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
type Context = ()
The expected context type for this GraphQL type Read more
type TypeInfo = ()
Type that may carry additional schema information Read more
fn name(_: &()) -> Option<&str>
[src]
fn concrete_type_name(&self, _: &Self::Context, _: &()) -> String
[src]
fn meta<'r>(_: &(), registry: &mut Registry<'r, __S>) -> MetaType<'r, __S> where
__S: 'r,
[src]
__S: 'r,
fn resolve_field(
&self,
_: &(),
field_name: &str,
_: &Arguments<__S>,
executor: &Executor<Self::Context, __S>
) -> ExecutionResult<__S>
[src]
&self,
_: &(),
field_name: &str,
_: &Arguments<__S>,
executor: &Executor<Self::Context, __S>
) -> ExecutionResult<__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>>
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<S>]>,
executor: &Executor<Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
Resolve this interface or union into a concrete type Read more
fn resolve(
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<S>]>,
executor: &Executor<Self::Context, S>
) -> Value<S>
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<S>]>,
executor: &Executor<Self::Context, S>
) -> Value<S>
Resolve the provided selection set against the current object. Read more
Auto Trait Implementations
impl Unpin for GetPowerResponse
impl Sync for GetPowerResponse
impl Send for GetPowerResponse
impl UnwindSafe for GetPowerResponse
impl RefUnwindSafe for GetPowerResponse
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,