pub struct CreateSessionResponse {
pub status: SessionStatus,
pub resource: ResourceId,
pub session_nb: u16,
}Expand description
create_session_response() (Table 9) — module → host, length=7.
Fields§
§status: SessionStatussession_status.
resource: ResourceIdThe resource_identifier().
session_nb: u16session_nb (equals the create_session it replies to).
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 moreimpl Copy for CreateSessionResponse
Source§impl Debug for CreateSessionResponse
impl Debug for CreateSessionResponse
impl Eq for CreateSessionResponse
Source§impl<'a> Parse<'a> for CreateSessionResponse
impl<'a> Parse<'a> for CreateSessionResponse
Source§impl PartialEq for CreateSessionResponse
impl PartialEq for CreateSessionResponse
Source§impl Serialize for CreateSessionResponse
Available on crate feature serde only.
impl Serialize for CreateSessionResponse
Available on crate feature
serde only.Source§impl Serialize for CreateSessionResponse
impl Serialize for CreateSessionResponse
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.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