pub struct CreateManagedSession {
pub title: Option<String>,
pub profile: Option<String>,
pub workspace: Option<String>,
pub metadata: BTreeMap<String, Value>,
pub idempotency_key: String,
}Expand description
Allowlisted create-session command.
Fields§
§title: Option<String>Optional title.
profile: Option<String>Optional configured profile id.
workspace: Option<String>Host-approved workspace reference/display value.
metadata: BTreeMap<String, Value>Approved typed metadata only.
idempotency_key: StringStable idempotency key.
Trait Implementations§
Source§impl Clone for CreateManagedSession
impl Clone for CreateManagedSession
Source§fn clone(&self) -> CreateManagedSession
fn clone(&self) -> CreateManagedSession
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 moreSource§impl Debug for CreateManagedSession
impl Debug for CreateManagedSession
Source§impl<'de> Deserialize<'de> for CreateManagedSession
impl<'de> Deserialize<'de> for CreateManagedSession
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
impl Eq for CreateManagedSession
Source§impl PartialEq for CreateManagedSession
impl PartialEq for CreateManagedSession
Source§impl Serialize for CreateManagedSession
impl Serialize for CreateManagedSession
impl StructuralPartialEq for CreateManagedSession
Auto Trait Implementations§
impl Freeze for CreateManagedSession
impl RefUnwindSafe for CreateManagedSession
impl Send for CreateManagedSession
impl Sync for CreateManagedSession
impl Unpin for CreateManagedSession
impl UnsafeUnpin for CreateManagedSession
impl UnwindSafe for CreateManagedSession
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