pub struct DbDevInfo {
pub name: Scalar<str>,
pub itr: Scalar<str>,
pub host: Option<Scalar<str>>,
pub version: Scalar<str>,
pub server: Scalar<str>,
pub class: Option<Scalar<str>>,
pub last_exported: Option<Scalar<str>>,
pub last_unexported: Option<Scalar<str>>,
pub exported: bool,
pub pid: Option<i32>,
}Expand description
What the database knows of a device, see DatabaseProxy::get_dev_info.
Fields§
§name: Scalar<str>The name of the device.
itr: Scalar<str>The Interoperable Tango Reference to reach the device.
host: Option<Scalar<str>>The device host.
version: Scalar<str>The device version.
server: Scalar<str>The device server.
class: Option<Scalar<str>>Class of this device.
last_exported: Option<Scalar<str>>When the device was last exported, as the database writes it, if it ever was.
last_unexported: Option<Scalar<str>>When the device was last unexported, as the database writes it, if it ever was.
exported: boolTrue if the device is currently exported by a server.
pid: Option<i32>The last known Process ID of the device’s server.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DbDevInfo
impl Freeze for DbDevInfo
impl RefUnwindSafe for DbDevInfo
impl Send for DbDevInfo
impl Sync for DbDevInfo
impl Unpin for DbDevInfo
impl UnsafeUnpin for DbDevInfo
impl UnwindSafe for DbDevInfo
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