pub struct PubSubConnectionDataType {
pub name: UAString,
pub enabled: bool,
pub publisher_id: Variant,
pub transport_profile_uri: UAString,
pub address: ExtensionObject,
pub connection_properties: Option<Vec<KeyValuePair>>,
pub transport_settings: ExtensionObject,
pub writer_groups: Option<Vec<WriterGroupDataType>>,
pub reader_groups: Option<Vec<ReaderGroupDataType>>,
}Fields§
§name: UAString§enabled: bool§publisher_id: Variant§transport_profile_uri: UAString§address: ExtensionObject§connection_properties: Option<Vec<KeyValuePair>>§transport_settings: ExtensionObject§writer_groups: Option<Vec<WriterGroupDataType>>§reader_groups: Option<Vec<ReaderGroupDataType>>Trait Implementations§
Source§impl BinaryEncoder<PubSubConnectionDataType> for PubSubConnectionDataType
impl BinaryEncoder<PubSubConnectionDataType> for PubSubConnectionDataType
Source§fn byte_len(&self) -> usize
fn byte_len(&self) -> 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>(&self, stream: &mut S) -> Result<usize, StatusCode>where
S: Write,
fn encode<S>(&self, stream: &mut S) -> Result<usize, StatusCode>where
S: Write,
Encodes the instance to the write stream.
Source§fn decode<S>(
stream: &mut S,
decoding_options: &DecodingOptions,
) -> Result<PubSubConnectionDataType, StatusCode>where
S: Read,
fn decode<S>(
stream: &mut S,
decoding_options: &DecodingOptions,
) -> Result<PubSubConnectionDataType, StatusCode>where
S: Read,
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.fn encode_to_vec(&self) -> Vec<u8> ⓘ
Source§impl Clone for PubSubConnectionDataType
impl Clone for PubSubConnectionDataType
Source§fn clone(&self) -> PubSubConnectionDataType
fn clone(&self) -> PubSubConnectionDataType
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 PubSubConnectionDataType
impl Debug for PubSubConnectionDataType
Source§impl PartialEq for PubSubConnectionDataType
impl PartialEq for PubSubConnectionDataType
impl StructuralPartialEq for PubSubConnectionDataType
Auto Trait Implementations§
impl Freeze for PubSubConnectionDataType
impl RefUnwindSafe for PubSubConnectionDataType
impl Send for PubSubConnectionDataType
impl Sync for PubSubConnectionDataType
impl Unpin for PubSubConnectionDataType
impl UnwindSafe for PubSubConnectionDataType
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