pub struct Versions {
pub firmware_version: String,
pub maia_httpd_git: String,
pub maia_httpd_version: String,
pub maia_hdl_version: String,
}Expand description
Versions information.
This JSON schema corresponds to GET requests on /api/versions.
Fields§
§firmware_version: StringFirmware version.
This is obtained from the fw_version variable in /etc/libiio.ini.
maia_httpd_git: Stringgit version for maia-httpd.
This is the git version of the maia-sdr repository checkout from which maia-httpd was built.
maia_httpd_version: Stringmaia-httpd version.
This is the version of the maia-httpd crate as reported by cargo.
maia_hdl_version: Stringmaia-hdl version.
This is the version of the maia-hdl IP core as reported by the IP core registers.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Versions
impl<'de> Deserialize<'de> for Versions
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 Versions
impl StructuralPartialEq for Versions
Auto Trait Implementations§
impl Freeze for Versions
impl RefUnwindSafe for Versions
impl Send for Versions
impl Sync for Versions
impl Unpin for Versions
impl UnwindSafe for Versions
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