pub struct SessionDiagnosticsDataType {Show 43 fields
pub session_id: NodeId,
pub session_name: UAString,
pub client_description: ApplicationDescription,
pub server_uri: UAString,
pub endpoint_url: UAString,
pub locale_ids: Option<Vec<LocaleId>>,
pub actual_session_timeout: Duration,
pub max_response_message_size: u32,
pub client_connection_time: UtcTime,
pub client_last_contact_time: UtcTime,
pub current_subscriptions_count: u32,
pub current_monitored_items_count: u32,
pub current_publish_requests_in_queue: u32,
pub total_request_count: ServiceCounterDataType,
pub unauthorized_request_count: u32,
pub read_count: ServiceCounterDataType,
pub history_read_count: ServiceCounterDataType,
pub write_count: ServiceCounterDataType,
pub history_update_count: ServiceCounterDataType,
pub call_count: ServiceCounterDataType,
pub create_monitored_items_count: ServiceCounterDataType,
pub modify_monitored_items_count: ServiceCounterDataType,
pub set_monitoring_mode_count: ServiceCounterDataType,
pub set_triggering_count: ServiceCounterDataType,
pub delete_monitored_items_count: ServiceCounterDataType,
pub create_subscription_count: ServiceCounterDataType,
pub modify_subscription_count: ServiceCounterDataType,
pub set_publishing_mode_count: ServiceCounterDataType,
pub publish_count: ServiceCounterDataType,
pub republish_count: ServiceCounterDataType,
pub transfer_subscriptions_count: ServiceCounterDataType,
pub delete_subscriptions_count: ServiceCounterDataType,
pub add_nodes_count: ServiceCounterDataType,
pub add_references_count: ServiceCounterDataType,
pub delete_nodes_count: ServiceCounterDataType,
pub delete_references_count: ServiceCounterDataType,
pub browse_count: ServiceCounterDataType,
pub browse_next_count: ServiceCounterDataType,
pub translate_browse_paths_to_node_ids_count: ServiceCounterDataType,
pub query_first_count: ServiceCounterDataType,
pub query_next_count: ServiceCounterDataType,
pub register_nodes_count: ServiceCounterDataType,
pub unregister_nodes_count: ServiceCounterDataType,
}Expand description
https://reference.opcfoundation.org/v105/Core/docs/Part5/12.11
Fields§
§session_id: NodeId§session_name: UAString§client_description: ApplicationDescription§server_uri: UAString§endpoint_url: UAString§locale_ids: Option<Vec<LocaleId>>§actual_session_timeout: Duration§max_response_message_size: u32§client_connection_time: UtcTime§client_last_contact_time: UtcTime§current_subscriptions_count: u32§current_monitored_items_count: u32§current_publish_requests_in_queue: u32§total_request_count: ServiceCounterDataType§read_count: ServiceCounterDataType§history_read_count: ServiceCounterDataType§write_count: ServiceCounterDataType§history_update_count: ServiceCounterDataType§call_count: ServiceCounterDataType§create_monitored_items_count: ServiceCounterDataType§modify_monitored_items_count: ServiceCounterDataType§set_monitoring_mode_count: ServiceCounterDataType§set_triggering_count: ServiceCounterDataType§delete_monitored_items_count: ServiceCounterDataType§create_subscription_count: ServiceCounterDataType§modify_subscription_count: ServiceCounterDataType§set_publishing_mode_count: ServiceCounterDataType§publish_count: ServiceCounterDataType§republish_count: ServiceCounterDataType§transfer_subscriptions_count: ServiceCounterDataType§delete_subscriptions_count: ServiceCounterDataType§add_nodes_count: ServiceCounterDataType§add_references_count: ServiceCounterDataType§delete_nodes_count: ServiceCounterDataType§delete_references_count: ServiceCounterDataType§browse_count: ServiceCounterDataType§browse_next_count: ServiceCounterDataType§translate_browse_paths_to_node_ids_count: ServiceCounterDataType§query_first_count: ServiceCounterDataType§query_next_count: ServiceCounterDataType§register_nodes_count: ServiceCounterDataType§unregister_nodes_count: ServiceCounterDataTypeTrait Implementations§
Source§impl BinaryDecodable for SessionDiagnosticsDataType
impl BinaryDecodable for SessionDiagnosticsDataType
Source§fn decode<S: Read + ?Sized>(
stream: &mut S,
ctx: &Context<'_>,
) -> EncodingResult<Self>
fn decode<S: Read + ?Sized>( stream: &mut S, ctx: &Context<'_>, ) -> EncodingResult<Self>
Decodes an instance from the read stream. The decoding options contains restrictions set by
the server / client on the length of strings, arrays etc. If these limits are exceeded the
implementation should return with a
BadDecodingError as soon as possible.Source§impl BinaryEncodable for SessionDiagnosticsDataType
impl BinaryEncodable for SessionDiagnosticsDataType
Source§fn byte_len(&self, ctx: &Context<'_>) -> usize
fn byte_len(&self, ctx: &Context<'_>) -> usize
Returns the exact byte length of the structure as it would be if
encode were called.
This may be called prior to writing to ensure the correct amount of space is available.Source§fn encode<S: Write + ?Sized>(
&self,
stream: &mut S,
ctx: &Context<'_>,
) -> EncodingResult<()>
fn encode<S: Write + ?Sized>( &self, stream: &mut S, ctx: &Context<'_>, ) -> EncodingResult<()>
Encodes the instance to the write stream.
Source§fn override_encoding(&self) -> Option<BuiltInDataEncoding>
fn override_encoding(&self) -> Option<BuiltInDataEncoding>
Override the extension object encoding used for this type.
This only makes sense if the type can only ever be encoded using a single
built-in encoding.
Source§impl Clone for SessionDiagnosticsDataType
impl Clone for SessionDiagnosticsDataType
Source§fn clone(&self) -> SessionDiagnosticsDataType
fn clone(&self) -> SessionDiagnosticsDataType
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionDiagnosticsDataType
impl Debug for SessionDiagnosticsDataType
Source§impl Default for SessionDiagnosticsDataType
impl Default for SessionDiagnosticsDataType
Source§fn default() -> SessionDiagnosticsDataType
fn default() -> SessionDiagnosticsDataType
Returns the “default value” for a type. Read more
Source§impl JsonDecodable for SessionDiagnosticsDataType
impl JsonDecodable for SessionDiagnosticsDataType
Source§fn decode(
stream: &mut JsonStreamReader<&mut dyn Read>,
ctx: &Context<'_>,
) -> EncodingResult<Self>
fn decode( stream: &mut JsonStreamReader<&mut dyn Read>, ctx: &Context<'_>, ) -> EncodingResult<Self>
Decode Self from a JSON stream.
Source§impl JsonEncodable for SessionDiagnosticsDataType
impl JsonEncodable for SessionDiagnosticsDataType
Source§fn encode(
&self,
stream: &mut JsonStreamWriter<&mut dyn Write>,
ctx: &Context<'_>,
) -> EncodingResult<()>
fn encode( &self, stream: &mut JsonStreamWriter<&mut dyn Write>, ctx: &Context<'_>, ) -> EncodingResult<()>
Write the type to the provided JSON writer.
Source§impl MessageInfo for SessionDiagnosticsDataType
impl MessageInfo for SessionDiagnosticsDataType
Source§fn json_type_id(&self) -> ObjectId
fn json_type_id(&self) -> ObjectId
The JSON type id associated with the message.
Source§fn xml_type_id(&self) -> ObjectId
fn xml_type_id(&self) -> ObjectId
The XML type id associated with the message.
Source§fn data_type_id(&self) -> DataTypeId
fn data_type_id(&self) -> DataTypeId
The data type id associated with the message.
Source§impl UaNullable for SessionDiagnosticsDataType
impl UaNullable for SessionDiagnosticsDataType
Source§fn is_ua_null(&self) -> bool
fn is_ua_null(&self) -> bool
Return true if this value is null, meaning it can be left out when
being encoded in JSON and XML encodings.
Source§impl XmlDecodable for SessionDiagnosticsDataType
impl XmlDecodable for SessionDiagnosticsDataType
Source§fn decode(
stream: &mut XmlStreamReader<&mut dyn Read>,
ctx: &Context<'_>,
) -> EncodingResult<Self>
fn decode( stream: &mut XmlStreamReader<&mut dyn Read>, ctx: &Context<'_>, ) -> EncodingResult<Self>
Decode a value from an XML stream.
Source§impl XmlEncodable for SessionDiagnosticsDataType
impl XmlEncodable for SessionDiagnosticsDataType
Source§fn encode(
&self,
stream: &mut XmlStreamWriter<&mut dyn Write>,
ctx: &Context<'_>,
) -> EncodingResult<()>
fn encode( &self, stream: &mut XmlStreamWriter<&mut dyn Write>, ctx: &Context<'_>, ) -> EncodingResult<()>
Encode a value to an XML stream.
Source§impl XmlType for SessionDiagnosticsDataType
impl XmlType for SessionDiagnosticsDataType
impl StructuralPartialEq for SessionDiagnosticsDataType
Auto Trait Implementations§
impl Freeze for SessionDiagnosticsDataType
impl RefUnwindSafe for SessionDiagnosticsDataType
impl Send for SessionDiagnosticsDataType
impl Sync for SessionDiagnosticsDataType
impl Unpin for SessionDiagnosticsDataType
impl UnwindSafe for SessionDiagnosticsDataType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DynEncodable for Twhere
T: BinaryEncodable + JsonEncodable + XmlEncodable + ExpandedMessageInfo + Any + Debug + Send + Sync + Clone + PartialEq,
impl<T> DynEncodable for Twhere
T: BinaryEncodable + JsonEncodable + XmlEncodable + ExpandedMessageInfo + Any + Debug + Send + Sync + Clone + PartialEq,
Source§fn encode_binary(
&self,
stream: &mut dyn Write,
ctx: &Context<'_>,
) -> Result<(), Error>
fn encode_binary( &self, stream: &mut dyn Write, ctx: &Context<'_>, ) -> Result<(), Error>
Encode the struct using OPC-UA binary encoding.
Source§fn encode_json(
&self,
stream: &mut JsonStreamWriter<&mut dyn Write>,
ctx: &Context<'_>,
) -> Result<(), Error>
fn encode_json( &self, stream: &mut JsonStreamWriter<&mut dyn Write>, ctx: &Context<'_>, ) -> Result<(), Error>
Encode the struct using reversible OPC-UA JSON encoding.
Source§fn encode_xml(
&self,
stream: &mut XmlStreamWriter<&mut dyn Write>,
ctx: &Context<'_>,
) -> Result<(), Error>
fn encode_xml( &self, stream: &mut XmlStreamWriter<&mut dyn Write>, ctx: &Context<'_>, ) -> Result<(), Error>
Encode the struct using OPC-UA XML encoding.
Source§fn xml_tag_name(&self) -> &str
fn xml_tag_name(&self) -> &str
The XML tag name for this struct.
Source§fn byte_len_dyn(&self, ctx: &Context<'_>) -> usize
fn byte_len_dyn(&self, ctx: &Context<'_>) -> usize
Get the binary byte length of this struct.
Source§fn binary_type_id(&self) -> ExpandedNodeId
fn binary_type_id(&self) -> ExpandedNodeId
Get the binary encoding ID of this struct.
Source§fn json_type_id(&self) -> ExpandedNodeId
fn json_type_id(&self) -> ExpandedNodeId
Get the JSON encoding ID of this struct.
Source§fn xml_type_id(&self) -> ExpandedNodeId
fn xml_type_id(&self) -> ExpandedNodeId
Get the XML encoding ID of this struct.
Source§fn data_type_id(&self) -> ExpandedNodeId
fn data_type_id(&self) -> ExpandedNodeId
Get the data type ID of this struct.
Source§fn as_dyn_any(self: Box<T>) -> Box<dyn Any + Sync + Send>
fn as_dyn_any(self: Box<T>) -> Box<dyn Any + Sync + Send>
Method to cast this to a dyn Any box, required for downcasting.
Source§fn as_dyn_any_ref(&self) -> &(dyn Any + Sync + Send + 'static)
fn as_dyn_any_ref(&self) -> &(dyn Any + Sync + Send + 'static)
Method to cast this to a dyn Any trait object, required for downcasting by reference.
Source§fn clone_box(&self) -> Box<dyn DynEncodable>
fn clone_box(&self) -> Box<dyn DynEncodable>
Clone this to a dyn box. Required in order to implement Clone for ExtensionObject.
Source§fn dyn_eq(&self, other: &(dyn DynEncodable + 'static)) -> bool
fn dyn_eq(&self, other: &(dyn DynEncodable + 'static)) -> bool
Compare this with dynamic object. Invokes the PartialEq implementation of self and other,
if other has type
Self.Source§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
Get the type name of the type, by calling
std::any::type_name on Self.
Very useful for debugging.Source§fn override_encoding(&self) -> Option<BuiltInDataEncoding>
fn override_encoding(&self) -> Option<BuiltInDataEncoding>
Override the extension object encoding used for this type.
This only makes sense if the type can only ever be encoded using a single
built-in encoding.
Source§impl<T> EventField for Twhere
T: IntoVariant + Clone,
impl<T> EventField for Twhere
T: IntoVariant + Clone,
Source§fn get_value(
&self,
attribute_id: AttributeId,
index_range: &NumericRange,
remaining_path: &[QualifiedName],
) -> Variant
fn get_value( &self, attribute_id: AttributeId, index_range: &NumericRange, remaining_path: &[QualifiedName], ) -> Variant
Get the variant representation of this field, using the given index range. Read more
Source§impl<T> ExpandedMessageInfo for Twhere
T: MessageInfo,
impl<T> ExpandedMessageInfo for Twhere
T: MessageInfo,
Source§fn full_type_id(&self) -> ExpandedNodeId
fn full_type_id(&self) -> ExpandedNodeId
The binary type id associated with the message.
Source§fn full_json_type_id(&self) -> ExpandedNodeId
fn full_json_type_id(&self) -> ExpandedNodeId
The JSON type id associated with the message.
Source§fn full_xml_type_id(&self) -> ExpandedNodeId
fn full_xml_type_id(&self) -> ExpandedNodeId
The XML type id associated with the message.
Source§fn full_data_type_id(&self) -> ExpandedNodeId
fn full_data_type_id(&self) -> ExpandedNodeId
The data type ID associated with the message.
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoVariant for Twhere
T: DynEncodable,
impl<T> IntoVariant for Twhere
T: DynEncodable,
Source§fn into_variant(self) -> Variant
fn into_variant(self) -> Variant
Convert self into a variant.
Source§impl<T> TryFromVariant for Twhere
T: DynEncodable,
impl<T> TryFromVariant for Twhere
T: DynEncodable,
Source§impl<T> VariantType for Twhere
T: DynEncodable,
impl<T> VariantType for Twhere
T: DynEncodable,
Source§fn variant_type_id() -> VariantScalarTypeId
fn variant_type_id() -> VariantScalarTypeId
The variant kind this type will be represented as.