pub struct SessionsOpenCloud {
pub kind: SessionsOpenCloudKind,
pub options: Option<SessionOpenOptions>,
pub owner: Option<String>,
pub repository: Option<RemoteSessionRepository>,
/* private fields */
}Expand description
Parameters for creating a new cloud session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§kind: SessionsOpenCloudKindCreate a new cloud (coding-agent) session.
options: Option<SessionOpenOptions>Session options for cloud session creation.
owner: Option<String>Optional owner (user or organization login) to associate with the cloud session when no repository is provided. Ignored when repository is set (the repo’s owner takes precedence).
repository: Option<RemoteSessionRepository>Repository for the cloud session.
Trait Implementations§
Source§impl Clone for SessionsOpenCloud
impl Clone for SessionsOpenCloud
Source§fn clone(&self) -> SessionsOpenCloud
fn clone(&self) -> SessionsOpenCloud
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 SessionsOpenCloud
impl Debug for SessionsOpenCloud
Source§impl Default for SessionsOpenCloud
impl Default for SessionsOpenCloud
Source§fn default() -> SessionsOpenCloud
fn default() -> SessionsOpenCloud
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionsOpenCloud
impl<'de> Deserialize<'de> for SessionsOpenCloud
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 SessionsOpenCloud
impl RefUnwindSafe for SessionsOpenCloud
impl Send for SessionsOpenCloud
impl Sync for SessionsOpenCloud
impl Unpin for SessionsOpenCloud
impl UnsafeUnpin for SessionsOpenCloud
impl UnwindSafe for SessionsOpenCloud
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