Struct iobc_supervisor_service::model::Supervisor
source · [−]pub struct Supervisor;
Implementations
sourceimpl Supervisor
impl Supervisor
pub fn new() -> Supervisor
pub fn version(&self) -> Result<SupervisorVersion, String>
pub fn housekeeping(&self) -> Result<SupervisorHousekeeping, String>
Trait Implementations
sourceimpl Clone for Supervisor
impl Clone for Supervisor
sourcefn clone(&self) -> Supervisor
fn clone(&self) -> Supervisor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl GraphQLType<DefaultScalarValue> for Supervisor
impl GraphQLType<DefaultScalarValue> for Supervisor
type Context = Context<Supervisor>
type Context = Context<Supervisor>
The expected context type for this GraphQL type Read more
sourcefn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, DefaultScalarValue>
) -> MetaType<'r, DefaultScalarValue> where
for<'__b> &'__b DefaultScalarValue: ScalarRefValue<'__b>,
DefaultScalarValue: 'r,
fn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, DefaultScalarValue>
) -> MetaType<'r, DefaultScalarValue> where
for<'__b> &'__b DefaultScalarValue: ScalarRefValue<'__b>,
DefaultScalarValue: 'r,
The meta type representing this GraphQL type.
sourcefn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
Return the concrete type name for this instance/union. Read more
sourcefn resolve_field(
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<'_, DefaultScalarValue>,
executor: &Executor<'_, Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
fn resolve_field(
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<'_, DefaultScalarValue>,
executor: &Executor<'_, Self::Context, DefaultScalarValue>
) -> ExecutionResult<DefaultScalarValue>
Resolve the value of a single field on this type. Read more
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>>
Resolve this interface or union into a concrete type Read more
Auto Trait Implementations
impl RefUnwindSafe for Supervisor
impl Send for Supervisor
impl Sync for Supervisor
impl Unpin for Supervisor
impl UnwindSafe for Supervisor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more