Struct opcua_server::prelude::SimpleAttributeOperand [−][src]
pub struct SimpleAttributeOperand {
pub type_definition_id: NodeId,
pub browse_path: Option<Vec<QualifiedName, Global>>,
pub attribute_id: u32,
pub index_range: UAString,
}Fields
type_definition_id: NodeIdbrowse_path: Option<Vec<QualifiedName, Global>>attribute_id: u32index_range: UAStringImplementations
pub fn new<T>(
type_definition_id: T,
browse_path: &str,
attribute_id: AttributeId,
index_range: UAString
) -> SimpleAttributeOperand where
T: Into<NodeId>,
Trait Implementations
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. Read more
Encodes the instance to the write stream.
pub fn decode<S>(
stream: &mut S,
decoding_limits: &DecodingLimits
) -> Result<SimpleAttributeOperand, StatusCode> where
S: Read,
pub fn decode<S>(
stream: &mut S,
decoding_limits: &DecodingLimits
) -> Result<SimpleAttributeOperand, StatusCode> where
S: Read,
Decodes an instance from the read stream. The decoding limits are 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. Read more
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SimpleAttributeOperand
impl Send for SimpleAttributeOperand
impl Sync for SimpleAttributeOperand
impl Unpin for SimpleAttributeOperand
impl UnwindSafe for SimpleAttributeOperand
Blanket Implementations
Mutably borrows from an owned value. Read more