pub struct NodeInfo {
pub profile: String,
pub board: Option<BoardInfo>,
pub ground_station: GroundStationInfo,
pub camera: CameraInfo,
}Expand description
Everything node.info answers.
Fields§
§profile: StringThe node profile in wire form: drone, ground-station, workstation
or compute.
board: Option<BoardInfo>The board, or None when the board sidecar is absent or unreadable (a
node that has not probed yet).
ground_station: GroundStationInfoThe ground-station facts. role is None on every profile other than
ground-station.
camera: CameraInfoThe camera facts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeInfo
impl<'de> Deserialize<'de> for NodeInfo
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 StructuralPartialEq for NodeInfo
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnsafeUnpin for NodeInfo
impl UnwindSafe for NodeInfo
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