Struct opcua_types::service_types::CreateSessionRequest
[−]
[src]
pub struct CreateSessionRequest {
pub request_header: RequestHeader,
pub client_description: ApplicationDescription,
pub server_uri: UAString,
pub endpoint_url: UAString,
pub session_name: UAString,
pub client_nonce: ByteString,
pub client_certificate: ByteString,
pub requested_session_timeout: Double,
pub max_response_message_size: UInt32,
}Creates a new session with the server.
Fields
request_header: RequestHeader
client_description: ApplicationDescription
server_uri: UAString
endpoint_url: UAString
session_name: UAString
client_nonce: ByteString
client_certificate: ByteString
requested_session_timeout: Double
max_response_message_size: UInt32
Trait Implementations
impl Debug for CreateSessionRequest[src]
impl Clone for CreateSessionRequest[src]
fn clone(&self) -> CreateSessionRequest[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 CreateSessionRequest[src]
fn eq(&self, __arg_0: &CreateSessionRequest) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CreateSessionRequest) -> bool[src]
This method tests for !=.
impl MessageInfo for CreateSessionRequest[src]
impl BinaryEncoder<CreateSessionRequest> for CreateSessionRequest[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.