pub struct PositionInput {
pub latitude: f64,
pub longitude: f64,
pub moving_activity: MovingActivity,
}
Expand description
Position input struct
Fields§
§latitude: f64
§longitude: f64
§moving_activity: MovingActivity
Trait Implementations§
Source§impl InputType for PositionInput
impl InputType for PositionInput
Source§type RawValueType = PositionInput
type RawValueType = PositionInput
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.
§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
impl InputObjectType for PositionInput
Auto Trait Implementations§
impl Freeze for PositionInput
impl RefUnwindSafe for PositionInput
impl Send for PositionInput
impl Sync for PositionInput
impl Unpin for PositionInput
impl UnwindSafe for PositionInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more