pub struct RemoteEnableRequest {
pub mode: Option<RemoteSessionMode>,
}Expand description
Optional remote session mode (“off”, “export”, or “on”); defaults to enabling both export and remote steering.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§mode: Option<RemoteSessionMode>Per-session remote mode. “off” disables remote, “export” exports session events to GitHub without enabling remote steering, “on” enables both export and remote steering.
Trait Implementations§
Source§impl Clone for RemoteEnableRequest
impl Clone for RemoteEnableRequest
Source§fn clone(&self) -> RemoteEnableRequest
fn clone(&self) -> RemoteEnableRequest
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 RemoteEnableRequest
impl Debug for RemoteEnableRequest
Source§impl Default for RemoteEnableRequest
impl Default for RemoteEnableRequest
Source§fn default() -> RemoteEnableRequest
fn default() -> RemoteEnableRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoteEnableRequest
impl<'de> Deserialize<'de> for RemoteEnableRequest
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 RemoteEnableRequest
impl RefUnwindSafe for RemoteEnableRequest
impl Send for RemoteEnableRequest
impl Sync for RemoteEnableRequest
impl Unpin for RemoteEnableRequest
impl UnsafeUnpin for RemoteEnableRequest
impl UnwindSafe for RemoteEnableRequest
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