Struct opcua_types::service_types::OpenSecureChannelRequest
[−]
[src]
pub struct OpenSecureChannelRequest {
pub request_header: RequestHeader,
pub client_protocol_version: UInt32,
pub request_type: SecurityTokenRequestType,
pub security_mode: MessageSecurityMode,
pub client_nonce: ByteString,
pub requested_lifetime: UInt32,
}Creates a secure channel with a server.
Fields
request_header: RequestHeader
client_protocol_version: UInt32
request_type: SecurityTokenRequestType
security_mode: MessageSecurityMode
client_nonce: ByteString
requested_lifetime: UInt32
Trait Implementations
impl Debug for OpenSecureChannelRequest[src]
impl Clone for OpenSecureChannelRequest[src]
fn clone(&self) -> OpenSecureChannelRequest[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for OpenSecureChannelRequest[src]
fn eq(&self, __arg_0: &OpenSecureChannelRequest) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &OpenSecureChannelRequest) -> bool[src]
This method tests for !=.
impl MessageInfo for OpenSecureChannelRequest[src]
impl BinaryEncoder<OpenSecureChannelRequest> for OpenSecureChannelRequest[src]
fn byte_len(&self) -> usize[src]
Returns the byte length of the structure. This calculation should be exact and as efficient as possible. Read more
fn encode<S: Write>(&self, stream: &mut S) -> EncodingResult<usize>[src]
Encodes the instance to the write stream.
fn decode<S: Read>(stream: &mut S) -> EncodingResult<Self>[src]
Decodes an instance from the read stream.