pub struct DesignerInfo {
pub id: String,
pub address: String,
pub user: String,
pub project: String,
pub memory: Value,
pub uptime: i64,
pub lastcomm: i64,
pub timeout: i64,
pub timezone: String,
pub extra: BTreeMap<String, Value>,
}Expand description
One item of GET /data/api/v1/designers (openapi: id, user,
uptime, lastcomm, timeout, memory (an OBJECT — heap
breakdown), project, address, timezone).
Fields§
§id: StringSession id.
address: StringRemote designer address, e.g. "192.168.1.50:52526".
user: StringAuthenticated designer user.
project: StringOpen project name.
memory: ValueHeap breakdown as the gateway reports it (openapi: object) — raw passthrough, unit semantics are the gateway’s.
uptime: i64Session uptime in epoch MILLISECONDS (same scale as
overview.uptime).
lastcomm: i64Last communication timestamp, epoch MILLISECONDS.
timeout: i64Session timeout, epoch MILLISECONDS.
timezone: StringDesigner-side timezone id.
extra: BTreeMap<String, Value>Unknown keys round-trip (passthrough-shaped --json).
Trait Implementations§
Source§impl Clone for DesignerInfo
impl Clone for DesignerInfo
Source§fn clone(&self) -> DesignerInfo
fn clone(&self) -> DesignerInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DesignerInfo
impl Debug for DesignerInfo
Source§impl<'de> Deserialize<'de> for DesignerInfo
impl<'de> Deserialize<'de> for DesignerInfo
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 DesignerInfo
impl PartialEq for DesignerInfo
Source§impl Serialize for DesignerInfo
impl Serialize for DesignerInfo
impl StructuralPartialEq for DesignerInfo
Auto Trait Implementations§
impl Freeze for DesignerInfo
impl RefUnwindSafe for DesignerInfo
impl Send for DesignerInfo
impl Sync for DesignerInfo
impl Unpin for DesignerInfo
impl UnsafeUnpin for DesignerInfo
impl UnwindSafe for DesignerInfo
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