pub struct CreateSessionResponse {
pub response_header: ResponseHeader,
pub session_id: NodeId,
pub authentication_token: NodeId,
pub revised_session_timeout: f64,
pub server_nonce: Vec<u8>,
pub server_certificate: Vec<u8>,
pub server_endpoints: Vec<EndpointDescription>,
pub server_signature: SignatureData,
pub max_request_message_size: u32,
}Expand description
CreateSessionResponse.
Fields§
§response_header: ResponseHeaderCommon response header.
session_id: NodeIdSession identifier.
authentication_token: NodeIdAuthentication token for subsequent requests.
revised_session_timeout: f64Revised session timeout in milliseconds.
server_nonce: Vec<u8>Server nonce.
server_certificate: Vec<u8>Server certificate (DER).
server_endpoints: Vec<EndpointDescription>Endpoints the server offers.
server_signature: SignatureDataServer signature over the client nonce+cert (empty for None).
max_request_message_size: u32Maximum request message size.
Trait Implementations§
Source§impl Clone for CreateSessionResponse
impl Clone for CreateSessionResponse
Source§fn clone(&self) -> CreateSessionResponse
fn clone(&self) -> CreateSessionResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateSessionResponse
impl Debug for CreateSessionResponse
Source§impl PartialEq for CreateSessionResponse
impl PartialEq for CreateSessionResponse
Source§fn eq(&self, other: &CreateSessionResponse) -> bool
fn eq(&self, other: &CreateSessionResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateSessionResponse
Auto Trait Implementations§
impl Freeze for CreateSessionResponse
impl RefUnwindSafe for CreateSessionResponse
impl Send for CreateSessionResponse
impl Sync for CreateSessionResponse
impl Unpin for CreateSessionResponse
impl UnsafeUnpin for CreateSessionResponse
impl UnwindSafe for CreateSessionResponse
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