Struct clyde_3g_eps_service::models::version::VersionData
source · [−]pub struct VersionData {
pub motherboard: VersionNum,
pub daughterboard: Option<VersionNum>,
}
Expand description
High-level version data structure
Fields
motherboard: VersionNum
Motherboard version information
daughterboard: Option<VersionNum>
Daugtherboard version information
Trait Implementations
sourceimpl Clone for VersionData
impl Clone for VersionData
sourcefn clone(&self) -> VersionData
fn clone(&self) -> VersionData
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 Debug for VersionData
impl Debug for VersionData
sourceimpl From<VersionInfo> for VersionData
impl From<VersionInfo> for VersionData
sourcefn from(info: VersionInfo) -> Self
fn from(info: VersionInfo) -> Self
Converts to this type from the input type.
sourceimpl<__S> GraphQLType<__S> for VersionData where
__S: ScalarValue,
for<'__b> &'__b __S: ScalarRefValue<'__b>,
impl<__S> GraphQLType<__S> for VersionData where
__S: ScalarValue,
for<'__b> &'__b __S: ScalarRefValue<'__b>,
sourcefn concrete_type_name(&self, _: &Self::Context, _: &()) -> String
fn concrete_type_name(&self, _: &Self::Context, _: &()) -> String
Return the concrete type name for this instance/union. Read more
sourcefn meta<'r>(_: &(), registry: &mut Registry<'r, __S>) -> MetaType<'r, __S> where
__S: 'r,
fn meta<'r>(_: &(), registry: &mut Registry<'r, __S>) -> MetaType<'r, __S> where
__S: 'r,
The meta type representing this GraphQL type.
sourcefn resolve_field(
&self,
_: &(),
field_name: &str,
_: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
fn resolve_field(
&self,
_: &(),
field_name: &str,
_: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
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 VersionData
impl Send for VersionData
impl Sync for VersionData
impl Unpin for VersionData
impl UnwindSafe for VersionData
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