pub struct CloseSessionResponse {
pub status: SessionStatus,
pub session_nb: u16,
}Expand description
close_session_response() (Table 11) — length=3.
Fields§
§status: SessionStatussession_status (Table 12 values).
session_nb: u16session_nb that was closed.
Trait Implementations§
Source§impl Clone for CloseSessionResponse
impl Clone for CloseSessionResponse
Source§fn clone(&self) -> CloseSessionResponse
fn clone(&self) -> CloseSessionResponse
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 CloseSessionResponse
Source§impl Debug for CloseSessionResponse
impl Debug for CloseSessionResponse
impl Eq for CloseSessionResponse
Source§impl<'a> Parse<'a> for CloseSessionResponse
impl<'a> Parse<'a> for CloseSessionResponse
Source§impl PartialEq for CloseSessionResponse
impl PartialEq for CloseSessionResponse
Source§impl Serialize for CloseSessionResponse
Available on crate feature serde only.
impl Serialize for CloseSessionResponse
Available on crate feature
serde only.Source§impl Serialize for CloseSessionResponse
impl Serialize for CloseSessionResponse
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 CloseSessionResponse
Auto Trait Implementations§
impl Freeze for CloseSessionResponse
impl RefUnwindSafe for CloseSessionResponse
impl Send for CloseSessionResponse
impl Sync for CloseSessionResponse
impl Unpin for CloseSessionResponse
impl UnsafeUnpin for CloseSessionResponse
impl UnwindSafe for CloseSessionResponse
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