pub struct CloseSessionCommand {
pub session_id: SessionIdDto,
}
Expand description
Close session gracefully
Fields§
§session_id: SessionIdDto
Trait Implementations§
Source§impl Clone for CloseSessionCommand
impl Clone for CloseSessionCommand
Source§fn clone(&self) -> CloseSessionCommand
fn clone(&self) -> CloseSessionCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<R, P> CommandHandler<CloseSessionCommand, ()> for SessionCommandHandler<R, P>
impl<R, P> CommandHandler<CloseSessionCommand, ()> for SessionCommandHandler<R, P>
fn handle<'life0, 'async_trait>(
&'life0 self,
command: CloseSessionCommand,
) -> Pin<Box<dyn Future<Output = ApplicationResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Debug for CloseSessionCommand
impl Debug for CloseSessionCommand
Source§impl<'de> Deserialize<'de> for CloseSessionCommand
impl<'de> Deserialize<'de> for CloseSessionCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CloseSessionCommand
impl RefUnwindSafe for CloseSessionCommand
impl Send for CloseSessionCommand
impl Sync for CloseSessionCommand
impl Unpin for CloseSessionCommand
impl UnwindSafe for CloseSessionCommand
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