pub struct VisionClient {
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 tag_count: i64,
pub extra: BTreeMap<String, Value>,
}Expand description
One item of GET /data/vision/api/v1/clients — the same shape as
DesignerInfo plus tagCount (openapi).
Fields§
§id: StringClient id.
address: StringRemote client address.
user: StringAuthenticated client user.
project: StringOpen project name.
memory: ValueHeap breakdown as the gateway reports it (openapi: object).
uptime: i64Client uptime in epoch MILLISECONDS.
lastcomm: i64Last communication timestamp, epoch MILLISECONDS.
timeout: i64Client timeout, epoch MILLISECONDS.
timezone: StringClient-side timezone id.
tag_count: i64Subscribed tag count (tagCount on the wire).
extra: BTreeMap<String, Value>Unknown keys round-trip.
Trait Implementations§
Source§impl Clone for VisionClient
impl Clone for VisionClient
Source§fn clone(&self) -> VisionClient
fn clone(&self) -> VisionClient
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 VisionClient
impl Debug for VisionClient
Source§impl<'de> Deserialize<'de> for VisionClient
impl<'de> Deserialize<'de> for VisionClient
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 VisionClient
impl PartialEq for VisionClient
Source§impl Serialize for VisionClient
impl Serialize for VisionClient
impl StructuralPartialEq for VisionClient
Auto Trait Implementations§
impl Freeze for VisionClient
impl RefUnwindSafe for VisionClient
impl Send for VisionClient
impl Sync for VisionClient
impl Unpin for VisionClient
impl UnsafeUnpin for VisionClient
impl UnwindSafe for VisionClient
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