pub struct CreateSessionCommand {
pub config: SessionConfig,
pub client_info: Option<String>,
pub user_agent: Option<String>,
pub ip_address: Option<String>,
}
Expand description
Create new streaming session
Fields§
§config: SessionConfig
§client_info: Option<String>
§user_agent: Option<String>
§ip_address: Option<String>
Trait Implementations§
Source§impl Clone for CreateSessionCommand
impl Clone for CreateSessionCommand
Source§fn clone(&self) -> CreateSessionCommand
fn clone(&self) -> CreateSessionCommand
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<CreateSessionCommand, SessionId> for SessionCommandHandler<R, P>
impl<R, P> CommandHandler<CreateSessionCommand, SessionId> for SessionCommandHandler<R, P>
fn handle<'life0, 'async_trait>(
&'life0 self,
command: CreateSessionCommand,
) -> Pin<Box<dyn Future<Output = ApplicationResult<SessionId>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Debug for CreateSessionCommand
impl Debug for CreateSessionCommand
Source§impl<'de> Deserialize<'de> for CreateSessionCommand
impl<'de> Deserialize<'de> for CreateSessionCommand
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 CreateSessionCommand
impl RefUnwindSafe for CreateSessionCommand
impl Send for CreateSessionCommand
impl Sync for CreateSessionCommand
impl Unpin for CreateSessionCommand
impl UnwindSafe for CreateSessionCommand
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