[−][src]Struct isis_ants_service::GetPowerResponse
Response fields for 'power' query
Fields
state: PowerState
Current power status
uptime: u32
System uptime, in seconds
Trait Implementations
impl GraphQLType<DefaultScalarValue> for GetPowerResponse
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(_: &Self::TypeInfo) -> Option<&str>
fn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, DefaultScalarValue>
) -> MetaType<'r, DefaultScalarValue> where
&'__b DefaultScalarValue: ScalarRefValue<'__b>,
DefaultScalarValue: 'r,
info: &Self::TypeInfo,
registry: &mut Registry<'r, DefaultScalarValue>
) -> MetaType<'r, DefaultScalarValue> where
&'__b DefaultScalarValue: ScalarRefValue<'__b>,
DefaultScalarValue: 'r,
fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
fn resolve_field(
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<DefaultScalarValue>,
executor: &Executor<Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<DefaultScalarValue>,
executor: &Executor<Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
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>>
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>
Auto Trait Implementations
impl Send for GetPowerResponse
impl Unpin for GetPowerResponse
impl Sync for GetPowerResponse
impl UnwindSafe for GetPowerResponse
impl RefUnwindSafe for GetPowerResponse
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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>,