pub struct ParamsResponse {
pub params: BTreeMap<String, f64>,
pub count: u64,
pub cached: u64,
pub priming: bool,
pub priming_timeout: bool,
pub priming_send_failed: bool,
pub progress: Option<ParamProgress>,
pub extra: Extra,
}Expand description
The flight-controller parameter list (GET /api/params).
Fields§
§params: BTreeMap<String, f64>Parameter name to value. Parameters are carried as floats on the wire; an integer parameter is the exact float of that integer.
count: u64The FC-advertised total when known, else the cached count.
cached: u64How many parameters have landed in the cache.
priming: boolWhether the priming sweep is still running.
priming_timeout: boolThe FC stayed silent past the sweep deadline.
priming_send_failed: boolThe sweep request itself failed at the link layer.
progress: Option<ParamProgress>Sweep progress, when reported.
extra: ExtraAny extra envelope fields.
Trait Implementations§
Source§impl Clone for ParamsResponse
impl Clone for ParamsResponse
Source§impl Debug for ParamsResponse
impl Debug for ParamsResponse
Source§impl Default for ParamsResponse
impl Default for ParamsResponse
Source§impl<'de> Deserialize<'de> for ParamsResponse
impl<'de> Deserialize<'de> for ParamsResponse
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
Source§impl PartialEq for ParamsResponse
impl PartialEq for ParamsResponse
Source§impl Serialize for ParamsResponse
impl Serialize for ParamsResponse
impl StructuralPartialEq for ParamsResponse
Auto Trait Implementations§
impl Freeze for ParamsResponse
impl RefUnwindSafe for ParamsResponse
impl Send for ParamsResponse
impl Sync for ParamsResponse
impl Unpin for ParamsResponse
impl UnsafeUnpin for ParamsResponse
impl UnwindSafe for ParamsResponse
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