pub struct RigWriteReply {
pub status: u16,
pub body_json: String,
}Expand description
sensors.rig.write reply: the control plane’s HTTP status and JSON body
({"ok":true,"rig_id","calib_version"} or {"error":"E_RIG_INVALID", "detail"}), the body as JSON text.
Fields§
§status: u16§body_json: StringTrait Implementations§
Source§impl Clone for RigWriteReply
impl Clone for RigWriteReply
Source§impl Debug for RigWriteReply
impl Debug for RigWriteReply
Source§impl<'de> Deserialize<'de> for RigWriteReply
impl<'de> Deserialize<'de> for RigWriteReply
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
impl Eq for RigWriteReply
Source§impl PartialEq for RigWriteReply
impl PartialEq for RigWriteReply
Source§impl Serialize for RigWriteReply
impl Serialize for RigWriteReply
impl StructuralPartialEq for RigWriteReply
Auto Trait Implementations§
impl Freeze for RigWriteReply
impl RefUnwindSafe for RigWriteReply
impl Send for RigWriteReply
impl Sync for RigWriteReply
impl Unpin for RigWriteReply
impl UnsafeUnpin for RigWriteReply
impl UnwindSafe for RigWriteReply
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.