pub struct EnvironmentInfoResponse {
pub cwd: Option<PathUri>,
pub shell: EnvironmentShellInfo,
}Expand description
EnvironmentInfoResponse
JSON schema
{
"title": "EnvironmentInfoResponse",
"type": "object",
"required": [
"shell"
],
"properties": {
"cwd": {
"description": "Default working directory reported by the environment, as a canonical file URI.",
"anyOf": [
{
"$ref": "#/definitions/PathUri"
},
{
"type": "null"
}
]
},
"shell": {
"$ref": "#/definitions/EnvironmentShellInfo"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§cwd: Option<PathUri>Default working directory reported by the environment, as a canonical file URI.
shell: EnvironmentShellInfoTrait Implementations§
Source§impl Clone for EnvironmentInfoResponse
impl Clone for EnvironmentInfoResponse
Source§fn clone(&self) -> EnvironmentInfoResponse
fn clone(&self) -> EnvironmentInfoResponse
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 EnvironmentInfoResponse
impl Debug for EnvironmentInfoResponse
Source§impl<'de> Deserialize<'de> for EnvironmentInfoResponse
impl<'de> Deserialize<'de> for EnvironmentInfoResponse
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 EnvironmentInfoResponse
impl RefUnwindSafe for EnvironmentInfoResponse
impl Send for EnvironmentInfoResponse
impl Sync for EnvironmentInfoResponse
impl Unpin for EnvironmentInfoResponse
impl UnsafeUnpin for EnvironmentInfoResponse
impl UnwindSafe for EnvironmentInfoResponse
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