pub struct RemoteProcessStartRequest {
pub protocol_version: u32,
pub id: String,
pub input: RemoteProcessInput,
pub env_spec: Option<RemoteProcessExecutionEnvSpec>,
pub originator: RemoteProcessOriginator,
pub wake_target: Option<RemoteSessionScope>,
pub grant: Option<RemoteProcessStartGrant>,
pub event_types: Vec<RemoteProcessEventType>,
}Fields§
§protocol_version: u32§id: String§input: RemoteProcessInput§env_spec: Option<RemoteProcessExecutionEnvSpec>§originator: RemoteProcessOriginator§wake_target: Option<RemoteSessionScope>§grant: Option<RemoteProcessStartGrant>§event_types: Vec<RemoteProcessEventType>Implementations§
Source§impl RemoteProcessStartRequest
impl RemoteProcessStartRequest
pub fn validate(&self) -> Result<(), RemoteProtocolError>
Trait Implementations§
Source§impl Clone for RemoteProcessStartRequest
impl Clone for RemoteProcessStartRequest
Source§fn clone(&self) -> RemoteProcessStartRequest
fn clone(&self) -> RemoteProcessStartRequest
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 RemoteProcessStartRequest
impl Debug for RemoteProcessStartRequest
Source§impl<'de> Deserialize<'de> for RemoteProcessStartRequest
impl<'de> Deserialize<'de> for RemoteProcessStartRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RemoteProcessStartRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RemoteProcessStartRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for RemoteProcessStartRequest
impl JsonSchema for RemoteProcessStartRequest
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RemoteProcessStartRequest
impl PartialEq for RemoteProcessStartRequest
Source§fn eq(&self, other: &RemoteProcessStartRequest) -> bool
fn eq(&self, other: &RemoteProcessStartRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RemoteProcessStartRequest
impl Serialize for RemoteProcessStartRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RemoteProcessStartRequest
Auto Trait Implementations§
impl Freeze for RemoteProcessStartRequest
impl RefUnwindSafe for RemoteProcessStartRequest
impl Send for RemoteProcessStartRequest
impl Sync for RemoteProcessStartRequest
impl Unpin for RemoteProcessStartRequest
impl UnsafeUnpin for RemoteProcessStartRequest
impl UnwindSafe for RemoteProcessStartRequest
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