pub struct CreateSessionRequest {
pub inherit_from_session_id: Option<SessionId>,
pub mode: CreateSessionMode,
pub project_id: i64,
}Expand description
Explicit input for creating one session.
Fields§
§inherit_from_session_id: Option<SessionId>Existing session whose launch settings should be copied.
When absent, the host resolves the owning project’s current defaults.
mode: CreateSessionModeDetermines whether the session is regular, deferred, or stacked.
project_id: i64Project that owns the new session.
Trait Implementations§
Source§impl Clone for CreateSessionRequest
impl Clone for CreateSessionRequest
Source§impl Debug for CreateSessionRequest
impl Debug for CreateSessionRequest
impl Eq for CreateSessionRequest
Source§impl PartialEq for CreateSessionRequest
impl PartialEq for CreateSessionRequest
impl StructuralPartialEq for CreateSessionRequest
Auto Trait Implementations§
impl Forget for CreateSessionRequest
impl Freeze for CreateSessionRequest
impl Move for CreateSessionRequest
impl RefUnwindSafe for CreateSessionRequest
impl Send for CreateSessionRequest
impl Sync for CreateSessionRequest
impl Unpin for CreateSessionRequest
impl UnsafeUnpin for CreateSessionRequest
impl UnwindSafe for CreateSessionRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.