pub struct FlightRequest {
pub data: Map<String, Value>,
}Expand description
Flight initialization payload wrapper used for start/update flight REST operations.
JSON schema
{
"description": "Flight initialization payload wrapper used for start/update flight REST operations.\n",
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"description": "Flight initialization object compatible with X-Plane's Flight Initialization API.\n",
"type": "object",
"additionalProperties": true
}
}
}Fields§
§data: Map<String, Value>Flight initialization object compatible with X-Plane’s Flight Initialization API.
Trait Implementations§
Source§impl Clone for FlightRequest
impl Clone for FlightRequest
Source§fn clone(&self) -> FlightRequest
fn clone(&self) -> FlightRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlightRequest
impl Debug for FlightRequest
Source§impl<'de> Deserialize<'de> for FlightRequest
impl<'de> Deserialize<'de> for FlightRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FlightRequest
impl RefUnwindSafe for FlightRequest
impl Send for FlightRequest
impl Sync for FlightRequest
impl Unpin for FlightRequest
impl UnsafeUnpin for FlightRequest
impl UnwindSafe for FlightRequest
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